:root {
    color-scheme: light;
    --paper: #f7f7f1;
    --ink: #24312b;
    --muted: #58645b;
    --line: #bdc6b9;
    --band: #eb9963;
    --soft: #e9eee4;
    --page-gutter: clamp(22px, 5.5vw, 88px);
    --section-space: clamp(56px, 7vw, 104px);
    font-family: "Zen Kaku Gothic New", Arial, sans-serif;
    font-size: 16px;
    font-synthesis: none;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --paper: #1e1e1e;
    --ink: #ededed;
    --muted: #aaa9a7;
    --line: #454545;
    --band: #433329;
    --soft: #252526;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height, 96px) + 24px);
}

body {
    margin: 0;
}

[hidden] {
    display: none !important;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
summary {
    cursor: pointer;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 5px;
}

::selection {
    color: var(--ink);
    background: var(--band);
}

h1,
h2,
h3,
p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h2 {
    font-size: clamp(32px, 3.1vw, 46px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

p,
li {
    overflow-wrap: break-word;
}

.wrap {
    width: 100%;
    max-width: 1480px;
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}

.skip-link {
    position: fixed;
    z-index: 11;
    top: 12px;
    left: var(--page-gutter);
    padding: 10px 16px;
    color: var(--paper);
    background: var(--ink);
    transform: translateY(calc(-100% - 18px));
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 96px;
    padding-block: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.055em;
    text-decoration: none;
    white-space: nowrap;
}

.brand span {
    font-weight: 400;
}

.navigation,
.languages {
    display: flex;
    align-items: center;
}

.navigation {
    gap: clamp(14px, 2.1vw, 32px);
    font-size: 14px;
}

.navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
}

.navigation a:hover {
    text-decoration: underline;
}

.languages {
    gap: 2px;
}

.languages a {
    min-width: 44px;
    color: var(--muted);
}

.languages a[aria-current="page"],
.languages a[aria-current="true"] {
    color: var(--ink);
    font-weight: 700;
    text-decoration: underline;
}

.sign-in {
    border-bottom: 1px solid var(--ink);
}

.theme-toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    background: transparent;
}

.theme-toggle:hover {
    border-color: var(--ink);
    background: var(--soft);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
}

.theme-toggle .icon-sun,
html[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

.eyebrow,
.label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.label {
    color: var(--muted);
}

.hero-eyebrow {
    padding-block: 17px;
}

.hero {
    padding-block: clamp(32px, 4vw, 58px) clamp(34px, 4vw, 54px);
    background: var(--band);
}

.hero h1 {
    max-width: 1200px;
    font-size: clamp(44px, 7vw, 96px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.048em;
}

.hero h1 span,
.hero h1 strong {
    display: block;
}

.hero h1 strong {
    font-weight: 900;
}

.hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: end;
    gap: 28px 48px;
    margin-top: 30px;
}

.hero-description {
    max-width: 650px;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 52px;
    padding: 12px 22px;
    border: 1px solid var(--ink);
    border-radius: 0;
    color: var(--paper);
    background: var(--ink);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease;
}

.button:hover {
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 500;
}

.formats {
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.examples {
    padding-block: 44px var(--section-space);
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: clamp(25px, 2.4vw, 34px);
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.rotation-control {
    gap: 8px;
    padding: 8px 13px;
    font-size: 12px;
}

.carousel-controls .arrow {
    font-size: 21px;
    line-height: 1;
}

.carousel-controls button:hover,
.carousel-controls button[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--soft);
}

.profile-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 26px;
}

.profile {
    min-height: 48px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
}

.profile:hover {
    border-color: var(--ink);
    background: var(--soft);
}

.profile[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--band);
    font-weight: 700;
    box-shadow: inset 0 -2px var(--ink);
}

.example + .example {
    margin-top: 48px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.is-enhanced .example + .example {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.example-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 12px;
}

.example-label,
.example-position {
    font-size: 12px;
}

.example-position {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.work,
.review-brief {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(28px, 4vw, 60px);
}

.brief {
    padding-right: clamp(22px, 3vw, 42px);
    border-right: 1px solid var(--line);
}

.brief-text {
    margin-top: 12px;
    line-height: 1.75;
}

.process {
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.65;
}

.sample h3 {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 500;
}

.prose {
    max-width: 760px;
    margin-top: 12px;
    font-family: "Lora", Georgia, serif;
    font-size: clamp(21px, 1.9vw, 28px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.018em;
}

.prose p + p {
    margin-top: 0.9em;
}

summary {
    min-height: 44px;
    padding-block: 11px;
}

.read-more {
    margin-top: 16px;
}

.sample:has(.read-more[open]) > .sample-preview {
    display: none;
}

.read-more > summary {
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.read-more .when-open,
.read-more[open] .when-closed {
    display: none;
}

.read-more[open] .when-open {
    display: inline;
}

.read-more[open] > summary {
    margin-bottom: 10px;
}

.review-brief {
    margin-top: 34px;
    padding: 24px 26px;
    background: var(--soft);
}

.review-brief ul {
    margin: 0;
    padding-left: 19px;
    font-size: 16px;
    line-height: 1.75;
}

.review-brief li + li {
    margin-top: 8px;
}

.sample-context {
    max-width: 900px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.sample-context > summary {
    color: var(--ink);
    font-weight: 500;
}

.sample-context p {
    margin-top: 8px;
}

.sample-context ul {
    margin-block: 14px 0;
    padding-left: 19px;
}

.sample-context li + li {
    margin-top: 6px;
}

.disclosure {
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.section-divider {
    border: 0;
    border-top: 1px solid var(--line);
}

.method,
.assistant,
.control,
.proof,
.pricing,
.faq {
    padding-block: var(--section-space);
}

.section-intro {
    max-width: 810px;
    margin-bottom: 38px;
}

.method > .wrap > .eyebrow,
.control > .wrap > .eyebrow,
.pricing > .wrap > .eyebrow {
    margin-bottom: 12px;
}

.section-intro p {
    max-width: 720px;
    margin-top: 20px;
    font-size: 18px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 44px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.step-number {
    display: block;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.steps h3 {
    margin-bottom: 13px;
}

.steps p {
    color: var(--muted);
}

.technical {
    max-width: 860px;
    margin-top: 36px;
}

.technical > summary,
.budget details > summary,
.sample-context > summary {
    width: fit-content;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.technical p,
.technical ul {
    margin-block: 12px 0;
    color: var(--muted);
}

.proof {
    background: var(--soft);
}

.proof-grid,
.assistant-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
    align-items: start;
    gap: clamp(32px, 6vw, 86px);
}

.proof-context .eyebrow {
    margin-bottom: 15px;
}

.proof-context p:not(.eyebrow),
.assistant-copy > p:not(.eyebrow) {
    margin-top: 20px;
}

.published-text {
    margin: 0;
    padding: clamp(25px, 3vw, 44px);
    border: 1px solid var(--line);
    background: var(--paper);
}

.published-text figcaption {
    margin-bottom: 24px;
}

.published-text figcaption .label {
    display: block;
    margin-bottom: 6px;
}

.published-text figcaption a {
    font-size: 16px;
    font-weight: 700;
}

.published-text blockquote {
    font-family: "Lora", Georgia, serif;
    font-size: clamp(21px, 1.8vw, 26px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.015em;
    white-space: pre-line;
}

.attribution {
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.pricing-grid {
    align-items: stretch;
}

.pricing-status {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--soft);
}

.status-mark {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1;
}

.pricing-status p,
.budget p {
    margin-top: 15px;
}

.budget {
    padding-block: 10px;
}

.budget .label {
    margin-top: 0;
    margin-bottom: 12px;
}

.budget h3 {
    font-size: clamp(28px, 2.7vw, 36px);
    font-weight: 500;
    line-height: 1.25;
}

.budget details {
    margin-top: 14px;
}

.budget details p {
    color: var(--muted);
    font-size: 16px;
}

.assistant-copy > .eyebrow {
    margin-bottom: 12px;
}

.assistant-tasks {
    margin: 16px 0 0;
    padding-left: 19px;
    line-height: 1.75;
}

.assistant-tasks li + li {
    margin-top: 6px;
}

.chat-example {
    padding: clamp(24px, 3vw, 40px);
    background: var(--soft);
}

.chat-turn {
    margin-top: 20px;
}

.chat-turn--person {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.chat-speaker {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.chat-message {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.65;
}

.chat-turn--person .chat-message {
    font-weight: 500;
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 4vw, 52px) clamp(24px, 5vw, 72px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.capabilities li {
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.capabilities h3 {
    margin-bottom: 13px;
}

.capabilities p {
    max-width: 620px;
    color: var(--muted);
}

.faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
}

.faq details {
    border-top: 1px solid var(--line);
}

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    padding-block: 21px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.faq details p {
    max-width: 740px;
    margin-bottom: 23px;
    color: var(--muted);
}

.closing {
    padding-block: clamp(42px, 5vw, 72px);
    background: var(--band);
}

.closing > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px 48px;
}

.closing h2 {
    max-width: 730px;
    font-size: clamp(36px, 4vw, 58px);
}

.closing > .wrap > div {
    justify-self: end;
}

.closing p {
    max-width: 360px;
    margin-top: 13px;
    font-size: 14px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 48px;
    padding-block: 38px;
    color: var(--muted);
    font-size: 12px;
}

.site-footer .brand {
    color: var(--ink);
}

.site-footer .brand + p {
    margin-top: 6px;
    font-size: 14px;
}

.founder {
    max-width: 520px;
    justify-self: end;
    padding-top: 9px;
    line-height: 1.8;
}

.founder p + p {
    margin-top: 10px;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
    .navigation .section-link {
        display: none;
    }

    .hero-bottom {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .work,
    .review-brief {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    }

    .proof-grid,
    .assistant-grid,
    .pricing-grid {
        gap: 32px;
    }

    .steps {
        gap: 24px;
    }

    .steps h3,
    .capabilities h3 {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        flex-wrap: wrap;
        min-height: 80px;
        gap: 8px 12px;
        padding-block: 14px;
    }

    .brand {
        font-size: 25px;
    }

    .navigation {
        gap: 8px;
        margin-left: auto;
        font-size: 12px;
    }

    .languages {
        gap: 0;
    }

    .hero-eyebrow {
        padding-block: 14px;
    }

    .hero h1 {
        font-size: clamp(41px, 8.5vw, 54px);
        letter-spacing: -0.045em;
    }

    .hero-bottom {
        gap: 22px;
        margin-top: 23px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .examples {
        padding-top: 31px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 20px;
    }

    .section-heading h2 {
        flex-basis: 100%;
    }

    .profile-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work,
    .review-brief,
    .steps,
    .capabilities,
    .proof-grid,
    .assistant-grid,
    .pricing-grid,
    .faq,
    .closing > .wrap,
    .site-footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .work {
        gap: 25px;
    }

    .brief {
        padding: 0 0 22px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .brief-text {
        margin-top: 9px;
    }

    .process {
        margin-top: 14px;
        padding-top: 0;
        border-top: 0;
    }

    .prose {
        font-size: 22px;
        line-height: 1.65;
    }

    .review-brief {
        gap: 14px;
        margin-top: 25px;
        padding: 22px;
    }

    .section-intro {
        margin-bottom: 28px;
    }

    .section-intro p {
        font-size: 17px;
    }

    .step-number {
        margin-bottom: 13px;
    }

    .steps h3,
    .capabilities h3 {
        font-size: 23px;
    }

    .chat-message {
        font-size: 17px;
    }

    .published-text {
        padding: 23px;
    }

    .published-text blockquote {
        font-size: 21px;
    }

    .pricing-status {
        padding: 24px;
    }

    .budget {
        padding-block: 0;
    }

    .closing > .wrap > div,
    .founder {
        justify-self: start;
    }

    .site-footer {
        gap: 18px;
    }

    .copyright {
        grid-column: auto;
    }
}

@media (max-width: 380px) {
    .site-header__inner {
        gap: 0 12px;
    }

    .navigation {
        justify-content: flex-end;
        flex: 1 1 auto;
    }

    .hero h1 {
        font-size: 41px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
