/*
  Premay IT Solutions — company site
  Calm, institutional base (white, mist, navy) with a saffron accent shared
  with the company's own app, Mantra Sankalpa.
*/

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --white: #ffffff;
  --mist: #eef2f6;
  --line: #d5dce4;
  --navy: #13294b;
  --text: #283444;
  --muted: #5a6574;
  --saffron: #e8892a;
  --saffron-deep: #a8560a;
  --saffron-soft: #fdf1e4;

  --display: "Bricolage Grotesque", "Source Sans 3", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--navy);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 2rem;
  }
}

.lede {
  max-width: 36rem;
  font-size: 1.25rem;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 600 1.05rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: #0b1a33;
}

.btn-accent {
  background: var(--saffron);
  color: var(--navy);
}

.btn-accent:hover {
  background: #f39a3e;
}

.btn-outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--navy);
}

.text-link {
  color: var(--saffron-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: var(--navy);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font: 700 1.2rem/1 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--saffron);
  font-size: 1.15rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.main-nav .btn {
  color: var(--white);
}

.main-nav .btn:hover {
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  font: 600 1rem/1 var(--body);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .main-nav li a {
    display: block;
    padding: 0.75rem 0;
  }

  .main-nav li:last-child {
    padding-top: 0.75rem;
  }
}

/* Sections */
.section {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 7rem;
  }
}

.section-mist {
  background: var(--mist);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted);
}

/* Hero */
.hero {
  padding-block: 4rem 5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 5.5rem 6.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

.hero h1 {
  max-width: 14ch;
}

.hero .lede {
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}

.hero-facts strong {
  color: var(--navy);
  font-weight: 700;
}

/* Systems map (hero illustration). Hidden on small screens, where its
   labels would shrink below a readable size; the lede says the same thing. */
@media (max-width: 640px) {
  .hero-map {
    display: none;
  }
}

.systems-map {
  width: 100%;
  height: auto;
}

.systems-map .link-line {
  fill: none;
  stroke: var(--saffron);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw-link 1.1s ease-out forwards;
}

.systems-map .node rect {
  fill: var(--white);
  stroke: var(--line);
}

.systems-map .node text {
  fill: var(--navy);
  font: 600 15px var(--body);
}

.systems-map .node .kind {
  fill: var(--muted);
  font: 400 12.5px var(--body);
}

.systems-map .hub rect {
  fill: var(--navy);
}

.systems-map .hub text {
  fill: var(--white);
  font: 700 16px var(--display);
}

.systems-map .hub .kind {
  fill: #f7c38c;
  font: 400 12px var(--body);
}

@keyframes draw-link {
  to {
    stroke-dashoffset: 0;
  }
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .service-lead {
    grid-row: span 3;
  }
}

.service {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service p {
  margin-top: 0.6rem;
  color: var(--text);
}

.service-lead {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  border-color: var(--navy);
  padding: 2.25rem;
}

.service-lead h3 {
  color: var(--white);
  font-size: 1.75rem;
}

.service-lead p {
  color: #d3dbe6;
}

.service-lead .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.service-lead .chips li {
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.95rem;
}

.service-lead .included {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.service-lead .included li {
  position: relative;
  padding-left: 1.6rem;
}

.service-lead .included li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--saffron);
  border-bottom: 2px solid var(--saffron);
  transform: rotate(-45deg);
}

.service-lead .service-links {
  margin-top: auto;
  padding-top: 2rem;
}

.service-lead .service-links a {
  color: #f7c38c;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 1rem;
}

.service-links a {
  color: var(--saffron-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Industries */
.industries {
  display: grid;
  gap: 2rem 3rem;
}

@media (min-width: 768px) {
  .industries {
    grid-template-columns: repeat(2, 1fr);
  }
}

.industry {
  padding-top: 1.25rem;
  border-top: 3px solid var(--saffron);
}

.industry p {
  margin-top: 0.6rem;
}

/* Work */
.work-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .work-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-item {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.work-item .client {
  color: var(--muted);
  font-size: 1rem;
}

.work-item h3 {
  margin-top: 0.4rem;
}

.work-item h3 a {
  text-decoration: none;
}

.work-item h3 a:hover {
  text-decoration: underline;
}

.work-item p {
  margin-top: 0.75rem;
}

.work-item .outcome {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--navy);
  font-weight: 600;
}

.work-more {
  margin-top: 2rem;
}

/* Product */
.product {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 16px;
  background: var(--saffron-soft);
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1fr 1.3fr;
    padding: 3.5rem;
  }
}

.product-shot {
  justify-self: center;
  width: min(15rem, 70%);
  border-radius: 28px;
  box-shadow: 0 20px 40px -20px rgba(19, 41, 75, 0.45);
}

.product .status {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--saffron-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

.product p + p,
.product h2 + p {
  margin-top: 1rem;
}

.product .btn {
  margin-top: 1.75rem;
}

/* Process */
.steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font: 700 1.1rem/1 var(--display);
}

.step p {
  margin-top: 0.5rem;
  color: var(--text);
}

/* Team */
.team {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.person {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  font: 700 1.1rem/1 var(--display);
}

.person h3 {
  font-size: 1.1rem;
}

.person p {
  color: var(--muted);
  font-size: 1rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
  }
}

.about-copy p + p {
  margin-top: 1rem;
}

/* Contact */
.contact {
  background: var(--navy);
  color: #d3dbe6;
}

.contact h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
  }
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.contact-details dt {
  color: #9fb0c6;
  font-size: 0.95rem;
}

.contact-details dd {
  margin: 0;
  color: var(--white);
  font-weight: 600;
}

.contact-details a {
  color: var(--white);
}

.contact-form {
  padding: 2rem;
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
}

.field + .field {
  margin-top: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: 400 1.05rem/1.4 var(--body);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  outline: 2px solid var(--saffron);
  outline-offset: 1px;
}

/* Honeypot: hidden from people, still filled in by naive bots. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile {
  margin-top: 1.25rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--saffron-soft);
  color: var(--navy);
}

.form-status[hidden] {
  display: none;
}

/* Footer */
.site-footer {
  padding-block: 3.5rem 2rem;
  background: #0d1f3a;
  color: #a9b6c8;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer .brand {
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font: 600 1rem/1.3 var(--body);
  letter-spacing: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: #d3dbe6;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .systems-map .link-line {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ===== Inner pages ===== */
.page-hero {
  padding-block: 3.5rem 3rem;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.page-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
}

.page-hero .lede {
  margin-top: 1rem;
}

.page-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb [aria-current] {
  color: var(--navy);
}

/* App section navigation (Mantra Sankalpa pages) */
.app-nav {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.app-nav ul {
  display: flex;
  gap: 0.25rem 1.5rem;
  overflow-x: auto;
  padding-block: 0.25rem;
  scrollbar-width: none;
}

.app-nav a {
  display: inline-block;
  padding: 0.75rem 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.app-nav a:hover {
  color: var(--navy);
}

.app-nav a[aria-current="page"] {
  border-bottom-color: var(--saffron);
  color: var(--navy);
}

/* Long-form documents: privacy, terms, support, account deletion */
.doc {
  padding-block: 3.5rem 5rem;
}

.doc > * {
  max-width: 46rem;
}

.doc > :first-child {
  margin-top: 0;
}

.doc h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.doc h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.doc p + p {
  margin-top: 1rem;
}

.doc ul,
.doc ol {
  margin-top: 0.75rem;
  padding-left: 1.4rem;
}

.doc ul {
  list-style: disc;
}

.doc ol {
  list-style: decimal;
}

.doc li + li {
  margin-top: 0.45rem;
}

.doc li::marker {
  color: var(--saffron-deep);
}

.doc strong {
  color: var(--navy);
}

.doc a {
  color: var(--saffron-deep);
  font-weight: 600;
}

.doc .highlight {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--saffron-soft);
}

.doc .highlight > :first-child {
  margin-top: 0;
}

.doc .contact-info,
.doc .contact-box {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: 14px;
  background: var(--navy);
  color: #d3dbe6;
}

.doc .contact-box {
  margin-top: 0;
  margin-bottom: 1rem;
}

.doc .contact-info h2,
.doc .contact-box h2 {
  margin-top: 0;
  color: var(--white);
}

.doc .contact-info strong {
  color: var(--white);
}

.doc .contact-info a,
.doc .contact-box a {
  color: #f7c38c;
}

.doc .feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .doc .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.doc .feature-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.doc .feature-card h3 {
  margin-top: 0;
}

.doc .faq-item {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.doc .faq-question {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.doc .faq-answer {
  margin-top: 0.4rem;
}

.doc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* App landing page */
.app-hero {
  padding-block: 4rem 4.5rem;
  background: var(--saffron-soft);
}

.app-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .app-hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
}

.app-icon {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.5rem;
  border-radius: 22px;
  box-shadow: 0 10px 24px -12px rgba(168, 86, 10, 0.55);
}

.app-tagline {
  margin-top: 0.75rem;
  color: var(--saffron-deep);
  font: 600 1.35rem/1.4 var(--display);
}

.app-hero .lede {
  margin-top: 1.25rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge-row li {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.store-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border: 1px dashed var(--saffron-deep);
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
}

.store-pill.is-muted {
  border-color: var(--muted);
  color: var(--muted);
}

.store-pill svg {
  width: 1.3rem;
  height: 1.3rem;
}

.hero-phones {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-phones img {
  width: min(12rem, 45%);
  height: auto;
  border-radius: 26px;
  box-shadow: 0 24px 48px -24px rgba(19, 41, 75, 0.5);
}

.hero-phones img:nth-child(2) {
  margin-top: 2.5rem;
}

/* App screenshots: a wrapping grid, every screen fully visible. Images are
   332px wide, so they are never shown wider than ~200px to stay sharp. */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 11rem));
  justify-content: center;
  gap: 2rem 1.25rem;
}

@media (min-width: 720px) {
  .shots {
    grid-template-columns: repeat(3, minmax(0, 12rem));
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1100px) {
  .shots {
    grid-template-columns: repeat(5, minmax(0, 12.5rem));
    justify-content: space-between;
  }
}

.shots figure {
  margin: 0;
}

/* Odd one out on the two-column phone layout sits centred */
@media (max-width: 719px) {
  .shots figure:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 11rem;
  }
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 16px 32px -20px rgba(19, 41, 75, 0.45);
}

.shots figcaption {
  margin-top: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.feature-columns {
  display: grid;
  gap: 1.75rem 3rem;
}

@media (min-width: 768px) {
  .feature-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-columns h3 {
  font-size: 1.15rem;
}

.feature-columns p {
  margin-top: 0.35rem;
}

.app-split {
  display: grid;
  gap: 3rem;
}

@media (min-width: 960px) {
  .app-split {
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
  }
}

.app-split .prose p + p {
  margin-top: 1rem;
}

.facts {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.facts h2 {
  padding: 1.25rem 1.5rem 0;
  font-size: 1.3rem;
}

.facts dl {
  margin: 0.75rem 0 0;
}

.facts dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.notify {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--navy);
  color: #d3dbe6;
}

.notify h2 {
  color: var(--white);
  font-size: 1.3rem;
}

.notify p {
  margin-top: 0.5rem;
}

.notify .btn {
  margin-top: 1.25rem;
}

.audience {
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 768px) {
  .audience {
    grid-template-columns: repeat(4, 1fr);
  }
}

.audience li {
  padding-top: 1rem;
  border-top: 3px solid var(--saffron);
}

.audience h3 {
  font-size: 1.1rem;
}

.audience p {
  margin-top: 0.35rem;
}

.link-tiles {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.link-tiles a {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.link-tiles a:hover {
  border-color: var(--navy);
}

.step-list {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-list li {
  counter-increment: step;
}

.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--navy);
  font: 700 1rem/1 var(--display);
}

.step-list h3 {
  font-size: 1.1rem;
}

.step-list p {
  margin-top: 0.35rem;
}

/* Testimonials */
.quotes {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .quotes {
    grid-template-columns: 1fr 1fr;
  }

  .quote-lead {
    grid-column: 1 / -1;
    padding: 2.25rem 2.5rem;
  }

  .quote-lead blockquote {
    max-width: 52rem;
  }
}

.quote {
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.quote blockquote {
  margin: 0;
  color: var(--navy);
}

.quote-lead {
  border-top: 4px solid var(--saffron);
}

.quote-lead blockquote {
  font: 500 1.35rem/1.5 var(--display);
}

.quote figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.quote figcaption strong {
  color: var(--navy);
}

.quote-project {
  display: block;
  margin-top: 0.15rem;
}
