:root {
  --ivory: #fbfaf5;
  --paper: #ffffff;
  --ink: #13283b;
  --ink-soft: #3f5564;
  --blue: #2d667b;
  --blue-soft: #dcecf0;
  --sage: #dfe9e3;
  --sage-deep: #6f8f7e;
  --line: #dbe3e2;
  --shadow: 0 24px 60px rgba(22, 49, 65, 0.12);
  --radius: 1.35rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { width: 1.5rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { max-width: 800px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #c88f2f; outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(19, 40, 59, .09); background: rgba(251, 250, 245, .94); backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 31px; height: 31px; padding: 6px; border-radius: 50%; background: var(--ink); }
.brand-mark span { width: 5px; border-radius: 3px; background: #edf5f3; }
.brand-mark span:nth-child(1) { height: 9px; }
.brand-mark span:nth-child(2) { height: 17px; background: #9ec7cc; }
.brand-mark span:nth-child(3) { height: 13px; background: #b9d1bf; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: .25rem; color: var(--ink-soft); font-size: .7rem; letter-spacing: .04em; }
nav { display: flex; gap: 1.6rem; align-items: center; }
nav a { color: var(--ink-soft); font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--blue); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .8rem; padding: .75rem 1.35rem; font-weight: 750; line-height: 1; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; background: var(--ink); color: white; font-size: .92rem; }
.button-primary { background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(19, 40, 59, .18); }
.button-primary:hover, .button-small:hover { background: #1e4359; }
.button-light { background: #fff; color: var(--ink); box-shadow: 0 12px 28px rgba(0, 0, 0, .15); }

.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 8vw, 7.5rem) 0 6rem; background: linear-gradient(140deg, #fbfaf5 42%, #edf4f2 100%); }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; left: -310px; top: -120px; border: 1px solid rgba(45, 102, 123, .18); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(3rem, 7vw, 6rem); }
.eyebrow, .section-label { margin: 0 0 1rem; color: var(--blue); font-size: .77rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
h1 { max-width: 660px; margin-bottom: 1.4rem; font-size: clamp(2.9rem, 6vw, 5.35rem); }
h2 { margin-bottom: 1.2rem; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { line-height: 1.25; }
.hero-lede { max-width: 660px; margin-bottom: 2rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; }
.hero-actions p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.product-visual { position: relative; display: grid; place-items: center; min-height: 590px; }
.soft-orbit { position: absolute; border-radius: 50%; }
.orbit-one { width: 470px; height: 470px; background: #dbe9e5; }
.orbit-two { width: 360px; height: 360px; border: 1px solid rgba(45, 102, 123, .25); }
.phone-frame { position: relative; z-index: 2; width: min(318px, 84vw); padding: 10px; border: 1px solid #243c4a; border-radius: 2.5rem; background: #152c3c; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.phone-top { position: absolute; z-index: 3; width: 94px; height: 25px; left: 50%; top: 15px; transform: translateX(-50%); border-radius: 20px; background: #152c3c; }
.app-screen { min-height: 553px; padding: 3.2rem 1.1rem 1.15rem; border-radius: 2rem; background: #f7f8f4; }
.app-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.app-header div { display: grid; }
.app-header strong { font-family: Georgia, serif; font-size: 1.4rem; }
.app-kicker { color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: .8rem; font-weight: 800; }
.status-card { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; padding: .85rem; border-radius: .85rem; background: var(--blue-soft); }
.status-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--blue); color: white; }
.status-card div:last-child { display: grid; }
.status-card span { color: var(--ink-soft); font-size: .67rem; }
.status-card strong { font-size: .85rem; }
.update-card { margin-bottom: .8rem; padding: .9rem; border: 1px solid var(--line); border-radius: .9rem; background: white; box-shadow: 0 4px 12px rgba(19, 40, 59, .04); }
.update-card.secondary { opacity: .86; }
.update-meta { display: flex; gap: .6rem; align-items: center; }
.update-meta > span:last-child { display: grid; }
.initials { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #dbeaf1; color: #28596b; font-size: .64rem; font-weight: 800; }
.initials.sage { background: var(--sage); color: #4c6a59; }
.update-meta strong { font-size: .75rem; }
.update-meta small { color: #78888e; font-size: .6rem; }
.update-card p { margin: .7rem 0; color: #415966; font-size: .72rem; line-height: 1.45; }
.tag { padding: .25rem .45rem; border-radius: .35rem; background: #eef3f0; color: #61766b; font-size: .58rem; font-weight: 700; }
.add-update { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; border-radius: .75rem; background: var(--ink); color: white; font-size: .75rem; font-weight: 750; }
.fictional-note { position: absolute; z-index: 3; bottom: -1rem; margin: 0; color: var(--ink-soft); font-size: .75rem; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.intro { background: white; text-align: center; }
.intro h2 { max-width: 760px; margin-inline: auto; }
.intro .narrow > p:last-child { color: var(--ink-soft); font-size: 1.12rem; }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.benefit-card { min-height: 280px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .72); }
.benefit-card.featured { background: #edf4f2; transform: translateY(-10px); }
.benefit-card h3 { margin: 1.3rem 0 .7rem; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.benefit-card p { margin-bottom: 0; color: var(--ink-soft); }
.icon-wrap { display: grid; width: 48px; height: 48px; place-items: center; border-radius: .9rem; background: var(--blue-soft); color: var(--blue); }

.process { background: #f1f4f0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 2rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.2rem; right: -12%; width: 24%; border-top: 1px dashed #91a7a0; }
.step-number { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-family: Georgia, serif; font-size: 1.15rem; }
.steps h3 { margin-bottom: .55rem; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.steps p { margin: 0; color: var(--ink-soft); }

.trust { background: white; }
.trust-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 1.8rem; background: #e6efeb; }
.trust-heading-wrap { display: flex; align-items: flex-start; gap: 1rem; }
.trust-heading-wrap h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.shield { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; border-radius: 1rem; background: white; color: var(--blue); }
.trust-copy p { color: #354e59; }
.trust-copy strong { color: var(--ink); }
.text-links { display: flex; flex-wrap: wrap; gap: 1.2rem; padding-top: .5rem; }
.text-links a { color: var(--blue); font-weight: 750; text-underline-offset: .2em; }

.endorsement { padding: 3.5rem 0; border-top: 1px solid var(--line); background: var(--ivory); }
.endorsement-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; max-width: 880px; }
.lrk-logo-wrap { display: grid; width: 106px; place-items: center; }
.lrk-logo { display: block; width: 106px; height: auto; object-fit: contain; }
.endorsement h2 { margin-bottom: .6rem; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.endorsement p { margin-bottom: 0; color: var(--ink-soft); }

.final-cta { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--ink); color: white; text-align: center; }
.cta-inner { max-width: 790px; }
.section-label.light { color: #a9ced2; }
.final-cta h2 { color: white; }
.final-cta p { color: #d9e4e8; font-size: 1.1rem; }
.final-cta .button { margin: .7rem 0 1rem; }
.final-cta small { display: block; color: #bfcfd4; }

footer { padding: 3.5rem 0 1.5rem; background: #f5f4ef; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 3rem; }
.footer-grid > div > p { max-width: 590px; margin: 1.1rem 0 0; color: var(--ink-soft); font-size: .88rem; }
.footer-brand .brand-mark { width: 29px; height: 29px; }
.copyright { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: #697a82; font-size: .78rem; }

.error-page { min-height: 100svh; display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at 75% 20%, #deebe7 0, transparent 35%), var(--ivory); }
.error-page main { width: min(620px, 100%); padding: clamp(2rem, 6vw, 4rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.error-page .eyebrow { margin-top: 3.2rem; }
.error-page h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
.error-page main > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; }
.error-links { display: flex; gap: 1.2rem; margin-top: 2rem; }
.error-links a { color: var(--blue); font-weight: 700; }

/* Public policy and support pages */
.content-header .header-inner { grid-template-columns: 1fr auto; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue); font-weight: 750; text-decoration: none; }
.back-link::before { content: "←"; margin-right: .45rem; }
.content-hero { padding: clamp(3.8rem, 8vw, 6.2rem) 0 clamp(2.8rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(140deg, #fbfaf5 48%, #edf4f2 100%); }
.content-hero h1 { max-width: 800px; margin-bottom: 1rem; font-size: clamp(2.65rem, 6vw, 4.75rem); }
.content-hero .lede { max-width: 760px; margin-bottom: 0; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.policy-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.5rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.document-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.document { max-width: 780px; }
.document section { scroll-margin-top: 96px; padding: 0 0 2.6rem; }
.document section + section { padding-top: 2.6rem; border-top: 1px solid var(--line); }
.document h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.document h3 { margin: 1.7rem 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 500; }
.document p, .document li { color: var(--ink-soft); }
.document strong { color: var(--ink); }
.document ul { margin: .9rem 0 0; padding-left: 1.35rem; }
.document li + li { margin-top: .55rem; }
.document-nav { position: sticky; top: 104px; display: block; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.72); }
.document-nav strong { display: block; margin-bottom: .7rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.document-nav a { display: block; padding: .42rem 0; color: var(--ink-soft); font-size: .9rem; text-decoration: none; }
.document-nav a:hover { color: var(--blue); }
.boundary-box, .notice-box { margin-bottom: 2.7rem; padding: clamp(1.4rem, 4vw, 2rem); border-radius: 1.15rem; }
.boundary-box { border-left: 5px solid var(--blue); background: var(--blue-soft); }
.boundary-box p { margin: 0; color: var(--ink); font-size: 1.05rem; }
.notice-box { border: 1px solid #c8d8ce; background: var(--sage); }
.notice-box p:last-child { margin-bottom: 0; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.support-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.78); }
.support-card h2 { margin-bottom: .6rem; font-size: 1.4rem; }
.support-card p { margin: 0; color: var(--ink-soft); }
.support-cta { margin-top: 2.5rem; padding: clamp(1.7rem, 5vw, 2.6rem); border-radius: 1.3rem; background: #e6efeb; text-align: center; }
.support-cta h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.support-contact { margin-top: .4rem; }
.support-pending { display: inline-block; margin: .4rem 0 0; padding: .85rem 1.1rem; border: 1px solid var(--line); border-radius: .75rem; background: white; color: var(--ink); font-weight: 750; }
.support-boundary { margin-top: 2.5rem; color: var(--ink-soft); font-size: .92rem; }

@media (max-width: 840px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 1rem; }
  .header-inner nav { display: none; }
  .hero { padding-top: 4.25rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
  .product-visual { min-height: 570px; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .benefit-card, .benefit-card.featured { min-height: 0; transform: none; }
  .steps { max-width: 700px; margin-inline: auto; }
  .steps li { padding: 1.4rem 0; }
  .steps li:not(:last-child)::after { top: auto; bottom: -1px; left: 20px; width: 1px; height: 1.5rem; border-top: 0; border-left: 1px dashed #91a7a0; }
  .trust-panel { grid-template-columns: 1fr; gap: 1.5rem; }
  .document-layout { grid-template-columns: 1fr; }
  .document-nav { display: none; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 1.25rem, 1120px); }
  .site-header .brand-copy small { display: none; }
  .site-header .brand-copy strong { font-size: 1.1rem; }
  .site-header .brand-mark { width: 28px; height: 28px; }
  .button-small { padding-inline: .9rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 3.5rem); }
  .hero-actions { display: grid; gap: .85rem; }
  .hero-actions .button { width: 100%; }
  .product-visual { min-height: 540px; }
  .phone-frame { width: min(302px, 88vw); }
  .app-screen { min-height: 520px; }
  .orbit-one { width: 380px; height: 380px; }
  .orbit-two { width: 300px; height: 300px; }
  .benefit-card { padding: 1.5rem; }
  .trust-panel { width: 100%; border-radius: 0; }
  .trust-heading-wrap { display: grid; }
  .text-links { display: grid; gap: .8rem; }
  .endorsement-inner { grid-template-columns: 1fr; text-align: center; }
  .lrk-logo-wrap { width: 88px; margin-inline: auto; }
  .lrk-logo { width: 88px; }
  .footer-grid { grid-template-columns: 1fr; }
  footer nav { gap: 1rem; }
  .error-links { flex-wrap: wrap; }
  .content-header .brand-copy small { display: block; }
  .back-link { font-size: .9rem; }
  .support-grid { grid-template-columns: 1fr; }
  .content-hero { padding-top: 3.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
