:root {
  --ink: #15201c;
  --pine: #202424;
  --fern: #4d725a;
  --amber: #ffcc10;
  --paper: #f7f3ea;
  --bone: #fffaf0;
  --cream: #fbf7ed;
  --line: rgba(21, 32, 28, 0.14);
  --shadow: 0 24px 70px rgba(21, 32, 28, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 10; padding: 10px 14px; background: var(--amber); color: var(--ink); }
.skip-link:focus { left: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 16px clamp(18px, 4vw, 56px); border-bottom: 1px solid var(--line); background: rgba(247, 243, 234, 0.92); backdrop-filter: blur(18px); }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--pine); font-size: .82rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }
.brand-lockup img { width: 38px; height: 38px; object-fit: contain; }
.site-nav { display: flex; justify-content: center; gap: clamp(10px, 2vw, 24px); font-size: .9rem; font-weight: 700; }
.site-nav a { text-decoration: none; border-bottom: 2px solid transparent; padding: 8px 0; }
.site-nav a:hover, .site-nav a.is-current { border-color: var(--amber); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; font-weight: 800; letter-spacing: .01em; text-align: center; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button--dark { background: var(--pine); color: var(--bone); }
.button--primary { background: var(--amber); color: var(--ink); }
.button--ghost { border-color: rgba(21, 32, 28, .28); background: rgba(255, 250, 240, .28); color: var(--ink); }
.button--nav { min-height: 42px; padding-inline: 16px; font-size: .85rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.eyebrow { margin: 0 0 16px; color: var(--fern); font-size: .86rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--dark { color: var(--fern); }
.eyebrow--light { color: var(--amber); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 7vw, 7.4rem); line-height: .92; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 4.5rem); line-height: .98; }
h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
p { line-height: 1.75; }
.hero-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 470px); gap: clamp(32px, 6vw, 86px); align-items: center; min-height: clamp(680px, 86vh, 920px); overflow: hidden; padding: clamp(48px, 8vw, 112px) clamp(20px, 7vw, 110px); background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.34), transparent 28%), linear-gradient(135deg, var(--amber), #ffe980 70%, #f7f3ea); }
.hero-panel__copy { min-width: 0; max-width: 100%; }
.definition-card { min-width: 0; max-width: 100%; }
.hero-panel__copy p:not(.eyebrow) { max-width: 760px; font-size: clamp(1.04rem, 1.35vw, 1.28rem); }
.definition-card { position: relative; padding: clamp(26px, 4vw, 44px); border: 1px solid rgba(21,32,28,.18); border-radius: 8px; background: rgba(255, 250, 240, .86); box-shadow: var(--shadow); transform: rotate(-2deg); }
.definition-card:before { content: ""; position: absolute; inset: -44px; z-index: -1; border: 7px solid rgba(21,32,28,.9); transform: rotate(45deg); opacity: .9; }
.definition-card p { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.05; }
.definition-card ol { margin: 0; padding-left: 22px; font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.45; }
.fit-line { padding: 24px clamp(20px, 7vw, 110px); background: var(--pine); color: var(--bone); }
.fit-line p { max-width: 1160px; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.8vw, 2.7rem); line-height: 1.08; }
.section { padding: clamp(56px, 8vw, 112px) clamp(20px, 7vw, 110px); }
.section--cream { background: var(--cream); }
.section--yellow { background: linear-gradient(135deg, var(--amber), #ffe67a); }
.section--split, .section__intro--split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, 1fr); gap: clamp(28px, 6vw, 84px); align-items: start; }
.section__intro { max-width: 980px; }
.section__intro p:not(.eyebrow) { max-width: 760px; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.stacked-copy p:first-child { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--bone); box-shadow: 0 12px 40px rgba(21, 32, 28, .06); }
.info-card span { display: inline-block; margin-bottom: 32px; color: var(--fern); font-weight: 900; letter-spacing: .12em; }
.info-card p { margin-bottom: 0; color: rgba(21, 32, 28, .78); }
.text-link { display: inline-flex; margin-top: 18px; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; line-height: 1.55; font-weight: 700; }
.check-list li:before { content: ""; position: absolute; left: 0; top: .68em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(255,204,16,.22); }
.case-preview { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(320px, 1.1fr); gap: clamp(30px, 6vw, 86px); align-items: center; padding: clamp(56px, 8vw, 112px) clamp(20px, 7vw, 110px); background: var(--cream); }
.case-preview--wide { background: var(--paper); }
.case-preview__copy h2 { margin-bottom: 20px; }
.mockup-pair { position: relative; min-height: 500px; }
.browser-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--bone); box-shadow: var(--shadow); }
.browser-frame:before { content: ""; display: block; height: 32px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 18px 16px, #bec2bd 0 4px, transparent 5px), radial-gradient(circle at 36px 16px, #bec2bd 0 4px, transparent 5px), radial-gradient(circle at 54px 16px, #bec2bd 0 4px, transparent 5px), var(--bone); }
.browser-frame img { display: block; width: 100%; height: 430px; object-fit: cover; object-position: top center; }
.phone-frame { position: absolute; right: 0; bottom: -10px; width: min(220px, 34%); aspect-ratio: 9 / 19.5; padding: 8px; border: 5px solid #111a17; border-radius: 34px; background: #111a17; box-shadow: 0 20px 50px rgba(21,32,28,.24); overflow: hidden; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 24px; display: block; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.tag-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bone); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.definition-note { margin: clamp(32px, 6vw, 70px) clamp(20px, 7vw, 110px); padding: 24px; border-left: 6px solid var(--amber); border-radius: 8px; background: var(--bone); box-shadow: 0 12px 40px rgba(21,32,28,.08); }
.cta-band { margin: clamp(56px, 8vw, 112px) clamp(20px, 7vw, 110px); padding: clamp(34px, 6vw, 76px); border-radius: 8px; background: var(--pine); color: var(--bone); }
.cta-band h2 { max-width: 820px; }
.cta-band p:not(.eyebrow) { max-width: 720px; color: rgba(255,250,240,.82); }
.site-footer { padding: 44px clamp(20px, 7vw, 110px); background: #060807; color: var(--bone); }
.site-footer__inner { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.4fr); gap: 36px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { width: 54px; height: 54px; filter: invert(1); }
.site-footer__name { margin: 0 0 6px; font-size: .92rem; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; }
.site-footer__brand p { margin: 0; color: rgba(255,250,240,.72); }
.site-footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.site-footer__nav h2 { margin: 0 0 12px; font-family: inherit; font-size: .78rem; line-height: 1.2; color: var(--amber); text-transform: uppercase; letter-spacing: .12em; }
.site-footer__nav a { display: block; margin: 0 0 8px; color: rgba(255,250,240,.78); text-decoration: none; font-size: .92rem; }
.site-footer__nav a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr; justify-items: start; }
  .site-nav { justify-content: flex-start; flex-wrap: wrap; }
  .hero-panel, .section--split, .section__intro--split, .case-preview, .site-footer__inner { grid-template-columns: 1fr; }
  h1 { max-width: 10.5ch; }
  .definition-card { transform: none; }
  .definition-card:before { inset: -18px; border-width: 4px; opacity: .35; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mockup-pair { min-height: 460px; }
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header { position: relative; }
  .site-header,
  .hero-panel,
  .fit-line,
  .section,
  .case-preview,
  .site-footer {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }
  .site-header > *,
  .hero-panel > *,
  .section > *,
  .case-preview > * {
    min-width: 0;
  }
  .site-nav {
    width: 100%;
    max-width: 100%;
  }
  .hero-panel__copy p:not(.eyebrow),
  .section__intro p:not(.eyebrow),
  .stacked-copy,
  .fit-line p {
    max-width: calc(100vw - 64px);
  }
  .definition-card p {
    max-width: calc(100vw - 86px);
    overflow-wrap: anywhere;
  }
  .brand-lockup { font-size: .72rem; }
  .site-nav { gap: 8px 14px; font-size: .85rem; }
  .hero-panel { min-height: auto; padding-top: 48px; padding-bottom: 56px; }
  h1 { font-size: clamp(2.2rem, 10vw, 2.85rem); max-width: 7.2ch; }
  h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); max-width: 8.2ch; }
  .card-grid, .card-grid--three { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .mockup-pair { min-height: 360px; }
  .browser-frame img { height: 300px; }
  .phone-frame { width: 38%; right: 8px; }
  .definition-card { width: 100%; padding: 22px; overflow: hidden; }
  .definition-card:before { display: none; }
  .definition-card p { font-size: 1.5rem; }
  .definition-card ol { font-size: .92rem; }
  .fit-line p { font-size: clamp(1.2rem, 7vw, 1.75rem); }
  .hero-panel__copy,
  .section__intro,
  .stacked-copy,
  .definition-card,
  .fit-line p,
  .case-preview__copy {
    max-width: 300px !important;
  }
  .hero-panel__copy p:not(.eyebrow),
  .section__intro p:not(.eyebrow),
  .stacked-copy p,
  .case-preview__copy p {
    max-width: 300px !important;
  }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button { width: 100%; }
  .site-footer__nav { grid-template-columns: 1fr; }
}
