/* ==========================================================================
   OfficeSage site styles
   Design language mirrors the live copoly.ai / copoly.ai/officesage site:
   Manrope, white body + dark navy hero, purple->blue gradient (111.8deg,
   #8236FB -> #076EF4), 12px-radius uppercase gradient buttons, rounded soft
   cards, and the "breacumb" corner/band decorations.
   ========================================================================== */

:root {
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --c-primary: #6C38FF;
  --c-primary-ink: #571fe0;
  --c-navy: #162339;
  --c-navy-deep: #0c1728;
  --c-heading: #162339;
  --c-text: #5C6672;
  --c-border: #E5E7EA;
  --c-field: #F2F5FA;
  --c-tint: #F7F8FB;
  --c-white: #ffffff;
  --c-cyan: #22B8CF;

  --grad: linear-gradient(111.8deg, #8236FB 21.93%, #076EF4 90.29%);
  --grad-soft: linear-gradient(135deg, rgba(130, 54, 251, 0.10), rgba(7, 110, 244, 0.10));

  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 2px 4px rgba(22, 35, 57, 0.04), 0 14px 40px rgba(22, 35, 57, 0.08);

  --space: clamp(1rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--c-heading);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--c-primary-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* Layout ------------------------------------------------------------------- */

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space);
}

.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.section--tint { background: var(--c-tint); }
.section--navy { background: var(--c-navy-deep); }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: #fff; }
.section--navy p { color: #B9C2D0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.9rem;
}
.section--navy .eyebrow,
.hero .eyebrow { color: var(--c-cyan); }

.lead { font-size: 1.1rem; max-width: 62ch; }

.section__head { max-width: 46rem; margin-bottom: 2.5rem; }

/* Legal pages ------------------------------------------------------------
   A shorter hero (no screenshot, no call to action) and one readable column
   of running text, which the section components do not otherwise provide. */

.hero--short { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.hero--short .fine { font-size: 0.85rem; color: #C3CBD8; margin-top: 0.6rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.05rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }

/* Decorations ("breacumb" shapes from the live site) --------------------- */

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.deco-band {
  top: 0;
  left: 0;
  width: min(38vw, 460px);
  opacity: 0.9;
}
.deco-corner {
  right: -55px;
  bottom: -90px;
  width: clamp(110px, 15vw, 200px);
  transform: rotate(22deg);
  opacity: 0.75;
}
.deco-corner--tr {
  right: -70px;
  top: -100px;
  bottom: auto;
  transform: rotate(-24deg);
}
.section > .container,
.hero > .container { position: relative; z-index: 1; }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-navy);
}
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: 32px; width: auto; }

.nav-wrap { margin-left: auto; display: flex; align-items: center; }

/* The mobile nav used to be a <details>/<summary> disclosure, but Chrome
   (and other engines) hard-collapse a closed <details>'s non-summary
   content to a 0×0 layout box — CSS `display` overrides are accepted by
   getComputedStyle() but never actually applied to the layout, so the nav
   was invisible on desktop too, not just collapsed. This is the CSS-only
   "checkbox hack" instead: a visually-hidden checkbox drives visibility via
   the `:checked` sibling combinator, which has no such native override
   problem. `.site-nav` is visible by default (desktop); only the mobile
   media query below hides it until the checkbox is checked. */
.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a {
  color: var(--c-navy);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a[aria-current="page"] { color: var(--c-primary-ink); }
.site-nav .btn--primary { color: #fff; }

/* `.site-nav` groups its content into `.site-nav__brand` (drawer-only),
   `.site-nav__links` and `.site-nav__meta` (lang switch + CTA). On desktop
   these are just organisational — `display: contents` drops the wrapper
   from the box tree so the links/lang-toggle/CTA still lay out as a single
   flat flex row, exactly as if `.site-nav` held them directly. The mobile
   media query below turns them into real stacked sections instead. */
.site-nav__brand { display: none; }
.site-nav__links,
.site-nav__meta { display: contents; }

.lang-toggle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-text);
}
.lang-toggle a { color: var(--c-text); }
.lang-toggle .is-active { color: var(--c-navy); }

/* Mobile nav — zero-JS checkbox-driven disclosure (see .nav-toggle-input
   above). js/main.js only adds auto-close-on-link-click and the body-scroll
   lock while the drawer is open as polish layers. */

.nav-backdrop { display: none; }
body.nav-open { overflow: hidden; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--c-field); }
/* The real focusable element is the visually-hidden .nav-toggle-input
   checkbox, so the visible focus ring has to land on its sibling label. */
.nav-toggle-input:focus-visible ~ .nav-toggle {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
}
.nav-toggle__bar {
  position: relative;
  transition: background 0.15s ease;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bar { background: transparent; }
.nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle-input:checked ~ .nav-toggle .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 70; }

  /* Dimmed overlay behind the drawer — also a label for the same checkbox,
     so tapping it toggles the checkbox off and closes the menu (no JS).
     `.site-header` has `backdrop-filter`, which makes it (not the viewport)
     the containing block for fixed descendants — so `inset: 0` would only
     stretch this to the header's own ~70px box. Explicit vw/vh sidesteps
     that the same way `.site-nav` below does. */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(12, 23, 40, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 55;
  }
  .nav-toggle-input:checked ~ .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* Full-height drawer sliding in from the left. `visibility` is delayed on
     the way out (but not on the way in) so the panel is untabbable once
     fully off-screen, without needing `display` (which can't transition). */
  .site-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 16px 0 40px rgba(22, 35, 57, 0.18);
    padding: 1.75rem var(--space);
    overflow-y: auto;
    z-index: 60;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .nav-toggle-input:checked ~ .site-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s linear 0s;
  }

  /* Drawer-only brand mark — the header's own `.brand` sits outside the
     drawer, so without this the panel would open with no logo at all. */
  .site-nav__brand { display: block; margin-bottom: 1.75rem; }

  .site-nav__links { display: flex; flex-direction: column; gap: 0; }
  .site-nav__links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--c-border);
  }

  /* Language switch + CTA read as a distinct block, not more nav items:
     pinned to the bottom of the drawer, separated by a rule, the lang
     switch styled as its own pill rather than a bordered row. */
  .site-nav__meta {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
  }
  .site-nav__meta .lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: var(--c-field);
  }
  .site-nav__meta .btn { display: flex; justify-content: center; }
}

/* Buttons -------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .arw { font-size: 1.05em; line-height: 0; }

.btn--primary {
  color: #fff;
  background-image: var(--grad);
  box-shadow: 0 10px 24px rgba(108, 56, 255, 0.30);
}
.btn--primary:hover { box-shadow: 0 12px 30px rgba(108, 56, 255, 0.42); }

.btn--ghost {
  color: var(--c-navy);
  background: #fff;
  border-color: var(--c-border);
}
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary-ink); }

.section--navy .btn--ghost,
.hero .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.75rem; }

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(108, 56, 255, 0.28), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(7, 110, 244, 0.22), transparent 55%),
    linear-gradient(180deg, #0c1728 0%, #101f38 100%);
  color: #E9EDF4;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero-copy h1 { max-width: none; }
.hero .lead { color: #C3CBD8; margin-top: 0.9rem; }
.hero .deco-band { opacity: 0.22; mix-blend-mode: screen; }

.hero-brandmark {
  display: block;
  width: 52px;
  height: 52px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-visual { position: relative; }
.hero-visual .shot { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }

.hero-badge {
  position: absolute;
  left: -1rem;
  bottom: -1.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 240px;
  background: #fff;
  color: var(--c-navy);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero-badge__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background-image: var(--grad-soft);
  font-size: 1rem;
}

.hero .appstrip { margin-top: 2rem; }

/* Trust strip ------------------------------------------------------------- */

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding-block: 1.5rem;
}
.trust-strip .pills { margin-top: 0; }
.pills--center { justify-content: center; }

/* Pills ----------------------------------------------------------------------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
}
.pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #E9EDF4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.pills li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
}
.pills--light li {
  color: var(--c-navy);
  background: #fff;
  border-color: var(--c-border);
}
.pills--light li::before { background-image: var(--grad); }

/* App strip / app chips --------------------------------------------------- */

.appstrip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 2.6rem;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0.6rem;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.appstrip .app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-navy);
  text-align: center;
}
.appstrip .app:hover { background: var(--c-field); text-decoration: none; }
.appstrip .app img { width: 26px; height: 26px; object-fit: contain; }

/* Cards ----------------------------------------------------------------------- */

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--c-field);
  margin-bottom: 1rem;
}
.card__icon img { width: 26px; height: 26px; object-fit: contain; }
.card__icon--grad {
  background-image: var(--grad-soft);
  color: var(--c-primary-ink);
  font-weight: 800;
  font-size: 1.1rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card ul { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.card li { margin-bottom: 0.35rem; }
.card p:last-child { margin-bottom: 0; }

/* Comparison cards (Copilot vs OfficeSage) --------------------------------- */

.compare-card h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.compare-card--accent {
  border-color: var(--c-primary);
  box-shadow: 0 8px 28px rgba(108, 56, 255, 0.14), var(--shadow);
}
.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.compare-list li { position: relative; padding-left: 1.7rem; }
.compare-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #B0B6C0;
}
.compare-list--yes li::before {
  content: "\2713";
  color: var(--c-primary);
}

/* Product screenshots ---------------------------------------------------------
   Real captures from the OfficeSage web app, framed as a browser window so
   they read as a working product rather than a pasted image. */

.shot-grid { display: grid; gap: 1.5rem; margin-top: 2.2rem; }
.shot-grid--2 { grid-template-columns: repeat(2, 1fr); }
.shot-grid--3 { grid-template-columns: repeat(3, 1fr); }

.shot-item { display: flex; flex-direction: column; }
.shot-item p { font-size: 0.92rem; margin: 0.9rem 0 0; }
.shot-item .eyebrow { display: block; margin-bottom: 0.15rem; }

.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: var(--c-navy-deep);
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: var(--c-navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.shot__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.shot__url {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: #8b93a6;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.shot img { display: block; width: 100%; height: auto; }

.shot--lg { max-width: 780px; margin-inline: auto; }

.shot-solo { max-width: 780px; margin: 2.2rem auto 0; text-align: center; }
.shot-solo p { margin-top: 1rem; margin-bottom: 0; }

/* Product tour (interactive tabbed screenshot switcher) ------------------ */

.tour { margin-top: 2.6rem; }
.tour__tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}
.tour__tab {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-text);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.tour__tab:hover { border-color: var(--c-primary); color: var(--c-primary-ink); }
.tour__tab.is-active {
  background-image: var(--grad);
  border-color: transparent;
  color: #fff;
}
.tour__panels { margin-top: 2.2rem; }
.tour__panel { display: none; }
.tour__panel.is-active { display: block; }
.tour__panel .shot-solo { margin-top: 0; }

/* Tables ----------------------------------------------------------------------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.matrix caption { text-align: left; color: var(--c-text); margin-bottom: 0.8rem; }
table.matrix th,
table.matrix td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
table.matrix thead th {
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix tbody tr:nth-child(even) { background: var(--c-tint); }
table.matrix .yes { color: var(--c-primary-ink); font-weight: 700; }
table.matrix .no { color: var(--c-text); }
table.matrix th[scope="row"] { font-weight: 700; color: var(--c-navy); }

/* Posture list (security) ------------------------------------------------------ */

.posture {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.posture__row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
}
.posture__row:last-child { border-bottom: 0; }
.posture__row dt { font-weight: 700; color: var(--c-navy); }
.posture__row dd { margin: 0; }
.posture__row dd b { color: var(--c-navy); display: block; margin-bottom: 0.15rem; }

/* FAQ --------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--c-border); }
.faq details {
  border-bottom: 1px solid var(--c-border);
  padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--c-navy);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-primary); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { margin: 0.8rem 0 0; }

/* CTA band -------------------------------------------------------------------- */

.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta .lead { margin-inline: auto; }
.cta .hero-actions { justify-content: center; }
.cta .fine { font-size: 0.85rem; margin-top: 1.2rem; }

/* Media row (icon + text) --------------------------------------------------- */

.media {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
}
.media img { width: 44px; height: 44px; }

/* Footer --------------------------------------------------------------------- */

.site-footer {
  background: var(--c-navy-deep);
  color: #9aa8ba;
  font-size: 0.9rem;
  padding-block: 3rem 2rem;
}
.site-footer a { color: #C7D0DC; }
.site-footer .brand { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

/* Utilities ----------------------------------------------------------------- */

.stack > * + * { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 0.5rem; background: #fff; padding: 0.5rem 1rem;
  border-radius: 8px; z-index: 100;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 900px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .appstrip { grid-template-columns: repeat(3, 1fr); }
  .shot-grid--3 { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; margin-top: 2.5rem; }
  .hero-badge { left: 0.5rem; }
}

@media (max-width: 640px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .posture__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .appstrip { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
  .deco-band { width: 62vw; }
  .shot-grid--2, .shot-grid--3 { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .tour__tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}
