/* ============================================================
   懂你同城服务 · 官网样式
   薄荷绿只做信号，不做装饰。数字与时间用等宽字体。
   ============================================================ */

:root {
    --ink:        #1F2E29;
    --ink-2:      #364842;
    --body:       #4A5C56;
    --muted:      #7A8B85;
    --line:       #E3EAE7;
    --line-soft:  #F0F5F3;
    --surface:    #FFFFFF;
    --bg:         #F7FAF9;

    --mint:       #2FDCB9;
    --mint-deep:  #0FBF9F;
    --mint-ink:   #123F37;
    --mint-soft:  #E4FBF5;

    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;

    --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
            "Microsoft YaHei", system-ui, sans-serif;
    /* 等宽栈给数字与拉丁字母用，末尾兜底中文无衬线，
       避免 Consolas 缺中文字形时回退到宋体 */
    --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace,
            Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

    --w: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

a { color: var(--mint-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
    outline: 2px solid var(--mint-deep);
    outline-offset: 3px;
    border-radius: 3px;
}

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

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

/* ---------- 通用排版 ---------- */
.eyebrow {
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 20px;
}

h1, h2, h3 {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -.02em;
    margin: 0;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.18; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; }
h3 { font-size: 1.05rem; line-height: 1.4; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    color: var(--body);
    max-width: 46ch;
}

/* ---------- 顶栏 ---------- */
.site-head {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 250, 249, .86);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }

.site-head .wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--ink);
    font-size: 1rem;
    letter-spacing: -.01em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { text-decoration: none; }

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav a {
    font-size: .9rem;
    color: var(--body);
    text-decoration: none;
}
.nav a:hover { color: var(--ink); }
.nav a.is-current { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
    .nav { gap: 18px; }
    .nav a:not(.nav-cta) { display: none; }
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .18s ease, background-color .18s ease,
                border-color .18s ease;
    will-change: transform;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--mint);
    color: var(--mint-ink);
    box-shadow: 0 1px 2px rgba(18, 63, 55, .12),
                0 8px 20px -10px rgba(15, 191, 159, .55);
}
.btn-primary:hover { background: var(--mint-deep); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--mint-deep); background: var(--surface); }

.btn-sm { height: 36px; padding: 0 16px; font-size: .84rem; }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }

.hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
    font-style: normal;
    color: var(--mint-ink);
    background: linear-gradient(transparent 62%, var(--mint) 62%);
    background-size: 100% 100%;
    padding: 0 .06em;
}

.hero .lede { margin-bottom: 32px; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--muted);
}
.hero-meta span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mint);
    margin-right: 8px;
    vertical-align: middle;
    transform: translateY(-1px);
}

@media (max-width: 880px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .slip-stage { order: -1; }
}

/* ---------- 签名元素：预约单 ---------- */
.slip-stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.slip-stage::before {
    content: "";
    position: absolute;
    inset: 8% 6% 8% 6%;
    background: radial-gradient(closest-side, rgba(47, 220, 185, .22), transparent 72%);
    filter: blur(24px);
    z-index: 0;
}

.slip {
    position: relative;
    z-index: 1;
    width: min(340px, 100%);
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: 0 2px 4px rgba(31, 46, 41, .04),
                0 24px 48px -28px rgba(31, 46, 41, .34);
    overflow: hidden;
    animation: slip-in .62s cubic-bezier(.22, .9, .3, 1) both;
}

@keyframes slip-in {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to   { opacity: 1; transform: none; }
}

.slip-head {
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.slip-head .label {
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.slip-head .no {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
}

.slip-body { padding: 20px 22px 18px; }

.slip-time {
    font-family: var(--mono);
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}
.slip-date {
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 22px;
}

.slip-rows { display: grid; gap: 12px; }
.slip-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    align-items: baseline;
    font-size: .9rem;
}
.slip-row dt {
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.slip-row dd { margin: 0; color: var(--ink-2); }

.slip-row dd .tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--mint-soft);
    color: var(--mint-ink);
    font-size: 11px;
    font-family: var(--font);
    letter-spacing: .04em;
}

/* 撕线 */
.slip-tear {
    position: relative;
    height: 24px;
    margin: 4px 0;
    background:
        radial-gradient(circle at 0 50%, var(--bg) 8px, transparent 8px),
        radial-gradient(circle at 100% 50%, var(--bg) 8px, transparent 8px);
    background-repeat: no-repeat;
    background-position: left center, right center;
    background-size: 16px 100%;
}
.slip-tear::after {
    content: "";
    position: absolute;
    inset: 50% 16px auto;
    border-top: 1px dashed var(--line);
}

.slip-foot {
    padding: 0 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.slip-total .label {
    font-family: var(--font);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
}
.slip-total .amount {
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}
.slip-total .amount small { font-size: .7em; margin-right: 2px; }

.slip-btn {
    height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--mint);
    color: var(--mint-ink);
    font-family: var(--font);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .18s ease;
}
.slip-btn:hover { background: var(--mint-deep); }

.slip-hint {
    margin-top: 14px;
    text-align: center;
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--muted);
}

/* ---------- 区块通用 ---------- */
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin-bottom: 10px; }

/* ---------- 服务项目 ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.service {
    background: var(--surface);
    padding: 26px 24px 28px;
    transition: background-color .2s ease;
}
.service:hover { background: var(--mint-soft); }

.service .idx {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--mint-deep);
    display: block;
    margin-bottom: 18px;
}
.service h3 { margin-bottom: 8px; }
.service p { font-size: .9rem; color: var(--body); margin: 0; }
.service .dur {
    margin-top: 16px;
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--muted);
}

/* ---------- 双端入口 ---------- */
.ends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.end {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: border-color .2s ease, transform .2s ease;
}
.end:hover { border-color: var(--mint); transform: translateY(-2px); }

.end .kicker {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mint-deep);
}
.end h3 { font-size: 1.35rem; }
.end p { font-size: .92rem; margin: 0; }
.end .go {
    margin-top: auto;
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--mint-ink);
}
.end .go::after { content: " →"; }

/* ---------- 服务保障 ---------- */
.assure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.assure-item .k {
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--mint-deep);
    margin-bottom: 10px;
    display: block;
}
.assure-item h3 { font-size: 1rem; margin-bottom: 6px; }
.assure-item p { font-size: .88rem; margin: 0; }

/* ---------- 页脚 ---------- */
.site-foot {
    background: var(--ink);
    color: rgba(255, 255, 255, .62);
    padding: 56px 0 32px;
    font-size: .86rem;
}
.site-foot a { color: rgba(255, 255, 255, .82); }
.site-foot a:hover { color: #fff; }

.foot-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.foot-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 14px;
}
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; }

.foot-col h4 {
    color: rgba(255, 255, 255, .9);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    margin: 0 0 14px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.foot-bottom {
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    font-family: var(--font);
    font-size: 11.5px;
    letter-spacing: .03em;
}
.foot-bottom .company { color: rgba(255, 255, 255, .5); }

/* ---------- 内页通用 ---------- */
.page-head {
    padding: clamp(44px, 6vw, 76px) 0 clamp(28px, 4vw, 44px);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.page-head .back {
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 22px;
}
.page-head .back::before { content: "← "; }
.page-head h1 { margin-bottom: 14px; }

.dl-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* ---------- 步骤 ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }

.step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; }
.step .n {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--mint-deep);
    padding-top: 4px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- 双栏信息 ---------- */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.kv { display: grid; gap: 0; margin: 0; }
.kv > div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
}
.kv dt {
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
}
.kv dd { margin: 0; color: var(--ink-2); }

/* ---------- 滚动揭示 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.22, .9, .3, 1),
                transform .6s cubic-bezier(.22, .9, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .slip { animation: none; }
}

/* ---------- 页面切换过渡 ---------- */
html { scroll-behavior: smooth; }

/* 进入：轻微上浮 + 淡入 */
html.is-ready body > main,
html.is-ready body > .page-head {
    animation: page-in .34s cubic-bezier(.22, .9, .3, 1) both;
}

@keyframes page-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

/* 离开：整页淡出 */
body.is-leaving {
    opacity: 0;
    transition: opacity .16s ease;
}

@media (prefers-reduced-motion: reduce) {
    html.is-ready body > main,
    html.is-ready body > .page-head { animation: none; }
    body.is-leaving { opacity: 1; transition: none; }
}
