:root {
    --page-bg: #f4f1ec;
    --box-bg: #fffdf9;
    --panel-bg: #fbf9f5;
    --ink: #20252a;
    --ink-soft: #56616a;
    --muted: #7d858a;
    --line: #e7e3dc;
    --brand: #ec7d15;
    --brand-dark: #c95b0a;
    --brand-ink: #a94f0b;
    --brand-soft: #fff0dc;
    --dark: #24292e;
    --dark-soft: #30363b;
    --success: #4c9a67;
}

.home-page {
    background: var(--page-bg);
    color: var(--ink);
}

.home-page main {
    width: 100%;
}

.home-page #flash-wrap {
    max-width: 1460px;
    padding: 0 28px;
}

.home-shell {
    width: min(1460px, calc(100% - 32px));
    margin: 16px auto 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--box-bg);
    box-shadow: 0 1px 0 rgba(255,255,255,.8), 0 32px 80px -28px rgba(37, 32, 26, .26);
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.home-brand img {
    width: 116px;
    height: auto;
}

.home-brand-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.home-nav-link,
.home-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-nav-link {
    color: var(--ink-soft);
}

.home-nav-link:hover {
    background: var(--panel-bg);
    color: var(--ink);
}

.home-nav-button {
    margin-left: 4px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 5px 15px -8px rgba(201,91,10,.9);
}

.home-nav-button:hover,
.home-btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
    padding: clamp(58px, 8vw, 104px) clamp(28px, 6vw, 84px) clamp(64px, 8vw, 104px);
}

.home-eyebrow,
.home-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    box-shadow: inset 0 0 0 1px rgba(236,125,21,.18);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
}

.home-eyebrow::before,
.home-section-eyebrow::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    content: "";
}

.home-hero h1 {
    max-width: 650px;
    margin: 22px 0 18px;
    color: var(--ink);
    font-size: clamp(40px, 4.6vw, 64px);
    font-weight: 700;
    letter-spacing: -.048em;
    line-height: 1.01;
}

.home-title-main,
.home-title-accent {
    display: block;
}

.home-hero h1 .home-title-main,
.home-hero h1 .home-title-main .home-title-tail {
    color: var(--ink);
}

.home-hero h1 .home-title-accent,
.home-hero h1 .home-title-accent .home-title-tail {
    color: var(--brand);
}

.home-title-accent {
    margin-top: .08em;
}

.home-hero-lead {
    max-width: 650px;
    color: var(--ink-soft);
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.65;
}

.home-hero-lead strong {
    color: var(--ink);
    font-weight: 800;
}

.home-hero-cta {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 21px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px -14px rgba(201,91,10,.95);
}

.home-btn-secondary {
    background: var(--box-bg);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line), 0 3px 8px -7px rgba(32,37,42,.5);
}

.home-btn-secondary:hover {
    background: var(--panel-bg);
    box-shadow: inset 0 0 0 1px #d9d4cc;
}

.home-arrow {
    font-size: 17px;
    line-height: 1;
}

.home-hero-note {
    margin-top: 15px;
    color: var(--muted);
    font-size: 12.5px;
}

.home-hero-art {
    position: relative;
    min-width: 0;
}

.home-hero-art::before {
    position: absolute;
    z-index: 0;
    top: 8%;
    right: -6%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: rgba(236,125,21,.16);
    content: "";
    filter: blur(42px);
}

.home-art-window {
    position: relative;
    z-index: 1;
    padding: 14px 14px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #f7f6f2;
    box-shadow: 0 28px 52px -28px rgba(32,37,42,.38);
}

.home-art-top {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 4px 10px;
}

.home-art-top i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d7d1;
}

.home-art-top i:first-child { background: #e7a56c; }
.home-art-top i:nth-child(2) { background: #e5c577; }
.home-art-top i:nth-child(3) { background: #9abf9a; }

.home-art-top span {
    margin-left: auto;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.home-art-window img {
    width: 100%;
    height: auto;
    border-radius: 13px 13px 0 0;
    background: #fff;
}

.home-hero-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 13px 13px 0 0;
    background: var(--dark);
    object-fit: cover;
    object-position: center;
}

.home-video-player {
    position: relative;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    background: #fff;
    outline: none;
}

.home-video-stage {
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.home-video-player:focus-visible {
    box-shadow: 0 0 0 3px rgba(236,125,21,.34);
}

.home-video-center {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 68px;
    height: 68px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: rgba(236,125,21,.94);
    color: #fff;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 18px 42px rgba(32,37,42,.25);
    transform: translate(-50%, -50%);
    transition: opacity .18s ease, transform .18s ease;
}

.home-video-player.is-playing .home-video-center {
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.86);
}

.home-video-center svg {
    width: 29px;
    height: 29px;
    margin-left: 3px;
    fill: currentColor;
}

.home-video-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 7px 12px;
    background: var(--dark);
    color: #fff;
    opacity: 1;
    transform: translateY(0);
}

.home-video-control {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
}

.home-video-control:hover,
.home-video-control:focus-visible {
    background: var(--brand);
    outline: none;
}

.home-video-control svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.home-video-control svg[hidden] {
    display: none !important;
}

.home-video-progress {
    --video-progress: 0%;
    width: 100%;
    min-width: 60px;
    height: 4px;
    margin: 0;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(to right, var(--brand) var(--video-progress), rgba(255,255,255,.38) var(--video-progress));
    cursor: pointer;
}

.home-video-progress::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
    appearance: none;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 2px 7px rgba(0,0,0,.28);
}

.home-video-progress::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--brand);
}

.home-video-time {
    flex: 0 0 auto;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}

.home-section {
    padding: 0 28px 28px;
}

.home-panel {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--box-bg);
}

.home-panel-soft {
    background: var(--panel-bg);
}

.home-section-heading {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.home-section-heading h2,
.home-split h2,
.home-dark-copy h2,
.home-final-copy h2 {
    margin: 14px 0 0;
    color: var(--ink);
    font-size: clamp(27px, 3.3vw, 42px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.home-section-heading p,
.home-split-copy p,
.home-dark-copy > p {
    margin: 12px auto 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.home-section-heading p {
    max-width: 620px;
}

.home-quote {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.home-quote-avatar {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--line), 0 8px 18px -12px rgba(32,37,42,.45);
}

.home-quote-copy {
    flex: 1 1 360px;
}

.home-quote-copy p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.home-quote-who {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.home-quote-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}

.home-stars {
    color: var(--brand);
    font-size: 14px;
    letter-spacing: .15em;
    white-space: nowrap;
}

.home-text-link {
    color: var(--brand-ink);
    font-size: 12px;
    font-weight: 800;
}

.home-text-link:hover { text-decoration: underline; }

.home-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-step {
    min-height: 196px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.home-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8a74b, var(--brand));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 7px 15px -11px rgba(201,91,10,.9);
}

.home-step h3 {
    margin: 17px 0 7px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.home-step p {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6;
}

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
}

.home-split-copy h2 {
    max-width: 600px;
}

.home-split-copy p {
    max-width: 570px;
}

.home-check-list {
    display: grid;
    gap: 9px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.home-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

.home-check-list li::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-ink);
    content: "✓";
    font-size: 11px;
    font-weight: 900;
}

.home-split-visual {
    position: relative;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 38px -28px rgba(32,37,42,.38);
}

.home-split-visual::before {
    position: absolute;
    right: -15%;
    bottom: -28%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--brand-soft);
    content: "";
}

.home-split-visual img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-feature-card {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.home-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-size: 20px;
}

.home-feature-card h3 {
    margin: 16px 0 7px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
}

.home-feature-card p {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6;
}

.home-dark-panel {
    position: relative;
    overflow: hidden;
    border-color: #30363b;
    background: var(--dark);
    color: #fff;
}

.home-dark-panel::before {
    position: absolute;
    top: -170px;
    right: -100px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(236,125,21,.13);
    content: "";
    filter: blur(4px);
}

.home-dark-panel > * {
    position: relative;
    z-index: 1;
}

.home-dark-copy h2 {
    max-width: 850px;
    color: #fff;
}

.home-dark-copy > p {
    max-width: 760px;
    margin-left: 0;
    color: #b6bdc2;
}

.home-dark-copy .home-section-eyebrow {
    background: rgba(236,125,21,.13);
    color: #ffc083;
    box-shadow: inset 0 0 0 1px rgba(236,125,21,.2);
}

.home-dark-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-top: 32px;
}

.home-dark-card {
    min-height: 184px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    text-decoration: none;
    color: inherit;
    transition: background .2s ease, border-color .2s ease;
}

a.home-dark-card:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.18);
}

.home-dark-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(236,125,21,.16);
    color: #ffb46e;
    font-size: 16px;
}

.home-dark-card h3 {
    margin: 17px 0 7px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.home-dark-card p {
    color: #aeb7bc;
    font-size: 13px;
    line-height: 1.55;
}

.home-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 840px;
    margin: 30px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    background: rgba(0,0,0,.1);
}

.home-stat {
    padding: 17px 12px;
    text-align: center;
}

.home-stat + .home-stat { border-left: 1px solid rgba(255,255,255,.1); }

.home-stat strong {
    display: block;
    color: #ffb46e;
    font-size: 24px;
    letter-spacing: -.03em;
}

.home-stat span {
    display: block;
    margin-top: 2px;
    color: #aeb7bc;
    font-size: 12px;
}

.home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 930px;
    margin: 0 auto;
}

.home-price-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.home-price-card.is-featured {
    border-color: var(--brand);
    background: linear-gradient(150deg, #fffaf2, #fff 60%);
    box-shadow: 0 18px 32px -25px rgba(201,91,10,.65);
}

.home-price-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.home-price-for {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.home-price {
    margin: 21px 0 2px;
    color: var(--ink);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -.06em;
}

.home-price small {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}

.home-price-note {
    color: var(--brand-ink);
    font-size: 12px;
    font-weight: 800;
}

.home-price-list {
    display: grid;
    gap: 9px;
    margin: 23px 0 27px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.home-price-list li {
    display: flex;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.45;
}

.home-price-list li::before {
    color: var(--brand);
    content: "✓";
    font-weight: 900;
}

.home-price-card .home-btn { width: 100%; }

.home-price-foot {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.home-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-review {
    display: flex;
    flex-direction: column;
    min-height: 255px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel-bg);
}

.home-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-review-tag {
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0eeea;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.home-review > p {
    margin: 19px 0 25px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

.home-review-who {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.home-review-who img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.home-review-who strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
}

.home-review-who span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.home-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    max-width: 1100px;
    margin: 0 auto;
}

.home-faq details {
    padding: 17px 19px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.home-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    list-style: none;
}

.home-faq summary::-webkit-details-marker { display: none; }

.home-faq summary::after {
    color: var(--brand);
    content: "+";
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.home-faq details[open] summary::after { content: "−"; }

.home-faq details p {
    margin: 12px 30px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.65;
}

.home-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-resource {
    display: block;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-resource:hover {
    border-color: #e6b27e;
    box-shadow: 0 12px 26px -20px rgba(201,91,10,.6);
    transform: translateY(-2px);
}

.home-resource-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-size: 17px;
}

.home-resource h3 {
    margin: 14px 0 6px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.home-resource p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.55;
}

.home-resource p .home-text-link {
    font-weight: 600;
}

.home-final-cta {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 30px;
    overflow: hidden;
    border-color: #30363b;
    background: var(--dark);
}

.home-final-visual {
    min-height: 250px;
    display: grid;
    place-items: center;
    align-self: stretch;
    padding: 28px;
    background: radial-gradient(circle at 50% 45%, rgba(236,125,21,.25), transparent 54%);
}

.home-final-visual img {
    width: min(100%, 340px);
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(0,0,0,.35));
}

.home-final-copy {
    padding: 42px clamp(10px, 4vw, 54px) 42px 0;
}

.home-final-copy h2 { color: #fff; }

.home-final-copy h2 span { color: #ffb46e; }

.home-final-copy p {
    max-width: 520px;
    margin: 13px 0 0;
    color: #b6bdc2;
    font-size: 15px;
    line-height: 1.65;
}

.home-final-copy .home-hero-cta { margin-top: 25px; }

.home-final-copy .home-btn-secondary {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1px #596166;
}

.home-final-copy .home-btn-secondary:hover { background: #30363b; }

.home-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding: 30px 28px 34px;
    border-top: 1px solid var(--line);
    background: rgba(251,249,245,.72);
}

.home-footer-brand img { width: 100px; }

.home-footer-brand p {
    max-width: 390px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.home-footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 10px 18px;
    flex-wrap: wrap;
    max-width: 760px;
}

.home-footer-links a,
.home-footer-links button,
.home-footer-copy {
    color: var(--muted);
    font: inherit;
    font-size: 11.5px;
}

.home-footer-links a:hover,
.home-footer-links button:hover { color: var(--brand-ink); }

.home-footer-links button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.home-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-footer-social img {
    width: 18px;
    height: 18px;
    opacity: .68;
}

/* Upload modal: the action stays the same, but its visual language matches the new shell. */
#upload-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
}

#upload-modal.hidden { display: none; }

#modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(32,37,42,.56);
    backdrop-filter: blur(6px);
}

.home-modal-viewport {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 16px;
}

#modal-card {
    position: relative;
    width: min(720px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 22px;
    background: var(--box-bg);
    box-shadow: 0 32px 80px -28px rgba(0,0,0,.45);
    transform: scale(.96);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

#modal-card.modal-open {
    transform: scale(1);
    opacity: 1;
}

.home-modal-inner { padding: 30px; }

.home-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font-size: 20px;
}

.home-modal-close:hover { color: var(--ink); }

.home-modal-head {
    padding-right: 36px;
}

.home-modal-head h3 {
    margin: 0;
    color: var(--ink);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.home-modal-head p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13.5px;
}

.home-modal-form { margin-top: 25px; }

.home-drop-zone {
    padding: 30px 22px;
    border: 2px dashed #d8d3ca;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.home-drop-zone:hover,
.home-drop-zone.is-dragging {
    border-color: var(--brand);
    background: #fffaf4;
}

.home-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-size: 23px;
}

.home-drop-zone p { margin: 13px 0 0; color: var(--ink-soft); font-size: 13.5px; }
.home-drop-zone p strong { color: var(--brand-ink); }
.home-drop-zone small { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; }

.home-file-preview {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-size: 12px;
    font-weight: 700;
}

.home-file-preview button {
    border: 0;
    background: transparent;
    color: var(--brand-ink);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.home-form-field { margin-top: 18px; }

.home-form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.home-form-field input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

.home-form-field input[type="text"]:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(236,125,21,.14);
}

.home-submit {
    width: 100%;
    margin-top: 21px;
}

.home-submit:disabled { cursor: not-allowed; opacity: .42; transform: none; }

.home-modal-foot {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11.5px;
    text-align: center;
}

#loading-overlay {
    position: absolute;
    inset: 0;
    overflow: auto;
    border-radius: 22px;
    background: var(--box-bg);
}

#loading-overlay.hidden { display: none; }

.home-loading {
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
    padding: 34px;
    text-align: center;
}

.home-loading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-soft);
    font-size: 30px;
}

.home-loading h3 { margin: 20px 0 5px; color: var(--ink); font-size: 20px; }
.home-loading > p { margin: 0; color: var(--muted); font-size: 13px; }

.home-progress {
    width: min(100%, 360px);
    height: 6px;
    margin: 22px auto;
    overflow: hidden;
    border-radius: 999px;
    background: #ede9e2;
}

#progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f5ac58, var(--brand));
    transition: width .7s ease;
}

.home-loading-steps {
    display: grid;
    gap: 9px;
    width: min(100%, 300px);
    margin: 0 auto 22px;
    text-align: left;
}

.home-loading-step {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
}

.home-loading-step > div {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ece8e1;
    color: #9a9b99;
    font-size: 11px;
    font-weight: 800;
}

.home-loading-tip {
    width: min(100%, 380px);
    margin: 0 auto;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-bg);
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.5;
}

.home-loading-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 1050px) {
    .home-hero { gap: 40px; }
    .home-dark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .home-nav { align-items: flex-start; }
    .home-nav-links { gap: 3px; }
    .home-nav-link { padding-inline: 10px; }
    .home-nav-links .home-nav-link:nth-child(2) { display: none; }
    .home-hero,
    .home-split,
    .home-final-cta { grid-template-columns: 1fr; }
    .home-hero {
        padding-top: 50px;
        text-align: center;
    }
    .home-hero > div:first-child { display: flex; flex-direction: column; align-items: center; }
    .home-eyebrow { margin-inline: auto; }
    .home-hero h1,
    .home-hero-lead { margin-left: auto; margin-right: auto; }
    .home-hero-cta { justify-content: center; }
    .home-hero-note { text-align: center; }
    .home-hero-art { width: 100%; max-width: 700px; margin: 0 auto; }
    .home-hero-video { height: auto; }
    .home-split-visual { order: -1; }
    .home-final-copy { padding: 0 28px 42px; text-align: center; }
    .home-final-copy p { margin-inline: auto; }
    .home-final-copy .home-hero-cta { justify-content: center; }
    .home-final-visual { min-height: 220px; }
    .home-reviews { grid-template-columns: 1fr; }
    .home-review { min-height: unset; }
}

@media (max-width: 640px) {
    .home-page #flash-wrap { padding-inline: 16px; }
    .home-shell { width: calc(100% - 16px); margin-top: 8px; border-radius: 20px; }
    .home-nav { padding: 14px 16px; }
    .home-brand-label { display: none; }
    .home-brand img { width: 102px; }
    .home-nav-links .home-nav-link { display: none; }
    .home-nav-button { min-height: 35px; padding: 7px 12px; font-size: 11px; }
    .home-hero { gap: 34px; padding: 38px 18px 46px; }
    .home-hero h1 {
        max-width: 360px;
        margin-top: 18px;
        margin-bottom: 16px;
        font-size: clamp(34px, 10vw, 42px);
        letter-spacing: -.04em;
        line-height: 1.04;
    }
    .home-title-tail { display: block; }
    .home-title-accent { margin-top: .12em; }
    .home-hero-lead { max-width: 520px; font-size: 15px; line-height: 1.6; }
    .home-hero-cta { align-items: stretch; flex-direction: column; }
    .home-btn { width: 100%; }
    .home-hero-note { text-align: center; }
    .home-section { padding: 0 12px 12px; }
    .home-panel { padding: 25px 18px; border-radius: 17px; }
    .home-quote-side { width: 100%; margin-left: 0; flex-direction: row; justify-content: space-between; }
    .home-steps,
    .home-feature-grid,
    .home-pricing-grid,
    .home-faq,
    .home-resource-grid { grid-template-columns: 1fr; }
    .home-step { min-height: unset; }
    .home-dark-grid { grid-template-columns: 1fr; }
    .home-stat-row { grid-template-columns: 1fr; }
    .home-stat + .home-stat { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
    .home-footer { padding: 24px 18px 28px; }
    .home-footer-links { justify-content: flex-start; }
    #modal-card { width: calc(100% - 20px); max-height: calc(100vh - 20px); }
    .home-modal-inner { padding: 23px 18px; }
    .home-loading { min-height: 440px; padding: 25px 18px; }
    .home-loading-foot { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
