:root {
  color-scheme: light;
  --paper: #f7f8f1;
  --white: #fff;
  --ink: #17291e;
  --muted: #4a5b4f;
  --forest: #172d22;
  --forest-deep: #10251b;
  --lime: #d7f576;
  --edge: #dce5d8;
  --soft: #e9f0e2;
  --radius: 22px;
  font: 100%/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 4.7vw, 3.7rem); font-weight: 740; }
h3 { font-size: 1.35rem; }
[hidden] { display: none !important; }
[id] { scroll-margin-block-start: 1.5rem; }
:focus-visible { outline: 3px solid #718717; outline-offset: 4px; }

.container { width: min(100% - 3.5rem, 74rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: .65rem; left: .65rem; transform: translateY(-180%); padding: .6rem 1rem; border-radius: .6rem; color: var(--ink); background: var(--lime); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--edge); }
.header-inner, .footer-inner { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; }
.brand { display: inline-flex; gap: .62rem; align-items: center; text-decoration: none; white-space: nowrap; font-size: 1.22rem; letter-spacing: -.045em; font-weight: 770; }
.brand img { border-radius: .66rem; }
.site-nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .32rem clamp(.8rem, 3.4vw, 2rem); }
.site-nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 650; color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current], .site-footer nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .32em; }

.hero { background: radial-gradient(ellipse at 79% 28%, #2f4c2b 0, transparent 53%), var(--forest); color: var(--paper); overflow: clip; }
.hero-inner { min-height: 37.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.2rem, 4vw, 3rem); }
.hero-copy { position: relative; z-index: 1; padding-block: 4.25rem; }
.eyebrow { font-size: .83rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: #426044; }
.hero .eyebrow { color: #d6eb9d; }
.hero h1 { font-size: clamp(3.35rem, 6vw, 5.55rem); line-height: .96; letter-spacing: -.075em; font-weight: 785; margin-top: 1rem; }
.hero h1 span { color: var(--lime); white-space: nowrap; }
.hero-description { max-width: 32rem; margin-top: 1.45rem; color: #e0eadf; font-size: clamp(1.08rem, 2.2vw, 1.23rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.45rem; margin-top: 1.8rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .65rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-weight: 735; text-align: center; text-decoration: none; }
.button-primary { background: var(--lime); color: #152717; }
.button-primary:hover { background: #e3ffa3; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 660; text-underline-offset: .24em; }
.text-link:hover { color: var(--lime); }
.hero-note { margin-top: 1.4rem; color: #becdbf; font-size: .91rem; }
.hero :focus-visible { outline-color: var(--lime); }
.hero-visual { position: relative; height: clamp(27rem, 45vw, 37rem); isolation: isolate; }
.visual-orbit { position: absolute; z-index: -1; aspect-ratio: 1; border: 1px solid #add28738; border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; }
.orbit-outer { width: min(100%, 34rem); background: radial-gradient(circle, #c0ef8d28, transparent 67%); }
.orbit-inner { width: min(82%, 27rem); }
.phone { overflow: hidden; padding: 5px; background: #101914; border: 1px solid #ffffff59; border-radius: 25px; box-shadow: 0 22px 50px #08130db3; }
.phone img { width: 100%; height: auto; border-radius: 19px; }
.hero-visual .phone { position: absolute; width: clamp(12rem, 49%, 16rem); }
.phone-front { left: 13%; top: 7%; transform: rotate(-8deg); }
.phone-back { right: 4%; top: 13%; transform: rotate(12deg) scale(.91); }

.section { padding-block: clamp(3.3rem, 8vw, 6.4rem); }
.section-heading { max-width: 43rem; margin-bottom: clamp(1.55rem, 4vw, 2.75rem); }
.section-heading h2, .showcase h2, .closing h2 { margin-top: .55rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--edge); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.feature-icon { display: grid; place-items: center; width: 3.05rem; height: 3.05rem; border-radius: .9rem; background: var(--soft); margin-bottom: 1.2rem; }
.feature-card p { color: var(--muted); margin-block: .72rem 1rem; }
.feature-card a { color: #34543a; font-weight: 680; margin-top: auto; text-underline-offset: .22em; }
.feature-card a:hover { color: var(--ink); }

.showcase { background: #eaf0e2; overflow: clip; }
.showcase-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 7vw, 6rem); }
.showcase-copy > p:not(.eyebrow) { color: var(--muted); max-width: 32rem; margin-top: .85rem; }
.screen-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.screen-options button { cursor: pointer; min-height: 44px; border: 1px solid #adbea9; border-radius: 999px; padding: .46rem .98rem; background: transparent; color: var(--ink); font-size: .94rem; font-weight: 660; }
.screen-options button:hover { border-color: #3a5a3f; }
.screen-options button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.screen-caption { min-height: 3.3em; font-size: .95rem; }
.showcase-stage { display: grid; min-height: 30rem; place-items: center; border-radius: calc(var(--radius) + 10px); background: radial-gradient(circle at 54% 36%, #d2e8b3, #bfd2b2 59%, #a9bea0); }
.showcase-phone { width: min(54%, 14.2rem); box-shadow: 0 17px 37px #20352265; margin-block: 1.7rem; }
.closing-inner { display: flex; justify-content: space-between; gap: 1.4rem 3rem; align-items: end; }
.closing h2 { max-width: 45rem; }
.closing p:not(.eyebrow) { max-width: 41rem; color: var(--muted); margin-top: .9rem; }
.button-outline { border-color: #a7bba3; flex-shrink: 0; }
.button-outline:hover { background: var(--soft); }
.site-footer { background: #eef2e9; border-top: 1px solid var(--edge); }
.footer-inner { min-height: 5.2rem; }

.page-intro { padding-block: clamp(3.1rem, 7vw, 5.4rem); background: var(--soft); border-bottom: 1px solid var(--edge); }
.page-intro h1 { font-size: clamp(2.85rem, 6.7vw, 5.15rem); letter-spacing: -.06em; margin-top: .7rem; }
.page-intro p:not(.eyebrow) { max-width: 45rem; color: var(--muted); margin-top: 1rem; font-size: 1.13rem; overflow-wrap: anywhere; }
.page-intro .page-meta { font-size: .9rem; }
.reading-layout { display: grid; grid-template-columns: 13rem minmax(0, 46rem); gap: clamp(1.15rem, 6vw, 4.5rem); padding-block: clamp(2rem, 6vw, 4.6rem); }
.contents { position: sticky; top: 1.5rem; display: flex; flex-direction: column; align-self: start; border: 1px solid var(--edge); padding: 1rem; border-radius: 15px; background: #f1f5ec; }
.contents p { font-weight: 730; margin-bottom: .45rem; }
.contents a { color: #33513a; padding-block: .28rem; text-decoration: underline; text-decoration-color: #9bab9c; text-underline-offset: .13em; font-size: .92rem; }
.contents a:hover { text-decoration-color: currentColor; }
.reading-body section + section { border-top: 1px solid var(--edge); padding-top: 1.9rem; margin-top: 2rem; }
.reading-body h2 { font-size: clamp(1.65rem, 3.3vw, 2.45rem); text-wrap: pretty; }
.reading-body h3 { font-size: 1.23rem; margin-top: 1.55rem; }
.reading-body p { margin-top: .7rem; color: var(--muted); overflow-wrap: anywhere; }
.reading-body a { color: #305238; text-underline-offset: .19em; }
.reading-body code, .page-intro code { font-size: .9em; border-radius: .28em; padding: .08em .25em; background: #e4ecdf; }
.guide-steps { padding-left: 1.4rem; color: var(--muted); }
.guide-steps li { padding-left: .35rem; margin-block: .7rem; }
.guide-steps li::marker { color: #34573b; font-weight: 760; }
.guide-definitions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.guide-definitions div { border-radius: .75rem; background: var(--soft); padding: .68rem .8rem; }
.guide-definitions dt { font-weight: 700; }
.guide-definitions dd { margin: .25rem 0 0; color: var(--muted); }
.guide-callout { border-left: 4px solid #71984e; background: var(--soft); padding: .7rem .95rem; }
.accordion { background: #f1f5ec; border: 1px solid var(--edge); border-radius: .7rem; margin-top: .72rem; }
.accordion summary { cursor: pointer; padding: .74rem .9rem; font-weight: 680; }
.accordion p { margin: 0; padding: 0 .9rem .85rem; }

@media (max-width: 57rem) {
  .hero-inner { min-height: 32rem; }
  .hero-visual .phone { width: min(59%, 14.5rem); }
  .phone-front { left: 7%; }
  .phone-back { right: 0; top: 15%; }
  .feature-grid { gap: .7rem; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 42rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.1rem; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 33px; height: 33px; }
  .site-nav { justify-content: flex-end; gap: 0 .65rem; }
  .site-nav a, .site-footer nav a { font-size: .88rem; }
  .hero-inner, .showcase-inner, .reading-layout { grid-template-columns: 1fr; }
  .hero-inner { gap: 0; }
  .hero-copy { padding: 3.4rem 0 0; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-visual { width: min(100%, 28rem); height: clamp(24rem, 99vw, 30rem); margin: .75rem auto .3rem; }
  .hero-visual .phone { width: min(49%, 13rem); }
  .phone-front { left: 13%; }
  .phone-back { right: 6%; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase-stage { min-height: 23rem; }
  .showcase-phone { width: min(61%, 13.25rem); }
  .reading-layout { gap: 1.8rem; }
  .contents { position: static; }
  .contents a { padding-block: .48rem; }
}

@media (max-width: 24rem) {
  .header-inner, .footer-inner { gap: .1rem .75rem; flex-wrap: wrap; padding-block: .65rem; }
  .site-nav { justify-content: flex-start; }
  .guide-definitions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
