.ducks-landing {
    --text-dark: var(--ducks-ink, #172e4f);
    --text-muted: var(--ducks-muted, #445a73);
    --blue: var(--ducks-blue, #1d5b9e);
    --ink: var(--ducks-ink, #172e4f);
    --accent: var(--ducks-blue, #1d5b9e);
    --paper: var(--ducks-paper, #f6fbfd);
    --soft: var(--ducks-sky, #e8f4fc);
    --line: var(--ducks-line, #d3e4f0);
    --yellow: var(--ducks-gold, #ffd168);
    --yellow-hover: var(--ducks-gold-hover, #ffc044);
    margin: 0;
    background: var(--paper);
    color: var(--text-dark);
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}

.ducks-landing * { box-sizing: border-box; }
.ducks-landing main a { color: inherit; }
.ducks-landing [hidden] { display: none !important; }
.ducks-landing :is(a, button, summary):focus-visible {
    outline: 3px solid var(--ducks-focus, #236bc2);
    outline-offset: 4px;
}

.ducks-landing .header {
    background: rgb(246 251 253 / 94%);
    border-color: var(--line);
}

.ducks-landing .header-inner { max-width: 1264px; }
.ducks-landing .header-link--tariffs {
    color: var(--accent);
    white-space: nowrap;
}

.ducks-landing .header-link--trial,
.ducks-landing .drawer-btn--trial {
    background: var(--yellow);
    color: var(--ink);
    box-shadow: none;
}

.ducks-landing .header-link--trial:hover,
.ducks-landing .drawer-btn--trial:hover {
    background: var(--yellow-hover);
    color: var(--ink);
    box-shadow: none;
}

.landing-skip {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 110;
    transform: translateY(-150%);
    padding: 10px 16px;
    border-radius: 12px;
    background: white;
    color: var(--ink);
    font-weight: 700;
}

.landing-skip:focus { transform: none; }

.landing-wrap {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.ducks-landing :is(main, h2[id], fieldset[id]) { scroll-margin-top: 86px; }

.ducks-landing h1,
.ducks-landing main h2,
.ducks-landing main h3 { margin: 0; }

.ducks-landing main h2 {
    font-size: clamp(2rem, 3.8vw, 3.3rem);
    line-height: 1.07;
    letter-spacing: -.055em;
    font-weight: 800;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
    gap: clamp(28px, 5vw, 82px);
    align-items: center;
    padding-block: clamp(42px, 6vw, 92px);
}

.landing-hero h1 {
    font-size: clamp(2.7rem, 5.7vw, 5.2rem);
    font-weight: 850;
    line-height: .99;
    letter-spacing: -.078em;
    text-wrap: balance;
}

.landing-hero h1 span { color: var(--accent); }

.landing-hero__lead {
    max-width: 32rem;
    margin: 24px 0 0;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    font-weight: 500;
}

.landing-invite {
    margin: 18px 0 0;
    color: var(--accent);
    font-weight: 700;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.ducks-landing main :is(.cta-primary, .landing-button) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 19px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--ink);
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s, border-color .18s;
}

.ducks-landing main .landing-button:hover {
    border-color: #9fc4e4;
    background: var(--soft);
}

.ducks-landing main .cta-primary {
    border-color: transparent;
    background: var(--yellow);
    font-weight: 800;
}

.ducks-landing main .cta-primary:hover { background: var(--yellow-hover); }

.landing-trial-note {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: .875rem;
    font-weight: 600;
}

.landing-trial-note span {
    align-self: flex-start;
    flex: none;
    color: var(--accent);
    font-weight: 850;
}

.landing-access {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    font-size: .875rem;
    font-weight: 700;
}

.landing-access > a { text-underline-offset: .22em; }
.landing-access__more summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    cursor: pointer;
    list-style: none;
    color: var(--text-muted);
}

.landing-access__more summary::-webkit-details-marker,
.landing-faq summary::-webkit-details-marker { display: none; }

.landing-access__more summary::after {
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    margin-top: -.25em;
    transform: rotate(45deg);
    content: "";
}

.landing-access__more[open] summary::after {
    margin-top: .25em;
    transform: rotate(225deg);
}

.landing-access__links {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(350px, 100%);
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    box-shadow: 0 14px 36px rgb(23 46 79 / 15%);
}

.landing-access__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
}

.landing-access__links a:hover { background: var(--soft); }
.landing-access__code {
    grid-column: 1 / -1;
    background: var(--paper);
}

.landing-access__code svg { width: 17px; height: 17px; flex: none; }
.landing-access__bot { grid-column: 1 / -1; }

.landing-art {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    place-items: center;
    aspect-ratio: 1.04;
    border-radius: clamp(24px, 5vw, 52px);
    background:
        radial-gradient(ellipse at 47% 47%, #fff 11%, #e8f7ff 49%, transparent 78%),
        linear-gradient(143deg, #a7ddf6 8%, #7cb5df 74%, #afd7ef);
}

.landing-art::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgb(255 255 255 / 23%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 23%) 1px, transparent 1px);
    background-size: 29px 29px;
    mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 88%);
    content: "";
}

.landing-art__orbit {
    position: absolute;
    z-index: -1;
    width: 88%;
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / 77%);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgb(255 255 255 / 14%), inset 0 0 0 26px rgb(255 255 255 / 15%);
}

.landing-art__spark {
    position: absolute;
    z-index: -1;
    width: 12%;
    aspect-ratio: 1;
    top: 14%;
    right: 12%;
    background: #ffdf86;
    clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 37%);
}

.landing-art__duck {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 1%;
    filter: drop-shadow(0 21px 16px rgb(23 46 79 / 20%));
}

.landing-art__tag {
    position: absolute;
    right: 5%;
    bottom: 5%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid white;
    border-radius: 100px;
    background: #f6fbfd;
    color: var(--ink);
    font-size: .8125rem;
    font-weight: 750;
}

.landing-art__tag svg { width: 18px; height: 18px; color: var(--accent); }

.landing-devices {
    padding-block: clamp(48px, 6.5vw, 90px);
    border-block: 1px solid var(--line);
    background: #e8f4fc;
}

.landing-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-bottom: 24px;
}

.landing-section-head p,
.landing-questions__intro p {
    margin: 12px 0 0;
    color: var(--text-muted);
}

.ducks-landing main .landing-text-link {
    display: inline-flex;
    width: fit-content;
    padding-block: 8px;
    color: var(--accent);
    font-size: .94rem;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .24em;
}

.ducks-landing main .landing-text-link:hover { text-decoration-thickness: 2px; }

.landing-device-picker {
    padding: clamp(10px, 1.3vw, 16px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--paper);
}

.landing-device-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 12px;
}

.ducks-landing main .landing-device-tabs a {
    display: grid;
    place-items: center;
    min-height: 47px;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--text-muted);
    font-size: .91rem;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.ducks-landing main .landing-device-tabs a:hover {
    border-color: #8bb9df;
    color: var(--ink);
}

.ducks-landing main .landing-device-tabs a[aria-selected="true"] {
    border-color: transparent;
    background: var(--ink);
    color: white;
}

.landing-device-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    min-height: 290px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: white;
}

.landing-device-panel:focus-visible { outline: 2px solid var(--ducks-focus, #236bc2); }
.landing-device-panel__copy { padding: clamp(23px, 4vw, 46px); }
.landing-device-panel__platform {
    margin: 0 0 7px;
    color: var(--accent);
    font-size: .875rem;
    font-weight: 750;
}

.ducks-landing .landing-device-panel h3 {
    font-size: clamp(1.9rem, 3.8vw, 3.15rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.landing-device-steps {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    color: var(--text-muted);
    list-style: none;
    counter-reset: step;
}

.landing-device-steps li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    counter-increment: step;
}

.landing-device-steps li::before {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--accent);
    font-size: .8125rem;
    font-weight: 800;
    content: counter(step);
}

.ducks-landing main .landing-button--ink {
    border-color: transparent;
    background: var(--ink);
    color: white;
}

.ducks-landing main .landing-button--ink:hover { background: #244f79; }

.landing-device-panel__art {
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle, rgb(255 255 255 / 82%) 0 40%, transparent 40.5% 47%, rgb(255 255 255 / 45%) 47.5% 48%, transparent 48.5%),
        #d3ebfa;
}

.landing-device-panel__art[data-device="iphone"] { background-color: #e3effd; }
.landing-device-panel__art[data-device="windows"] { background-color: #cce3f7; }
.landing-device-panel__art[data-device="macos"] { background-color: #e1eff8; }
.landing-device-panel__art[data-device="android-tv"] { background-color: #ffebc5; }

.landing-device-panel__art img {
    display: block;
    width: min(88%, 330px);
    height: auto;
    aspect-ratio: 1;
    filter: drop-shadow(0 12px 12px rgb(23 46 79 / 17%));
}

.landing-pricing,
.landing-questions { padding-block: clamp(58px, 8vw, 108px); }

.landing-pricing__fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.landing-sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}

.landing-periods {
    display: flex;
    flex: none;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
}

.landing-periods label {
    display: grid;
    min-width: 94px;
    min-height: 44px;
    place-items: center;
    padding: 4px 10px;
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: .94rem;
    font-weight: 750;
}

#period-month:checked ~ .landing-section-head [for="period-month"],
#period-year:checked ~ .landing-section-head [for="period-year"] {
    background: white;
    color: var(--ink);
    box-shadow: 0 2px 6px rgb(23 46 79 / 12%);
}

#period-month:focus-visible ~ .landing-section-head [for="period-month"],
#period-year:focus-visible ~ .landing-section-head [for="period-year"] {
    outline: 3px solid var(--ducks-focus, #236bc2);
    outline-offset: 2px;
}

#period-month:checked ~ .landing-plans .landing-plan__term--year,
#period-year:checked ~ .landing-plans .landing-plan__term--month { display: none; }

.landing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 222px), 1fr));
    gap: 14px;
}

.landing-plan {
    display: flex;
    flex-direction: column;
    padding: clamp(19px, 3vw, 31px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
}

.landing-plan--family {
    border-color: #254166;
    background: var(--ink);
    color: white;
}

.ducks-landing .landing-plan h3 {
    font-size: clamp(1.27rem, 2.4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.05em;
}

.landing-plan__description {
    margin: 9px 0 0;
    color: var(--text-muted);
    font-size: .94rem;
}

.landing-plan__limits {
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
    font-size: .94rem;
}

.landing-plan__limits li + li { margin-top: 5px; }
.landing-plan__term {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.landing-plan__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin: 0 0 13px;
    font-variant-numeric: tabular-nums;
}

.landing-plan__price strong {
    font-size: clamp(1.75rem, 3.3vw, 2.7rem);
    line-height: 1.25;
    letter-spacing: -.065em;
    white-space: nowrap;
}

.landing-plan__price span { color: var(--text-muted); font-size: .875rem; }
.landing-plan__price--unavailable { min-height: 30px; font-size: .94rem; }
.landing-plan__term .landing-button { width: 100%; }

.landing-plan--family :is(.landing-plan__description, .landing-plan__price span) { color: #e2effa; }
.landing-plan--family .landing-plan__term { border-top-color: #4d6886; }

.ducks-landing main .landing-plan--family .landing-button {
    border-color: transparent;
    background: var(--yellow);
}

.ducks-landing main .landing-plan--family .landing-button:hover { background: var(--yellow-hover); }
.landing-all-plans { margin-top: 14px; }

.landing-questions {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 6vw, 92px);
    border-top: 1px solid var(--line);
}

.landing-questions__intro .landing-text-link { margin-top: 9px; }
.landing-faq { border-top: 1px solid var(--line); }
.landing-faq details { border-bottom: 1px solid var(--line); }

.landing-faq summary {
    display: grid;
    grid-template-columns: 1fr 28px;
    align-items: center;
    gap: 12px;
    min-height: 65px;
    padding-block: 12px;
    cursor: pointer;
    list-style: none;
    font-weight: 750;
}

.landing-faq summary::after {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--accent);
    content: "+" / "";
}

.landing-faq details[open] summary::after { content: "−" / ""; }
.landing-faq p { margin: 0 28px 18px 0; color: var(--text-muted); }
.ducks-landing .landing-faq a { color: var(--accent); text-underline-offset: .19em; }

.landing-end {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: clamp(36px, 5.5vw, 74px);
    padding: clamp(25px, 4.7vw, 58px);
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 95% 70%, #245786 0, transparent 60%),
        var(--ink);
    color: #fff;
}

.landing-end p { max-width: 35rem; margin: 12px 0 0; color: #e2effa; }

@media (max-width: 880px) {
    .landing-wrap { width: calc(100% - 44px); }
    .landing-hero { gap: 26px; }
    .ducks-landing .header-right > .header-link,
    .ducks-landing .header-actions { display: none; }
    .ducks-landing .menu-toggle { display: inline-flex; }
}

@media (max-width: 759px) {
    .landing-hero { grid-template-columns: 1fr; gap: 18px; }
    .landing-hero h1 { font-size: clamp(2rem, 10vw, 4.65rem); }
    .landing-art { width: 100%; aspect-ratio: 1.23; }
    .landing-art__duck { width: min(93%, 520px); margin-top: -3%; }
    .landing-art__tag { right: auto; left: 5%; }
    .landing-questions { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .landing-wrap { width: calc(100% - 32px); }
    .landing-hero { padding-top: 34px; }
    .landing-hero__lead { margin-top: 17px; }
    .landing-device-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .landing-device-tabs a { grid-column: span 2; }
    .landing-device-tabs a:nth-child(n + 4) { grid-column: span 3; }
    .landing-device-panel { grid-template-columns: 1fr; }
    .landing-device-panel__art img { width: min(68%, 235px); }
    .landing-plans { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .landing-hero .landing-actions > a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ducks-landing main :is(.cta-primary, .landing-button) { transition: none; }
}
