/* Features page on the landing chrome. Loaded after home-landing-v1.css,
   which supplies the tokens, header, footer, buttons and eyebrow. */
.features-page{background:var(--color-cream)}
.features-page h2,.features-page h3{font-family:var(--font-display);color:var(--color-ink)}
.features-page a:not([class]){color:var(--color-brick-600);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.features-page a:focus-visible{outline:3px solid var(--color-brick-600);outline-offset:3px}
/* The landing CSS marks the current desktop nav link; the mobile menu matches it. */
.mobile-nav a[aria-current=page]{background:var(--color-sun-200);color:var(--color-ink)}

.features-hero{padding-bottom:3.5rem}
.features-hero-head{max-width:880px;margin:0 auto;text-align:center}
.features-hero-head .eyebrow{margin-bottom:1.25rem}
.features-page .features-hero h1{font-size:clamp(2.3rem,5vw,4rem);margin:0}
.features-lead{max-width:700px;margin:1.5rem auto 0;font-size:1.15rem;line-height:1.7;color:var(--color-ink-700)}
.features-hero-actions,.features-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:2rem}
.features-hero-actions .btn-primary,.features-hero-actions .btn-secondary,.features-actions .btn-primary,.features-actions .btn-secondary{white-space:normal;text-align:center;max-width:100%}

.features-body{padding-block:4rem 4.5rem}
.features-stack{display:grid;gap:4rem;max-width:1100px}
.features-kicker{margin:0 0 .75rem;color:var(--color-brick-600);font-size:.8rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}

/* Jump links under the hero; each pill shares its panel's tone. */
.features-jump{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:2rem}
.features-jump a{padding:.45rem 1rem;border:2px solid var(--color-ink);border-radius:999px;font-size:.9rem;font-weight:700;color:var(--color-ink);text-decoration:none;box-shadow:2px 2px 0 var(--color-ink);transition:transform .15s,box-shadow .15s}
.features-jump a:hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--color-ink)}

/* Feature panels: one tinted, numbered panel per feature, mock on alternating sides */
.features-rows{display:grid;gap:2.5rem;counter-reset:feature}
.features-row{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:3rem;align-items:center;padding:3rem;border:2px solid var(--color-ink);border-radius:24px;box-shadow:8px 8px 0 var(--color-ink);counter-increment:feature;scroll-margin-top:7rem}
.features-row::before{content:counter(feature,decimal-leading-zero);position:absolute;top:-1.4rem;left:2.25rem;display:grid;place-items:center;width:3rem;height:3rem;border:2px solid var(--color-ink);border-radius:50%;background:#fff;font-family:var(--font-display);font-size:1.05rem;font-weight:800;color:var(--color-ink);box-shadow:3px 3px 0 var(--color-ink)}
.features-row:nth-child(even) .features-row-text{order:2}
.features-tone-sun{background:var(--color-sun-100)}
.features-tone-sky{background:var(--color-sky-50)}
.features-tone-brick{background:var(--color-brick-50)}
.features-tone-green{background:#e6f4e8}
.features-tone-cream{background:var(--color-cream-200)}
.features-tone-blue{background:var(--color-sky-100)}
.features-page .features-row h2{margin:0 0 1rem;font-size:clamp(1.8rem,3.4vw,2.6rem);font-weight:800;line-height:1.1;letter-spacing:-.02em}
.features-row .features-kicker{display:inline-block;margin-bottom:1rem;padding:.3rem .8rem;border:2px solid var(--color-ink);border-radius:999px;background:#fff;font-size:.72rem}
.features-row-text p{margin:0;line-height:1.75;color:var(--color-ink-700)}
.features-row-text p+p{margin-top:1rem}
.features-points{margin:1.25rem 0 0;padding:0;list-style:none;display:grid;gap:.6rem}
.features-points li{position:relative;padding-left:1.6rem;line-height:1.6;color:var(--color-ink-700)}
.features-points li::before{content:"";position:absolute;left:0;top:.5em;width:.7rem;height:.7rem;border:2px solid var(--color-ink);border-radius:50%;background:var(--color-sun-400)}

.features-mock{min-width:0;padding:1.75rem;background:#fff;border:2px solid var(--color-ink);border-radius:18px;box-shadow:6px 6px 0 var(--color-ink);font-size:.95rem;color:var(--color-ink)}
.features-mock p{margin:0}
.mock-title{font-family:var(--font-display);font-weight:800;font-size:1.1rem;margin-bottom:1rem!important}

.features-mock-chat{display:grid;gap:.75rem}
.mock-bubble{max-width:85%;padding:.7rem 1rem;border:2px solid var(--color-ink);border-radius:16px;line-height:1.45}
.mock-user{justify-self:end;background:var(--color-sun-200);border-bottom-right-radius:4px}
.mock-bot{justify-self:start;display:flex;align-items:center;gap:.5rem;background:#fff;border-bottom-left-radius:4px;font-weight:600}
.mock-dot{width:.65rem;height:.65rem;border-radius:50%;background:#2f9e5b;border:1.5px solid var(--color-ink)}

.features-mock-access ul{margin:0 0 1rem;padding:0;list-style:none;display:grid;gap:.6rem}
.features-mock-access li{display:flex;align-items:center;gap:.6rem}
.mock-check{display:inline-grid;place-items:center;width:1.4rem;height:1.4rem;border:2px solid var(--color-ink);border-radius:6px;background:var(--color-sun-200);font-size:.8rem;font-weight:800}
.mock-revoke{display:inline-block;padding:.35rem .9rem;border:2px solid var(--color-ink);border-radius:999px;font-size:.85rem;font-weight:700;color:var(--color-brick-600)}

.features-mock-steps{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.mock-step{padding:.5rem .9rem;border:2px solid var(--color-ink);border-radius:999px;background:#fff;font-weight:700;font-size:.9rem}
.mock-step-on{background:var(--color-brick-600);color:#fff}
.mock-note{flex-basis:100%;margin-top:.75rem!important;font-weight:600;color:var(--color-ink-700)}

.features-mock-photo{display:grid;gap:1rem}
.mock-photo{aspect-ratio:5/2;border:2px solid var(--color-ink);border-radius:12px;background:radial-gradient(circle at 78% 32%,var(--color-sun-400) 0 9%,transparent 9.5%),radial-gradient(ellipse 70% 55% at 25% 100%,#8fbf8a 0 98%,transparent 100%),radial-gradient(ellipse 80% 45% at 85% 100%,#6fa86b 0 98%,transparent 100%),var(--color-sky-200)}
.features-mock-photo ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem}
.features-mock-photo li{padding:.25rem .7rem;border:1.5px solid var(--color-ink);border-radius:999px;background:var(--color-cream);font-size:.8rem;font-weight:600}

.features-mock-domain{display:grid;gap:1rem;justify-items:start}
.mock-url{display:flex;align-items:center;gap:.6rem;width:100%;padding:.75rem 1rem;border:2px solid var(--color-ink);border-radius:999px;background:#fff;font-family:var(--font-mono);font-size:1rem}
.mock-lock{font-size:.9rem}
.mock-badge{padding:.25rem .8rem;border:1.5px solid var(--color-ink);border-radius:999px;background:#d8f0dc;font-size:.8rem;font-weight:700}

.features-mock-form{display:grid;gap:.6rem}
.mock-field{padding:.6rem .85rem;border:2px solid var(--color-ink-300);border-radius:10px;background:var(--color-cream);color:var(--color-ink-500)}
.mock-button{justify-self:start;margin-top:.25rem!important;padding:.55rem 1.4rem;border:2px solid var(--color-ink);border-radius:10px;background:var(--color-brick-600);color:#fff;font-weight:700;box-shadow:3px 3px 0 var(--color-ink)}

/* Also included */
.features-page .features-also>h2,.features-page .features-invitation h2{margin:0 0 1.5rem;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;letter-spacing:-.02em}
.features-also>h2{text-align:center}
.features-also-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.features-also-grid>div{padding:1.5rem;border:2px solid var(--color-ink);border-radius:14px;background:#fff}
.features-page .features-also-grid h3{margin:0 0 .5rem;font-size:1.1rem;font-weight:700}
.features-eu{display:flex;align-items:center;gap:.6rem}
.features-eu img{flex:none;border-radius:3px;box-shadow:0 0 0 1.5px var(--color-ink)}
.features-also-grid p{margin:0;line-height:1.6;color:var(--color-ink-700)}

/* Closing card */
.features-card{min-width:0;padding:2rem;background:#fff;border:2px solid var(--color-ink);border-radius:18px;box-shadow:6px 6px 0 var(--color-ink);color:var(--color-ink-700);overflow-wrap:break-word}
.features-invitation{background:var(--color-sun-100);text-align:center}
.features-invitation .eyebrow{margin-bottom:1rem}
.features-page .features-invitation h2{margin-bottom:1rem}
.features-page .features-invitation p{max-width:640px;margin:0 auto;line-height:1.7}
.features-invitation .features-actions{margin-top:1.5rem}
.features-page .features-invitation .features-feedback{margin-top:1.25rem;font-size:.9rem;color:var(--color-ink-500)}

@media(max-width:899px){
 .features-row{grid-template-columns:1fr}
 .features-row{gap:1.75rem;padding:2.75rem 2rem 2rem}
 .features-row:nth-child(even) .features-row-text{order:0}
 .features-also-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:639px){
 .features-hero{padding-bottom:2.5rem}
 .features-lead{font-size:1.05rem}
 .features-body{padding-block:2.5rem 3rem}
 .features-stack{gap:3rem}
 .features-rows{gap:2.75rem}
 .features-row{padding:2.5rem 1.25rem 1.5rem;border-radius:20px;box-shadow:5px 5px 0 var(--color-ink)}
 .features-row::before{left:1.25rem;width:2.6rem;height:2.6rem;font-size:.95rem}
 .features-jump{gap:.5rem}
 .features-jump a{font-size:.85rem;padding:.4rem .85rem}
 .features-mock,.features-card{padding:1.4rem;box-shadow:5px 5px 0 var(--color-ink)}
 .features-also-grid{grid-template-columns:1fr}
 .features-hero-actions .btn-primary,.features-hero-actions .btn-secondary,.features-actions .btn-primary,.features-actions .btn-secondary{width:100%}
}
