:root {
    color-scheme: light;
    --ink: var(--eda-navy);
    --muted: var(--eda-muted);
    --accent: var(--eda-blue);
    --accent-hover: var(--eda-blue-hover);
    --hero-surface: #eef0ff;
    --paper: #fff;
    --white: #fff;
    --line: #d9def0;
    --serif: "Instrument Serif", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: var(--ink);
    margin: 0;
    font: 400 1rem/1.6 var(--sans);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--eda-blue); outline-offset: 4px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; }
h1, h2 { font: 400 1em/1.02 var(--serif); }
h1 { font-size: clamp(3.4rem, 6.5vw, 6.4rem); letter-spacing: -.026em; }
h2 { font-size: clamp(2.45rem, 4.4vw, 4.45rem); letter-spacing: -.016em; }
h3 { line-height: 1.28; }
.container { width: min(100% - 3rem, 1200px); margin-inline: auto; }
.skip-link, .screen-reader {
    clip-path: inset(50%);
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}
.skip-link:focus {
    clip-path: none;
    width: auto;
    height: auto;
    z-index: 3;
    top: 1rem;
    left: 1rem;
    padding: .5rem .8rem;
    background: var(--white);
}
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 75px;
    padding-block: .85rem;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
}
.site-brand img { flex: none; width: clamp(6.25rem, 10vw, 8rem); height: auto; }
.site-links, .footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(.65rem, 2.4vw, 1.85rem);
    font-size: .925rem;
}
.site-links a:not(.button), .footer-links a { text-decoration: none; text-underline-offset: .19rem; }
.site-links a:hover, .site-links a[aria-current="page"], .footer-links a:hover { text-decoration: underline; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .75rem 1.08rem;
    border: 1px solid transparent;
    border-radius: .5rem;
    min-height: 46px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: #8c92bf; color: var(--accent); }
.button-outline:hover { background: var(--eda-tint); }
.button.nav-action { min-height: 40px; padding: .58rem .82rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.inline-link { font-weight: 700; text-underline-offset: .2rem; }
.eyebrow {
    margin: 0 0 .8rem;
    color: var(--muted);
    font-weight: 700;
    font-size: .77rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.lead { max-width: 34rem; margin: 1.25rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.supporting { color: var(--muted); font-size: .875rem; margin-top: 1rem; }
.masthead { background: var(--hero-surface); }
.masthead-grid {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4.25rem);
    padding-block: clamp(2rem, 5.5vw, 5rem);
}
.masthead h1 { font-size: clamp(3.35rem, 5.05vw, 4.9rem); }
.masthead-copy .supporting { margin-bottom: 0; max-width: 29rem; }
.masthead-photo { min-width: 0; }
.masthead-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.25;
    object-fit: cover;
    object-position: 55% center;
    border-radius: 1rem;
}
.section { padding-block: clamp(2.65rem, 6.8vw, 6rem); }
.section-heading { max-width: 40rem; }
.section-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 1rem; }
.feature-grid, .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.feature-grid article, .steps article {
    padding: 1.45rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--eda-blue);
    border-radius: .7rem;
    background: var(--white);
}
.feature-grid p, .steps p { color: var(--muted); margin: .45rem 0 0; }
.lifecycle { background: var(--eda-navy); color: #fff; }
.lifecycle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.lifecycle .section-heading .eyebrow, .lifecycle .section-heading p:not(.eyebrow) { color: #e3e5ff; }
.lifecycle .inline-link { color: #fff; }
.example-panel {
    background: #f7f8ff;
    color: var(--ink);
    padding: clamp(1rem, 2.8vw, 2rem);
    border-radius: 1rem;
}
.example-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.example-heading h3 { font-size: clamp(1.14rem, 3vw, 1.55rem); }
.example-heading h3 span { color: #6b72a1; }
.example-heading .eyebrow { margin-bottom: .15rem; }
.example-status { color: var(--accent); padding: .24rem .5rem; background: var(--eda-tint); border-radius: .35rem; font-size: .78rem; font-weight: 700; }
.example-features { color: var(--muted); margin: .6rem 0 0; font-size: .88rem; }
.example-panel table { width: 100%; margin-top: 1.05rem; border-collapse: collapse; }
.example-panel th, .example-panel td { padding: .55rem 0; text-align: left; border-bottom: 1px solid var(--line); }
.example-panel th:last-child, .example-panel td:last-child { text-align: right; }
.example-panel tbody tr:last-child td { border-bottom: 0; }
.example-panel th { font-size: .82rem; color: var(--muted); }
.page-heading { background: var(--hero-surface); padding-block: clamp(2.5rem, 5.5vw, 4.25rem); }
.page-heading h1 { max-width: 20ch; font-size: clamp(2.85rem, 5.2vw, 4.6rem); }
.page-heading .lead { max-width: 41rem; }
.plans-section { padding-top: 2.2rem; }
.plan-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; }
.plan-card {
    display: flex;
    flex-direction: column;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: var(--white);
}
.plan-card h2 { font: 700 1.06rem/1.2 var(--sans); }
.plan-price { font-size: clamp(1.65rem, 2.35vw, 2.13rem); font-weight: 700; line-height: 1.15; margin: .8rem 0 .25rem; }
.plan-price span { font-size: .83rem; }
.plan-price small { display: block; font-size: .84rem; font-weight: 500; margin-top: .14rem; }
.plan-annual { color: var(--muted); font-size: .88rem; }
.plan-card ul { padding-left: 1.04rem; margin: .25rem 0 1.1rem; font-size: .92rem; }
.plan-actions { display: grid; text-align: center; gap: .5rem; margin-top: auto; }
.plan-actions .button { padding-inline: .4rem; }
.plan-actions .inline-link { font-size: .89rem; padding-block: .45rem; }
.billing-details, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.35rem, 5vw, 5rem);
    align-items: start;
}
.billing-details { margin-top: clamp(2.25rem, 5vw, 4rem); }
.billing-details p { color: var(--muted); margin-top: 1rem; }
.questions details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.questions details:first-child { border-top: 1px solid var(--line); }
.questions details p { margin: .6rem 0 .1rem; }
.questions summary { cursor: pointer; font-weight: 700; }
.contact-panel {
    padding: clamp(1.25rem, 3vw, 2.1rem);
    border-radius: .85rem;
    background: var(--white);
    border: 1px solid var(--line);
}
.contact-panel dl { margin: 1.25rem 0 0; }
.contact-panel dt { font-weight: 700; margin-top: .9rem; }
.contact-panel dd { margin: .22rem 0 0; overflow-wrap: anywhere; color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); background: var(--hero-surface); padding-block: 1.65rem; }
.footer-inner { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; }
.footer-inner p { margin: .35rem 0 0; color: var(--muted); font-size: .85rem; }
.footer-links { padding-top: .6rem; }
.footer-copyright { align-self: center; }
@media (max-width: 1050px) {
    .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .site-nav { flex-wrap: wrap; gap: .7rem; }
    .site-links { gap: .3rem 1rem; }
    .masthead-grid, .lifecycle-grid { grid-template-columns: 1fr; }
    .masthead-photo img { aspect-ratio: 1.65; }
    .feature-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 2rem); }
    .site-nav { display: block; }
    .site-links { margin-top: .75rem; }
    .site-links a { padding-block: .32rem; }
    .site-links .nav-action { flex-grow: 1; }
    .billing-details, .contact-grid { grid-template-columns: 1fr; }
    .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-grid { margin-top: 1.35rem; gap: .7rem; }
    .feature-grid article, .steps article { padding: 1rem; }
}
@media (max-width: 410px) {
    h1, .masthead h1 { font-size: clamp(2.8rem, 12vw, 3.4rem); }
    .feature-grid, .steps { grid-template-columns: 1fr; }
    .plan-card { padding: .83rem; }
    .plan-actions .button, .plan-card ul { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
