:root {
    --bg: #080c12;
    --chrome: #0f1622;
    --chrome-2: #131d2b;
    --panel: #ffffff;
    --panel-soft: #f5f7fb;
    --ink: #101722;
    --muted: #64748b;
    --line: #d6dee9;
    --line-dark: #263244;
    --orange: #ff7a1a;
    --orange-2: #ff9b36;
    --cyan: #38bdf8;
    --green: #22c55e;
    --violet: #a78bfa;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--panel-soft);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

h1 {
    color: #ffffff;
    font-size: clamp(52px, 8.4vw, 124px);
    line-height: 0.86;
    font-weight: 950;
}

h2 {
    font-size: clamp(31px, 4.5vw, 58px);
    line-height: 1;
    font-weight: 900;
}

h3 {
    font-size: 21px;
    line-height: 1.16;
    font-weight: 850;
}

.site-nav {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px 4vw;
    color: #ffffff;
    background: rgba(8, 12, 18, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 950;
}

.brand img {
    border-radius: 10px;
}

.site-nav nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 750;
}

.site-nav nav a,
.nav-cta,
.language-switch a {
    text-decoration: none;
}

.site-nav nav a:hover {
    color: #ffffff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    color: #111827;
    background: var(--orange);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 30px;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
}

.language-switch a.active {
    color: #111827;
    background: #ffffff;
}

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 82svh;
    padding: 98px 4vw 34px;
    background: #090d14 url("/assets/iron-kdp-v2-home-wide.png") center top / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 12, 18, 0.96) 0%, rgba(8, 12, 18, 0.82) 38%, rgba(8, 12, 18, 0.34) 100%),
        linear-gradient(0deg, rgba(8, 12, 18, 0.98) 0%, rgba(8, 12, 18, 0.1) 48%, rgba(8, 12, 18, 0.86) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--orange-2);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-lead {
    width: min(760px, 100%);
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-weight: 900;
    text-align: center;
    white-space: normal;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #111827;
    background: var(--orange);
}

.button.primary:hover {
    background: var(--orange-2);
}

.button.ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
}

.button.dark {
    color: #ffffff;
    background: #111827;
    border-color: #111827;
}

.button.wide {
    width: 100%;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(980px, 100%);
    margin-top: 32px;
}

.hero-metrics div {
    min-height: 82px;
    padding: 16px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: rgba(12, 18, 28, 0.72);
    backdrop-filter: blur(14px);
}

.hero-metrics strong {
    display: block;
    font-size: 22px;
}

.hero-metrics span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.showcase,
.editor-story,
.capabilities,
.kdp-band,
.ai-section,
.beta,
.download,
.pricing,
.faq {
    padding: 92px 4vw;
}

.section-heading {
    width: min(920px, 100%);
    margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
    margin-top: 16px;
    color: var(--muted);
    font-size: 18px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.showcase {
    background: #0b1017;
    color: #ffffff;
}

.showcase .section-heading p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.68);
}

.screen-shell {
    width: min(1320px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #111827;
    box-shadow: var(--shadow);
}

.screen-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #475569;
}

.screen-toolbar span:nth-child(2) {
    background: var(--orange);
}

.screen-toolbar span:nth-child(3) {
    background: var(--green);
}

.screen-toolbar b {
    margin-left: 8px;
    font-size: 13px;
}

.editor-story {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 40px;
    align-items: center;
    background: var(--panel-soft);
}

.editor-copy {
    max-width: 720px;
}

.editor-copy > p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
}

.editor-screen {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #0b1017;
    box-shadow: var(--shadow);
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.mini-grid article {
    min-height: 126px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.mini-grid strong,
.mini-grid span {
    display: block;
}

.mini-grid span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.capabilities {
    background: #ffffff;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.capability-grid article {
    min-height: 245px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

.capability-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 28px;
    color: #111827;
    background: #fff1e6;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 950;
}

.capability-grid p {
    margin-top: 12px;
    color: var(--muted);
}

.kdp-band {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(400px, 1fr);
    gap: 40px;
    align-items: start;
    color: #ffffff;
    background: #111827;
}

.kdp-band h2 {
    max-width: 720px;
}

.kdp-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kdp-checks p {
    min-height: 142px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: #172033;
}

.kdp-checks b,
.kdp-checks span {
    display: block;
}

.kdp-checks b {
    font-size: 20px;
}

.kdp-checks span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.68);
}

.ai-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
    gap: 18px;
    background: #f8fafc;
}

.ai-card,
.ai-list div,
.beta-form,
.price-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.ai-card {
    padding: 32px;
}

.ai-card p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
}

.ai-list {
    display: grid;
    gap: 14px;
}

.ai-list div {
    display: grid;
    gap: 8px;
    padding: 24px;
}

.ai-list strong {
    font-size: 20px;
}

.ai-list span {
    color: var(--muted);
}

.beta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 450px);
    gap: 50px;
    align-items: start;
    background: #ffffff;
}

.beta-copy {
    max-width: 760px;
}

.beta-copy > p:not(.eyebrow) {
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding: 0;
    margin: 28px 0 0;
    color: var(--muted);
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    content: "✓";
    font-weight: 950;
}

.beta-form {
    display: grid;
    gap: 16px;
    padding: 26px;
    box-shadow: 0 18px 48px rgba(17, 24, 32, 0.08);
}

.beta-form label {
    display: grid;
    gap: 8px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 850;
}

.beta-form input,
.beta-form textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    border: 1px solid #c7d2df;
    border-radius: 10px;
    background: #fbfcfd;
    font: inherit;
}

.beta-form input:focus,
.beta-form textarea:focus {
    outline: 3px solid rgba(255, 122, 26, 0.2);
    border-color: var(--orange);
}

.hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-status {
    min-height: 22px;
    color: var(--muted);
    font-size: 14px;
}

.form-status.success {
    color: #15803d;
}

.form-status.error {
    color: #b42318;
}

.download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: #f3f6fb;
}

.download div {
    max-width: 780px;
}

.download p:not(.eyebrow) {
    margin-top: 12px;
    color: var(--muted);
}

.pricing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
    gap: 44px;
    align-items: center;
    color: #ffffff;
    background: #0b1017;
}

.pricing-copy {
    max-width: 720px;
}

.pricing p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.price-card {
    padding: 30px;
    color: var(--ink);
}

.price-card span {
    display: block;
    color: var(--muted);
    font-weight: 950;
}

.price-card strong {
    display: block;
    margin: 8px 0 12px;
    font-size: clamp(48px, 6vw, 64px);
    line-height: 1;
}

.price-card p {
    margin: 0 0 22px;
    color: var(--muted);
}

.faq {
    background: #ffffff;
}

details {
    width: min(920px, 100%);
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

details:last-child {
    border-bottom: 1px solid var(--line);
}

summary {
    cursor: pointer;
    font-weight: 900;
}

details p {
    margin-top: 10px;
    color: var(--muted);
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 4vw;
    color: rgba(255, 255, 255, 0.74);
    background: #080c12;
}

footer div {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer img {
    border-radius: 8px;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

@media (max-width: 1080px) {
    .site-nav nav {
        display: none;
    }

    .site-nav {
        justify-content: space-between;
    }

    .editor-story,
    .kdp-band,
    .ai-section,
    .beta,
    .pricing {
        grid-template-columns: 1fr;
    }

    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    h1 {
        font-size: clamp(40px, 12.5vw, 48px);
        line-height: 0.92;
    }

    .hero {
        min-height: 90svh;
        display: block;
        padding: 96px 24px 36px;
        background-position: center top;
    }

    .hero-content {
        width: min(100%, 330px);
        max-width: 330px;
    }

    .hero-lead {
        width: 100%;
        max-width: 330px;
        overflow-wrap: break-word;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 330px;
    }

    .hero-actions .button {
        width: 100%;
        max-width: 100%;
    }

    .hero-metrics,
    .mini-grid,
    .capability-grid,
    .kdp-checks,
    .check-list {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        width: 100%;
        max-width: 330px;
    }

    .showcase,
    .editor-story,
    .capabilities,
    .kdp-band,
    .ai-section,
    .beta,
    .download,
    .pricing,
    .faq {
        padding: 62px 5vw;
    }

    .download,
    footer {
        display: grid;
    }

    .screen-shell,
    .editor-screen {
        border-radius: 12px;
    }

    .nav-cta {
        display: none;
    }

    .language-switch {
        margin-left: auto;
    }
}
