:root {
    --paper: #F4EFE4;
    --paper-deep: #EAE3D3;
    --receipt: #FFFDF7;
    --ink: #1D1B16;
    --ink-soft: #4A463D;
    --muted: #7A7466;
    --line: #D9D0BC;
    --red: #D93A26;
    --red-deep: #B42C1B;
    --yellow: #F5C842;
    --green: #2F7A4B;

    --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
    --mono: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", "Liberation Mono", monospace;

    --radius: 14px;
    --container: 1120px;
    --header-h: 68px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: .28;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
    color: inherit;
}

h1, h2, h3, h4, p, ul, ol, figure {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.mono {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 16px;
    top: 12px;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    padding: 6px 12px;
    border-radius: 6px;
}

/* ---------- Logo ---------- */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: .04em;
    color: var(--ink);
}

.logo-mark {
    width: 34px;
    height: 34px;
    flex: none;
    transform: rotate(-8deg);
    transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}

.logo:hover .logo-mark {
    transform: rotate(4deg) translateY(2px);
}

.logo-accent {
    color: var(--red);
}

/* ---------- Header ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: rgba(244, 239, 228, .88);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px dashed transparent;
    transition: border-color .25s;
}

.header.is-scrolled {
    border-bottom-color: var(--line);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-links a {
    display: block;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    color: var(--ink-soft);
    transition: background .2s, color .2s;
}

.nav-links a:hover {
    background: var(--paper-deep);
    color: var(--ink);
}

.nav-cta {
    flex: none;
}

.menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.menu-btn span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}

.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 25px; }

.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
    display: none;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
    box-shadow: 3px 3px 0 var(--red);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--red);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* ---------- Hero ---------- */

.hero {
    padding: 72px 0 96px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .08em;
    color: var(--ink-soft);
    padding: 6px 14px 6px 10px;
    border: 1px dashed var(--ink-soft);
    border-radius: 999px;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(217, 58, 38, .18);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 7px rgba(217, 58, 38, 0); }
}

.hero h1 {
    margin-top: 26px;
    font-size: clamp(44px, 6.6vw, 84px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.02em;
}

.marker {
    background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%);
    padding: 0 .06em;
}

.hero-sub {
    margin-top: 26px;
    max-width: 34em;
    font-size: 18px;
    color: var(--ink-soft);
}

.hero-sub strong {
    color: var(--ink);
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-meta {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
}

.hero-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta li::before {
    content: "";
    width: 14px;
    height: 0;
    border-top: 2px solid var(--red);
}

/* ---------- Receipt ---------- */

.receipt-wrap {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 380px;
    filter: drop-shadow(0 18px 28px rgba(60, 45, 20, .16)) drop-shadow(0 2px 3px rgba(60, 45, 20, .12));
    animation: receipt-in .9s cubic-bezier(.2, .9, .3, 1.1) .15s both;
}

@keyframes receipt-in {
    from { opacity: 0; transform: translateY(40px) rotate(4deg); }
    to { opacity: 1; transform: translateY(0) rotate(-2.5deg); }
}

.receipt-wrap {
    transform: rotate(-2.5deg);
}

.receipt {
    position: relative;
    background: var(--receipt);
    padding: 28px 26px 30px;
    font-family: var(--mono);
    font-size: 13.5px;
    color: var(--ink);
}

.receipt::before,
.receipt::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 9px;
    background: conic-gradient(from -45deg at bottom, var(--receipt) 90deg, transparent 0) 0 0 / 18px 100% repeat-x;
}

.receipt::before {
    top: -9px;
    transform: scaleY(-1);
}

.receipt::after {
    bottom: -9px;
}

.receipt-head {
    text-align: center;
    padding-bottom: 14px;
}

.receipt-head b {
    display: block;
    font-family: var(--sans);
    font-size: 18px;
    letter-spacing: .3em;
}

.receipt-head span {
    font-size: 11.5px;
    letter-spacing: .16em;
    color: var(--muted);
}

.receipt hr {
    border: 0;
    border-top: 1.5px dashed #BDB29B;
    margin: 12px 0;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 3px 0;
}

.receipt-row > span:first-child {
    color: var(--muted);
    flex: none;
}

.receipt-row > span:last-child {
    text-align: right;
}

.price-was {
    position: relative;
    color: var(--muted);
}

.price-was::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: 52%;
    height: 2px;
    background: var(--red);
    transform-origin: left center;
    transform: scaleX(0);
    animation: strike .5s ease-out 1.1s forwards;
}

@keyframes strike {
    to { transform: scaleX(1); }
}

.price-minus {
    color: var(--red);
}

.receipt-total {
    align-items: center;
    padding: 6px 0;
}

.receipt-total > span:first-child {
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 700;
}

.price-now {
    font-size: 30px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -.02em;
    opacity: 0;
    animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) 1.5s forwards;
}

.price-now small {
    font-size: 16px;
    margin-right: 2px;
}

@keyframes pop {
    from { opacity: 0; transform: translateY(8px) scale(.9); }
    to { opacity: 1; transform: none; }
}

.receipt-btn {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border: 1.5px solid var(--ink);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
}

.receipt-barcode {
    margin-top: 18px;
    height: 34px;
    background: repeating-linear-gradient(90deg,
        var(--ink) 0 2px, transparent 2px 4px,
        var(--ink) 4px 5px, transparent 5px 8px,
        var(--ink) 8px 11px, transparent 11px 12px,
        var(--ink) 12px 13px, transparent 13px 16px);
    opacity: .85;
}

.receipt-foot {
    margin-top: 8px;
    text-align: center;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--muted);
}

.stamp {
    position: absolute;
    top: -26px;
    right: -30px;
    width: 92px;
    height: 92px;
    border: 3px double var(--red);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--red);
    font-family: var(--sans);
    font-weight: 800;
    line-height: 1.15;
    transform: rotate(14deg);
    opacity: .82;
    animation: stamp .35s cubic-bezier(.3, 1.4, .6, 1) 1.9s both;
}

.stamp b {
    display: block;
    font-size: 24px;
    letter-spacing: .1em;
}

.stamp span {
    display: block;
    font-size: 10px;
    letter-spacing: .04em;
}

@keyframes stamp {
    from { opacity: 0; transform: rotate(14deg) scale(1.8); }
    to { opacity: .82; transform: rotate(14deg) scale(1); }
}

.hang-tag {
    position: absolute;
    left: -46px;
    bottom: 64px;
    width: 96px;
    transform-origin: 88% 50%;
    animation: swing 4s ease-in-out 2.2s infinite;
}

@keyframes swing {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(-4deg); }
}

/* ---------- Section common ---------- */

.section {
    padding: 104px 0;
    position: relative;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-label {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .16em;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: "";
    width: 28px;
    border-top: 2px solid currentColor;
}

.section-head h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.01em;
}

.section-head p {
    margin-top: 16px;
    font-size: 17px;
    color: var(--ink-soft);
}

.perforation {
    height: 0;
    border-top: 2px dashed var(--line);
    position: relative;
}

.perforation::before,
.perforation::after {
    content: "";
    position: absolute;
    top: -13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--paper-deep);
}

.perforation::before { left: -12px; }
.perforation::after { right: -12px; }

/* ---------- Why ---------- */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1.5px solid var(--ink);
}

.why-item {
    padding: 34px 30px 10px 0;
    position: relative;
}

.why-item + .why-item {
    padding-left: 30px;
    border-left: 1px dashed var(--line);
}

.why-num {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
}

.why-word {
    display: block;
    margin: 10px 0 14px;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    color: var(--red);
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.why-item p {
    color: var(--ink-soft);
    font-size: 15.5px;
}

/* ---------- Record fields ---------- */

.record {
    background: var(--paper-deep);
}

.record-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.record .section-head {
    margin-bottom: 32px;
}

.rule-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px dashed #C9BFA8;
    color: var(--ink-soft);
    font-size: 15.5px;
}

.rule-list li:last-child {
    border-bottom: 1px dashed #C9BFA8;
}

.rule-list b {
    color: var(--ink);
}

.rule-list .tick {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    display: grid;
    place-items: center;
}

.rule-list .tick svg {
    width: 12px;
    height: 12px;
}

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

.field {
    position: relative;
    background: var(--receipt);
    border-radius: 6px 12px 12px 6px;
    padding: 16px 18px 16px 34px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 6px 14px -8px rgba(60, 45, 20, .25);
    transition: transform .25s, box-shadow .25s;
}

.field::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--paper-deep);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
}

.field:hover {
    transform: translateY(-3px) rotate(-.6deg);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 14px 22px -10px rgba(60, 45, 20, .35);
}

.field b {
    display: block;
    font-size: 16px;
}

.field span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.field-key {
    background: var(--ink);
    color: var(--paper);
}

.field-key span {
    color: #BDB4A2;
}

.field-key::before {
    background: var(--ink-soft);
}

.field-key b {
    color: var(--yellow);
}

/* ---------- How ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 28px 32px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius);
    background: var(--receipt);
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -29px;
    width: 28px;
    border-top: 2px dashed var(--ink);
}

.step-num {
    font-family: var(--mono);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
}

.step h3 {
    margin: 20px 0 8px;
    font-size: 21px;
}

.step p {
    color: var(--ink-soft);
    font-size: 15.5px;
}

.step-example {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--paper);
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-soft);
}

.step-example .caret {
    width: 1.5px;
    height: 15px;
    background: var(--red);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ---------- Not ---------- */

.not {
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}

.not .section-label {
    color: var(--yellow);
}

.not .section-head p {
    color: #BDB4A2;
}

.not-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 56px;
}

.not-list li {
    padding: 26px 0;
    border-top: 1px dashed #4A463D;
}

.not-title {
    display: inline-block;
    position: relative;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .02em;
}

.not-title::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    top: 54%;
    height: 3px;
    background: var(--red);
    transform: scaleX(0) rotate(-2deg);
    transform-origin: left center;
    transition: transform .55s cubic-bezier(.6, 0, .3, 1);
}

.not-list li.is-in .not-title::after {
    transform: scaleX(1) rotate(-2deg);
}

.not-list p {
    margin-top: 8px;
    color: #BDB4A2;
    font-size: 15.5px;
}

.not-ghost {
    position: absolute;
    right: -40px;
    bottom: -70px;
    font-size: 260px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #2E2B24;
    pointer-events: none;
    user-select: none;
}

/* ---------- Progress ---------- */

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 11px;
    border-top: 2px dashed var(--line);
}

.tl-item {
    position: relative;
    padding-top: 40px;
}

.tl-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--paper);
    display: grid;
    place-items: center;
}

.tl-item.done .tl-dot {
    background: var(--ink);
    color: var(--paper);
}

.tl-item.done .tl-dot svg {
    width: 12px;
    height: 12px;
}

.tl-item.now .tl-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2.4s ease-in-out infinite;
}

.tl-when {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
}

.tl-item h3 {
    margin: 4px 0 6px;
    font-size: 17px;
    line-height: 1.5;
}

.tl-item p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.tl-item:not(.done) h3 {
    color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
}

.faq-list details {
    border-top: 1.5px solid var(--ink);
}

.faq-list details:last-child {
    border-bottom: 1.5px solid var(--ink);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    font-size: 18px;
    font-weight: 700;
}

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

.faq-list summary::after {
    content: "+";
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: transform .25s, background .25s, color .25s;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
    background: var(--ink);
    color: var(--paper);
}

.faq-list details p {
    padding: 0 48px 24px 0;
    color: var(--ink-soft);
    font-size: 15.5px;
}

/* ---------- Contact ---------- */

.contact {
    padding-top: 40px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 48px 56px;
    border-radius: 24px;
    background: var(--red);
    color: #FFF8F0;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 50%, var(--paper) 0 18px, transparent 19px),
        radial-gradient(circle at 100% 50%, var(--paper) 0 18px, transparent 19px);
    pointer-events: none;
}

.contact-card h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.3;
    font-weight: 800;
}

.contact-card p {
    margin-top: 12px;
    max-width: 30em;
    color: #FFE3D8;
}

.group-no {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .16);
}

.group-no span {
    font-size: 14px;
    color: #FFE3D8;
}

.group-no b {
    font-family: var(--mono);
    font-size: 20px;
    letter-spacing: .06em;
}

.copy-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: #FFF8F0;
    color: var(--red-deep);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s;
}

.copy-btn:hover {
    transform: scale(1.04);
}

.copy-btn.is-done {
    background: var(--yellow);
    color: var(--ink);
}

.qr {
    position: relative;
    background: #FFF;
    padding: 14px 14px 10px;
    border-radius: 16px;
    transform: rotate(3deg);
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35);
    text-align: center;
}

.qr img {
    width: 188px;
    height: 188px;
    border-radius: 6px;
}

.qr figcaption {
    margin-top: 6px;
    font-size: 13px;
    color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.footer {
    margin-top: 104px;
    padding: 56px 0 32px;
    border-top: 1.5px solid var(--ink);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-brand p {
    margin-top: 12px;
    max-width: 26em;
    font-size: 14px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 8px 28px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-links a {
    text-decoration: none;
    color: var(--ink-soft);
}

.footer-links a:hover {
    color: var(--red);
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px dashed var(--line);
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    line-height: 2;
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer-bottom .sep {
    margin: 0 10px;
    color: var(--line);
}

/* ---------- Legal pages ---------- */

.doc-page {
    padding: 64px 0 0;
}

.doc {
    max-width: 780px;
    margin: 0 auto;
    background: var(--receipt);
    border-radius: 4px;
    padding: 56px 64px 64px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 24px 40px -24px rgba(60, 45, 20, .3);
    position: relative;
}

.doc::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--red) 0 24px, var(--ink) 24px 48px);
    border-radius: 4px 4px 0 0;
}

.doc-kicker {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .14em;
    color: var(--red);
}

.doc h1 {
    margin-top: 10px;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.3;
    font-weight: 800;
}

.doc-meta {
    margin-top: 14px;
    padding-bottom: 24px;
    border-bottom: 1.5px dashed var(--line);
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
}

.doc h2 {
    margin: 40px 0 12px;
    font-size: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.doc h2 .n {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--red);
}

.doc p,
.doc li {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.9;
}

.doc p + p {
    margin-top: 10px;
}

.doc ul {
    margin: 10px 0;
}

.doc ul li {
    position: relative;
    padding-left: 20px;
}

.doc ul li + li {
    margin-top: 6px;
}

.doc ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .85em;
    width: 8px;
    border-top: 2px solid var(--red);
}

.doc strong {
    color: var(--ink);
}

.doc .lead {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 3px solid var(--red);
    background: var(--paper);
    border-radius: 0 8px 8px 0;
}

.doc-back {
    display: inline-flex;
    margin-top: 40px;
}

/* ---------- 404 ---------- */

.nf {
    min-height: calc(100vh - var(--header-h));
    display: grid;
    place-items: center;
    text-align: center;
    padding: 48px 0;
}

.nf-code {
    font-family: var(--mono);
    font-size: clamp(96px, 18vw, 180px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    position: relative;
    display: inline-block;
    color: var(--ink);
}

.nf-code::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    top: 52%;
    height: 8px;
    background: var(--red);
    transform: rotate(-4deg) scaleX(0);
    transform-origin: left;
    animation: nf-strike .6s cubic-bezier(.6, 0, .3, 1) .3s forwards;
}

@keyframes nf-strike {
    to { transform: rotate(-4deg) scaleX(1); }
}

.nf h1 {
    margin-top: 24px;
    font-size: 28px;
}

.nf p {
    margin-top: 8px;
    color: var(--ink-soft);
}

.nf .btn {
    margin-top: 32px;
}

/* ---------- Reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

.hero .reveal-load {
    animation: rise .8s cubic-bezier(.2, .8, .3, 1) both;
}

.hero .reveal-load:nth-child(2) { animation-delay: .08s; }
.hero .reveal-load:nth-child(3) { animation-delay: .16s; }
.hero .reveal-load:nth-child(4) { animation-delay: .24s; }
.hero .reveal-load:nth-child(5) { animation-delay: .32s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        z-index: 49;
        padding: 12px 24px 24px;
        background: var(--paper);
        border-bottom: 1.5px solid var(--ink);
        transform: translateY(-110%);
        visibility: hidden;
        transition: transform .3s cubic-bezier(.2, .8, .3, 1), visibility .3s;
    }

    .menu-open .mobile-nav {
        transform: none;
        visibility: visible;
    }

    .mobile-nav a {
        display: block;
        padding: 14px 4px;
        border-bottom: 1px dashed var(--line);
        text-decoration: none;
        font-size: 17px;
        font-weight: 600;
    }

    .hero {
        padding: 48px 0 80px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .receipt-wrap {
        max-width: 360px;
    }

    .record-inner,
    .faq-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .timeline::before {
        left: 11px;
        right: auto;
        top: 0;
        bottom: 0;
        border-top: 0;
        border-left: 2px dashed var(--line);
    }

    .tl-item {
        padding: 0 0 28px 44px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        text-align: center;
        justify-items: center;
    }

    .contact-card p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 80px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .why-grid,
    .steps,
    .not-list {
        grid-template-columns: 1fr;
    }

    .why-item,
    .why-item + .why-item {
        padding: 28px 0;
        border-left: 0;
    }

    .why-item + .why-item {
        border-top: 1px dashed var(--line);
    }

    .step:not(:last-child)::after {
        top: auto;
        bottom: -29px;
        right: auto;
        left: 50%;
        width: 0;
        height: 28px;
        border-top: 0;
        border-left: 2px dashed var(--ink);
    }

    .not-ghost {
        font-size: 160px;
    }

    .doc {
        padding: 40px 24px 48px;
    }

    .doc-page {
        padding-top: 32px;
    }

    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .container {
        padding: 0 18px;
    }

    .hero-sub {
        font-size: 16.5px;
    }

    .hero-cta .btn {
        flex: 1;
    }

    .fields {
        grid-template-columns: 1fr;
    }

    .hang-tag {
        left: -10px;
        bottom: 40px;
        width: 72px;
    }

    .stamp {
        top: -22px;
        right: -10px;
        width: 80px;
        height: 80px;
    }

    .group-no {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 18px;
        padding: 10px 14px;
    }
}
