/* ==========================================================================
   Nova Business HTML Template by WebArray
   Main stylesheet. Plain CSS, no build step.

   HOW TO THEME
   1. Change the values in :root below (colors, fonts, sizes).
   2. Each service/feature has a "tone" (tone-1 ... tone-5). A tone is three colors:
      --tone       decorative fill (shapes, dots, rings)
      --tone-ink   text color that stays readable on white and on the tint
      --tone-tint  pale background
      Apply a tone by adding a class like "tone-2" to an element.
   ========================================================================== */

/* Self-hosted subset of Noto Serif SC (SIL OFL 1.1), cut down to the characters
   this site actually uses: 84 KB instead of a 1.5 MB full CJK font.
   If you add new copy, regenerate the subset (see README). */
@font-face {
  font-family: "Noto Serif SC Subset";
  src: url("../fonts/serif-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-9FFF, U+3000-303F, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Serif SC Subset";
  src: url("../fonts/serif-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2010-2027, U+2030-205E;
}

:root {
  /* Brand colors — 与 App 端 token 同源（深海军蓝 / 品牌蓝 / 暖金） */
  --color-ink: #0c2748;          /* main text, dark sections, primary buttons */
  --color-ink-soft: #41648a;     /* secondary text */
  --color-paper: #f5f9fc;        /* page background */
  --color-surface: #ffffff;      /* cards, white sections */
  --color-line: rgba(12, 39, 72, 0.13);
  --color-accent: #3f86cc;       /* button hover, focus ring, highlights */
  --color-accent-ink: #2a6bae;   /* accent used as text (passes contrast) */

  /* Tones: one per feature. Same hue family (blue — teal — gold), no stray hues. */
  --tone-1: #3f86cc; --tone-1-ink: #2a6bae; --tone-1-tint: #e8f2fc;   /* 蓝 · 发现 */
  --tone-2: #2f8f72; --tone-2-ink: #1f6b54; --tone-2-tint: #e4f3ee;   /* 青 · 报名 */
  --tone-3: #a8823c; --tone-3-ink: #7d5f24; --tone-3-tint: #f9f1de;   /* 金 · 沟通 */
  --tone-4: #5a7fa8; --tone-4-ink: #3f6285; --tone-4-tint: #eaf0f7;   /* 雾蓝 · 结算 */
  --tone-5: #1c3553; --tone-5-ink: #16304c; --tone-5-tint: #e3eaf2;   /* 深蓝 · 出行 */

  /* Typography — 中文标题用思源宋体子集，正文走系统黑体栈（零加载） */
  --font-display: "Noto Serif SC Subset", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-width: 1320px;
  --gutter: 20px;
  --header-height: 76px;
  --section-space: 80px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow-soft: 0 24px 60px rgba(30, 27, 46, 0.12);
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; --section-space: 112px; --header-height: 84px; }
}

/* Tone classes (see note at the top) */
.tone-1 { --tone: var(--tone-1); --tone-ink: var(--tone-1-ink); --tone-tint: var(--tone-1-tint); }
.tone-2 { --tone: var(--tone-2); --tone-ink: var(--tone-2-ink); --tone-tint: var(--tone-2-tint); }
.tone-3 { --tone: var(--tone-3); --tone-ink: var(--tone-3-ink); --tone-tint: var(--tone-3-tint); }
.tone-4 { --tone: var(--tone-4); --tone-ink: var(--tone-4-ink); --tone-tint: var(--tone-4-tint); }
.tone-5 { --tone: var(--tone-5); --tone-ink: var(--tone-5-ink); --tone-tint: var(--tone-5-tint); }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--color-ink); color: var(--color-paper); padding: 12px 20px; border-radius: 999px;
}
.skip-link:focus { left: 12px; }

.container { width: 100%; max-width: var(--container-width); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-space); }

/* Section backgrounds */
.bg-paper { background: var(--color-paper); }
.bg-surface { background: var(--color-surface); }
.bg-ink { background: var(--color-ink); color: var(--color-paper); }
.bg-tint { background: var(--tone-tint); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; }
.display { font-size: clamp(36px, 9.4vw, 76px); line-height: 1.2; }
@media (min-width: 640px) { .display { font-size: clamp(44px, 7vw, 76px); } }
@media (min-width: 1024px) { .display { font-size: clamp(46px, 4.8vw, 76px); line-height: 1.12; } }
.h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.18; }
.h2 { font-size: clamp(26px, 2.9vw, 42px); line-height: 1.28; }
.h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.35; }
.kicker { color: var(--color-ink-soft); font-size: 17px; letter-spacing: .04em; }
.eyebrow { font-weight: 600; color: var(--tone-ink, var(--color-accent-ink)); letter-spacing: .08em; font-size: 15px; }
.lede { color: var(--color-ink-soft); font-size: 17px; line-height: 1.85; max-width: 38em; text-wrap: pretty; }
@media (min-width: 1024px) { .lede--lg { font-size: 19px; line-height: 1.8; } }
@media (max-width: 639px) { .hero .lede--lg { font-size: 16px; line-height: 1.8; } }
/* mobile-only line break: hidden on desktop so the sentence stays on one line */
.br-m { display: none; }
@media (max-width: 639px) { .br-m { display: inline; } }
.muted { color: var(--color-ink-soft); }
.balance { text-wrap: balance; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 999px; padding: 14px 28px;
  font-weight: 600; text-decoration: none; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-accent-ink); }
.btn--light { background: var(--color-paper); color: var(--color-ink); }
.btn--light:hover { background: var(--tone-1-tint); }
.btn--outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--outline:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--sm { padding: 9px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--color-accent-ink); }

.icon-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  border: 2px solid var(--color-line); background: transparent;
}
.icon-btn:hover { border-color: var(--color-ink); }
.icon-btn--solid { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.icon-btn--solid:hover { background: var(--color-accent-ink); border-color: var(--color-accent-ink); }
.icon-btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: color-mix(in srgb, var(--color-paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-display); font-size: 23px; line-height: 1; }

.nav__links { display: none; align-items: center; gap: 30px; font-size: 15px; }
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__links > li > a:not(.btn) { text-decoration: none; padding-block: 8px; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"]:not(.btn) { color: var(--color-accent-ink); }
.nav__links .btn[aria-current="page"] { background: var(--color-ink); color: var(--color-paper); }

/* Dropdown: opens on hover and on keyboard focus */
.nav-drop { position: relative; }
.nav-drop__toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop__toggle svg { width: 12px; height: 12px; }
.nav-menu {
  position: absolute; left: 50%; top: 100%; width: 360px; margin-left: -180px; padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu ul { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 10px; }
.nav-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); text-decoration: none; }
.nav-menu a:hover { background: var(--color-paper); }
.nav-menu .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); margin-top: 7px; flex: none; }
.nav-menu strong { display: block; font-weight: 600; }
.nav-menu small { display: block; color: var(--color-ink-soft); font-size: 14px; }
.nav-menu .nav-menu__all { border-top: 1px solid var(--color-line); margin-top: 6px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; }

.menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--color-ink); background: transparent; }
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* Mobile menu: a full-screen panel below the header (outside the header so the header blur can't trap it) */
.mobile-menu {
  position: fixed; inset: var(--header-height) 0 0; z-index: 45; overflow-y: auto;
  background: var(--color-paper); border-top: 1px solid var(--color-line); padding: 12px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu__list > li { border-bottom: 1px solid var(--color-line); }
.mobile-menu__list > li > a, .mobile-menu__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 16px 0; font-family: var(--font-display); font-size: 28px; text-decoration: none; background: none; border: 0; text-align: left;
}
.mobile-menu__toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.mobile-menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu__sub { padding: 0 0 16px 12px; }
.mobile-menu__sub a { display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-size: 18px; }
.mobile-menu a[aria-current="page"] { color: var(--color-accent-ink); }
.mobile-menu .btn { width: 100%; margin-top: 24px; }
.mobile-menu__contact { margin-top: 20px; color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: var(--header-height); }
.hero__grid { display: grid; gap: 48px; align-items: center; padding-block: 32px 96px; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; padding-block: 40px 96px; }
}
.hero .display { margin-top: 18px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__points li {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500;
  color: var(--color-ink-soft); background: var(--color-surface); border-radius: 999px; padding: 7px 14px;
}
.hero__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tone-2); }
.hero__stage { position: relative; width: 100%; max-width: 268px; margin-inline: auto; }
@media (min-width: 640px) { .hero__stage { max-width: 286px; } }
@media (min-width: 1024px) { .hero__stage { max-width: 300px; justify-self: end; margin-inline: 0; } }
.hero__stage svg.hero__blob { position: absolute; inset: -7%; width: 114%; height: 114%; overflow: visible; z-index: 0; opacity: .75; }

/* Phone frame: a real device mock so the feed reads as an app screen, not an illustration */
.phone {
  position: relative; z-index: 1; border-radius: 42px; padding: 8px;
  background: var(--color-ink);
  box-shadow: 0 44px 80px rgba(12, 39, 72, .3), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.phone__screen { position: relative; aspect-ratio: 9 / 16.4; border-radius: 35px; overflow: hidden; background: #0b2340; }
.phone__notch { position: absolute; z-index: 3; top: 13px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 999px; background: var(--color-ink); }
.hero__img { position: absolute; left: -5%; top: -5%; width: 110%; height: 110%; max-width: none; object-fit: cover; }
/* Only the first image shows until the script cycles through the rest */
.hero__img:not(:first-of-type) { opacity: 0; visibility: hidden; }
.phone__ui { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 14px 22px; background: linear-gradient(180deg, rgba(6, 20, 36, 0) 34%, rgba(6, 20, 36, .55) 62%, rgba(6, 20, 36, .9) 100%); }
.phone__rail { display: grid; gap: 14px; justify-items: center; color: #fff; }
.phone__rail span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.phone__rail span svg { width: 17px; height: 17px; }
.phone__rail .rail-avatar { background: rgba(255, 255, 255, .9); border: 2px solid #fff; }
.phone__meta { color: #fff; max-width: 76%; }
.phone__badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); }
.phone__title { font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.4; margin-top: 8px; }
.phone__sub { font-size: 11px; opacity: .82; margin-top: 4px; }
.phone__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--color-ink); font-size: 12px; font-weight: 700; }

.hero__caption {
  position: absolute; z-index: 4; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--color-surface); border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 32px rgba(12, 39, 72, .14);
}
.hero__caption-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tone-1); }
.hero__wave { position: absolute; inset: auto 0 0; width: 100%; height: 80px; pointer-events: none; }
@media (min-width: 1024px) { .hero__wave { height: 120px; } }

/* --------------------------------------------------------------------------
   Services showcase (home). Desktop pins and slides sheets; without JS they stack.
   -------------------------------------------------------------------------- */
.showcase { position: relative; background: var(--color-surface); }
.showcase__progress { display: none; }
.sheet { background: var(--tone-tint, var(--color-paper)); }
.sheet__grid { display: grid; gap: 40px; align-items: center; padding-block: 80px; }
@media (min-width: 1024px) {
  .sheet__grid { grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 64px; }
  /* JS adds .js-motion to <html>; only then do sheets stack for the pinned slide effect */
  .js-motion .showcase { height: 100vh; overflow: hidden; }
  .js-motion .sheet { position: absolute; inset: 0; }
  .js-motion .sheet__grid { height: 100%; padding-block: 64px 0; }
  .js-motion .showcase__progress {
    position: absolute; z-index: 5; left: var(--gutter); top: calc(var(--header-height) + 16px);
    display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600;
  }
}
.showcase__bar { position: relative; width: 160px; height: 3px; border-radius: 3px; background: var(--color-line); overflow: hidden; }
.showcase__bar span { position: absolute; inset: 0; background: var(--color-ink); transform-origin: left; transform: scaleX(0); }

.service-rows { display: grid; gap: 14px; }
.service-row {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center;
  background: var(--color-surface); border-radius: var(--radius-md); padding: 18px 20px; text-decoration: none;
}
/* CSS hover only when animations are off; with animations on, main.js handles it
   (a CSS transform transition would fight GSAP and leave elements stuck mid-move) */
html:not(.js-motion) .service-row { transition: transform .25s; }
html:not(.js-motion) .service-row:hover { transform: translateX(6px); }
/* Line icon on a tinted tile */
.service-row__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--tone-tint); color: var(--tone-ink); }
.service-row__icon svg { width: 27px; height: 27px; transition: transform .3s; }
.service-row:hover .service-row__icon svg { transform: scale(1.1) rotate(-4deg); }
@media (min-width: 640px) { .service-row__icon { width: 72px; height: 72px; } .service-row__icon svg { width: 30px; height: 30px; } }
.service-row h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.4; }
.service-row p { color: var(--color-ink-soft); font-size: 15px; line-height: 1.65; margin-top: 4px; }
@media (min-width: 640px) { .service-row { padding: 22px 26px; } }

/* Colored disc behind a photo; grows on hover and lets the tone ring show around it */
.disc-stage { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1; margin-inline: auto; }
@media (min-width: 1024px) { .disc-stage { max-width: 440px; } }
.disc-stage__disc { position: absolute; inset: 0; border-radius: 50%; background: var(--tone); clip-path: circle(36% at 50% 52%); }
.disc-stage__img { position: absolute; inset: 0; margin: auto; width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 26px 34px rgba(12, 39, 72, .24)); }
/* Hover effect without JavaScript; main.js does the same with GSAP when animations are on */
html:not(.js-motion) .disc-stage__disc { transition: clip-path .5s; }
html:not(.js-motion) .disc-stage:hover .disc-stage__disc { clip-path: circle(48% at 50% 52%); }
html:not(.js-motion) .disc-stage__img { transition: transform .5s; }
html:not(.js-motion) .disc-stage:hover .disc-stage__img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }

.checklist { display: grid; gap: 10px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--tone, var(--tone-1)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* --------------------------------------------------------------------------
   Process ring
   -------------------------------------------------------------------------- */
.process__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .js-motion .process { height: 100vh; padding-block: 0; display: flex; align-items: center; }
  .js-motion .process > .container { width: 100%; }
}
.process-steps { display: grid; gap: 18px; margin-top: 36px; font-size: 18px; }
.process-steps li { display: flex; gap: 16px; transition: opacity .3s, transform .3s; }
.process-steps .step-num { font-family: var(--font-display); color: var(--tone-ink); min-width: 1ch; }
.process-steps strong { font-weight: 600; }
.js-motion .process-steps li { opacity: .35; }
.js-motion .process-steps li.is-on { opacity: 1; transform: translateX(6px); }
.process-ring { width: 100%; max-width: 400px; margin-inline: auto; }
@media (min-width: 1024px) { .process-ring { max-width: 540px; } }
.process-ring text { font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   Stats sentence
   -------------------------------------------------------------------------- */
.stats-sentence { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 52px); font-weight: 700; line-height: 1.52; max-width: 26em; letter-spacing: .01em; }
.stats-sentence .tone-1, .stats-sentence .tone-2, .stats-sentence .tone-3 { color: var(--tone-ink); padding-inline: .12em; }
.stats-note { margin-top: 28px; max-width: 46em; }

/* --------------------------------------------------------------------------
   Testimonials: clothesline (home)
   -------------------------------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head__controls { display: flex; gap: 8px; }
.clothesline { margin-top: 32px; overflow-x: auto; cursor: grab; scrollbar-width: none; overscroll-behavior-x: contain; }
.clothesline::-webkit-scrollbar { display: none; }
.clothesline.is-dragging { cursor: grabbing; }
.clothesline__track { position: relative; width: max-content; margin-inline: auto; padding: 8px var(--gutter) 48px; }
.clothesline__tags { display: flex; align-items: flex-start; gap: 32px; }
.clothesline__line { position: absolute; left: 0; top: 0; width: 100%; height: 80px; overflow: visible; pointer-events: none; }
.clothesline__line path { fill: none; stroke: #8c7a5b; stroke-width: 2; stroke-linecap: round; }
.tag { position: relative; width: 246px; flex: none; padding-top: 30px; }
@media (min-width: 640px) { .tag { width: 262px; } }
.tag__peg { position: absolute; left: 50%; top: 12px; z-index: 2; width: 12px; height: 28px; margin-left: -6px; border-radius: 3px; background: #c9a46a; box-shadow: inset -3px 0 0 rgba(0, 0, 0, .12); }
.tag__swing, .tag__body { transform-origin: 50% -14px; }
.tag__body { display: flex; flex-direction: column; min-height: 214px; background: var(--tone-tint); border-radius: 18px; padding: 16px 20px 18px; box-shadow: 0 14px 30px rgba(12, 39, 72, .1); }
.tag__hole { display: block; width: 10px; height: 10px; margin-inline: auto; border-radius: 50%; background: var(--color-paper); box-shadow: 0 0 0 1px var(--color-line); }
.tag__rule { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--tone-ink); }
.tag__rule::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.tag blockquote { margin-top: 10px; flex: 1; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.62; }
.tag figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--color-line); font-size: 13px; line-height: 1.5; }

.stars { display: flex; gap: 2px; color: var(--tone-ink); }
.stars svg { width: 14px; height: 14px; }
.avatar {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--tone-ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.avatar--lg { width: 52px; height: 52px; font-size: 16px; font-family: var(--font-display); font-weight: 400; }
.avatar--xl { width: 96px; height: 96px; font-size: 28px; font-family: var(--font-display); font-weight: 400; }
.person__name { display: block; font-weight: 600; }
.person__role { display: block; color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   Testimonials: card deck (inner pages)
   -------------------------------------------------------------------------- */
/* Clip the fanned-out back cards so they never cause sideways scrolling on phones */
.deck-section { overflow: hidden; }
.deck-section__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .deck-section__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.deck-controls { display: flex; align-items: center; gap: 12px; margin-top: 36px; }
.deck-controls .icon-btn { width: 56px; height: 56px; }
.deck-count { margin-left: 8px; font-family: var(--font-display); font-size: 24px; }
.deck-hint { margin-top: 14px; font-size: 14px; color: var(--color-ink-soft); }
/* Without JS the deck is a simple vertical list */
.deck { display: grid; gap: 20px; width: 100%; max-width: 460px; margin-inline: auto; }
.deck-card { display: flex; flex-direction: column; background: var(--tone-tint); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.js-motion .deck { position: relative; display: block; height: 500px; touch-action: pan-y; }
@media (min-width: 640px) { .js-motion .deck { height: 520px; } }
.js-motion .deck-card { position: absolute; inset: 0; }
.js-motion .deck-hint { display: block; }
.deck-hint { display: none; }
.deck-card__top { display: flex; justify-content: space-between; align-items: center; }
.deck-card__mark { width: 44px; height: 44px; color: var(--tone); opacity: .45; }
.deck-card blockquote { flex: 1; margin-top: 22px; font-family: var(--font-display); font-size: 20px; line-height: 1.4; }
@media (min-width: 640px) { .deck-card { padding: 40px; } .deck-card blockquote { font-size: 23px; } }
.deck-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--color-line); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 1.4fr; gap: 80px; } }
.faq__list { border-top: 1px solid var(--color-line); }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-surface); transition: transform .25s; }
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { padding: 0 48px 24px 0; color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band__inner {
  position: relative; overflow: hidden;
  display: grid; gap: 28px; align-items: end; background: var(--color-ink); color: var(--color-paper);
  border-radius: var(--radius-lg); padding: 40px 28px;
}
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.4fr auto; padding: 64px; } }
.cta-band__inner .lede { color: rgba(247, 247, 251, .84); margin-top: 14px; font-size: 17px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--outline { border-color: rgba(247, 247, 251, .5); color: var(--color-paper); }
.cta-band .btn--outline:hover { background: var(--color-paper); color: var(--color-ink); }

/* --------------------------------------------------------------------------
   Inner page hero and breadcrumb
   -------------------------------------------------------------------------- */
.page-hero { padding-top: var(--header-height); background: var(--tone-tint, var(--color-paper)); }
.page-hero__grid { display: grid; gap: 40px; align-items: center; padding-block: 32px 64px; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.3fr 1fr; padding-block: 56px 96px; } }
.page-hero .h1 { margin-top: 22px; max-width: 18ch; }
.page-hero .lede { margin-top: 22px; }
/* Illustration stage: white blob + dashed ring behind a floating image */
.page-hero { position: relative; overflow: hidden; }
.page-hero__grid { position: relative; z-index: 1; }
.page-hero__stage { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin-inline: auto; }
@media (min-width: 1024px) { .page-hero__stage { max-width: 460px; } }
.page-hero__blob { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.page-hero__blob .morph-blob { fill: var(--color-surface); opacity: .75; }
.page-hero__blob .spin-ring { fill: none; stroke: var(--tone); stroke-width: 2; stroke-dasharray: 4 10; }
.page-hero__visual { position: absolute; inset: 0; margin: auto; width: 68%; filter: drop-shadow(0 22px 22px rgba(30, 27, 46, .16)); }
.page-hero__dot { position: absolute; z-index: 0; border-radius: 50%; background: var(--tone); opacity: .55; pointer-events: none; }
.page-hero__dot--1 { width: 18px; height: 18px; top: 26%; left: 46%; }
.page-hero__dot--2 { width: 12px; height: 12px; bottom: 16%; left: 6%; }
.page-hero__dot--3 { width: 30px; height: 30px; top: 18%; right: 5%; background: transparent; border: 3px solid var(--tone); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--color-ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb [aria-current="page"] { color: var(--color-ink); }

/* --------------------------------------------------------------------------
   Services page: detail blocks and package cards
   -------------------------------------------------------------------------- */
.service-detail { display: grid; gap: 36px; align-items: center; background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px; scroll-margin-top: calc(var(--header-height) + 16px); }
.service-detail + .service-detail { margin-top: 24px; }
@media (min-width: 640px) { .service-detail { padding: 40px; } }
@media (min-width: 1024px) {
  .service-detail { grid-template-columns: 380px 1fr; gap: 64px; padding: 56px; }
  .service-detail--flip { grid-template-columns: 1fr 380px; }
  .service-detail--flip .service-detail__media { order: 2; }
}
.service-detail__media { background: var(--tone-tint); border-radius: var(--radius-md); padding: 28px; overflow: hidden; }
.service-detail__media img { width: 100%; max-width: 300px; margin-inline: auto; }
.service-detail .h2 { margin-top: 8px; }
.service-detail .lede { margin-top: 18px; }
.meta-pill { display: inline-block; margin-top: 24px; background: var(--tone-tint); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }

.cards-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 640px) { .cards-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } .cards-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .cards-grid--3, .cards-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--color-surface); border-radius: var(--radius-lg); padding: 32px; }
.card__bar { width: 48px; height: 8px; border-radius: 8px; background: var(--tone); }
.card .h3 { margin-top: 24px; }
.card p { margin-top: 10px; color: var(--color-ink-soft); }
.card .checklist { flex: 1; margin-bottom: 28px; }
.card--featured { background: var(--color-ink); color: var(--color-paper); }
.card--featured p { color: rgba(247, 247, 251, .72); }
.card--featured .btn--primary { background: var(--color-paper); color: var(--color-ink); }
.card--featured .btn--primary:hover { background: var(--tone-1-tint); }
.card__badge { align-self: flex-start; margin-bottom: 20px; background: var(--tone); color: var(--color-ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.split { display: grid; gap: 40px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
.split .lede + .lede { margin-top: 18px; }
.statement { border-radius: var(--radius-lg); padding: 32px; background: var(--tone-tint); }
@media (min-width: 1024px) { .statement { padding: 48px; } }
.statement p:last-child { margin-top: 18px; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; }
.value-card { background: var(--color-surface); border-radius: 28px; padding: 28px; }
.value-card__dot { width: 44px; height: 44px; border-radius: 50%; background: var(--tone); }
.value-card h3 { margin-top: 22px; font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.value-card p { margin-top: 8px; color: var(--color-ink-soft); }
.team-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.team-card .avatar { margin-inline: auto; }
.team-card h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.team-card p { color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   Contact page and form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list a { font-size: 22px; text-decoration: none; border-bottom: 2px solid var(--tone, var(--color-accent)); width: fit-content; }
.contact-list a:hover { color: var(--color-accent-ink); }
.contact-address { margin-top: 18px; font-style: normal; color: var(--color-ink-soft); }
.hours { margin-top: 26px; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; max-width: 340px; border-bottom: 1px dashed var(--color-line); padding-bottom: 6px; }
.form-card { background: var(--tone-tint); border-radius: var(--radius-lg); padding: 28px; }
@media (min-width: 640px) { .form-card { padding: 44px; } }
.form { display: grid; gap: 22px; margin-top: 28px; }
.field label { font-weight: 600; }
.field .optional { font-weight: 400; color: var(--color-ink-soft); }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 8px; padding: 15px 18px; border-radius: var(--radius-sm);
  border: 2px solid rgba(30, 27, 46, .15); background: var(--color-surface); font-size: 17px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-ink); outline: none; }
.field [aria-invalid="true"] { border-color: var(--color-accent-ink); }
.field__error { margin-top: 8px; color: var(--color-accent-ink); font-size: 15px; }
.form-status { border-radius: var(--radius-sm); background: var(--color-surface); padding: 18px 20px; }
.form-status[hidden] { display: none; }
.form-status strong { display: block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: var(--color-paper); }
.site-footer__cols { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__cols { grid-template-columns: 1.5fr 1fr 1.3fr; } }
.site-footer .brand img { filter: none; }
.site-footer p, .site-footer li, .site-footer address { color: rgba(247, 247, 251, .72); font-style: normal; }
.site-footer h2 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--color-paper); }
.site-footer ul { margin-top: 14px; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--color-paper); text-decoration: underline; }
.site-footer__about p { margin-top: 14px; max-width: 34ch; }
.tone-stripe { display: flex; gap: 8px; height: 8px; }
.tone-stripe span { flex: 1; border-radius: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: 14px; color: rgba(247, 247, 251, .6); }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-height) + 40px) var(--gutter) 80px; }
.not-found .h1 { margin-top: 16px; }
.not-found .lede { margin: 18px auto 0; }
.not-found .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-sm { margin-top: 16px; } .mt-md { margin-top: 28px; } .mt-lg { margin-top: 48px; }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Reduced motion: no smooth scrolling or transitions */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Deck controls only make sense when the animated deck is active */
.deck-controls { display: none; }
.js-motion .deck-controls { display: flex; }

/* --------------------------------------------------------------------------
   Motion layers (used by main.js; harmless without JavaScript)
   -------------------------------------------------------------------------- */
/* Reading progress bar along the top edge */
.scroll-progress { display: none; position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--color-accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.js-motion .scroll-progress { display: block; }

/* Soft glow orbs inside the CTA band */
.cta-band__inner > :not(.cta-band__orb) { position: relative; z-index: 1; }
.cta-band__orb { position: absolute; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; filter: blur(10px); opacity: .45; }
.cta-band__orb--1 { right: -90px; top: -110px; background: radial-gradient(circle, var(--tone-2) 0%, transparent 68%); }
.cta-band__orb--2 { left: -120px; bottom: -150px; background: radial-gradient(circle, var(--tone-3) 0%, transparent 68%); }

/* Cards that tilt toward the cursor */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* --------------------------------------------------------------------------
   UI cards used on the sheets (order status, settlement)
   -------------------------------------------------------------------------- */
.ui-stage { position: relative; display: grid; place-items: center; padding: 28px 0; }
.ui-stage::before {
  content: ""; position: absolute; width: min(92%, 440px); aspect-ratio: 1; border-radius: 50%;
  background: var(--tone); opacity: .18;
}
.order-card {
  position: relative; z-index: 1; width: 100%; max-width: 440px;
  background: var(--color-surface); border-radius: 26px; padding: 26px 26px 22px;
  box-shadow: 0 26px 56px rgba(12, 39, 72, .18);
}
.order-card__head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; color: var(--color-ink-soft); }
.order-card__count { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--tone-tint); color: var(--tone-ink); }
.order-list { display: grid; gap: 14px; margin-top: 18px; }
.order-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding-bottom: 14px; border-bottom: 1px solid var(--color-line); }
.order-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.order-list__name { font-size: 15px; font-weight: 600; color: var(--color-ink); line-height: 1.5; }
.order-list__state { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; justify-self: start; grid-column: 1; }
.order-list__price { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 17px; font-weight: 700; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.state--wait { background: #fdf2dc; color: #8a6412; }
.state--ok { background: #e4f3ee; color: #1f6b54; }
.state--back { background: #fbeeea; color: #a3492f; }
.order-card__foot { margin-top: 16px; font-size: 12.5px; line-height: 1.65; color: var(--color-ink-soft); }

.money-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--color-line); font-size: 15px; color: var(--color-ink-soft); }
.money-row strong { font-size: 19px; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.money-row--total { border-bottom: 0; padding-top: 16px; }
.money-row--total strong { font-size: 24px; }
.money-minus { color: #a3492f !important; }
.order-card--money .order-card__head { padding-bottom: 4px; }

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */
.dl-hero { padding-top: calc(var(--header-height) + 24px); }
.dl-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .dl-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }

.qr-card {
  position: relative; background: var(--color-surface); border-radius: var(--radius-lg);
  padding: 22px 22px 26px; box-shadow: var(--shadow-soft); max-width: 300px; margin-inline: auto; text-align: center;
}
.qr-code { border-radius: 20px; border: 1px solid var(--color-line); background: #fff; padding: 10px; }
.qr-code svg { width: 100%; height: auto; display: block; }
.qr-card__note { margin-top: 16px; font-size: 13px; color: var(--color-ink-soft); line-height: 1.6; }
.qr-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--tone-3); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(168, 130, 60, .3);
}

.platform-list { display: grid; gap: 12px; margin-top: 28px; max-width: 380px; }
.platform {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 18px;
  border: 1.5px solid var(--color-line); background: var(--color-surface); text-decoration: none;
}
.platform--soon { color: var(--color-ink-soft); }
.platform__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--color-paper); color: var(--color-ink); flex: none; }
.platform__icon svg { width: 22px; height: 22px; }
.platform strong { display: block; font-size: 15px; font-weight: 600; color: var(--color-ink); }
.platform--soon strong { color: var(--color-ink-soft); }
.platform small { display: block; font-size: 13px; color: var(--color-ink-soft); }

.steps-3 { display: grid; gap: 24px; margin-top: 44px; }
@media (min-width: 768px) { .steps-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step-card { background: var(--color-surface); border-radius: var(--radius-md); padding: 26px 24px; }
.step-card__num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--tone-ink, var(--color-accent-ink)); letter-spacing: .1em; }
.step-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 10px; }
.step-card p { color: var(--color-ink-soft); font-size: 15px; line-height: 1.7; margin-top: 8px; }

/* --------------------------------------------------------------------------
   Contact page extras
   -------------------------------------------------------------------------- */
.mini-dl { margin-top: 44px; padding: 24px; border-radius: var(--radius-md); background: var(--color-paper); max-width: 340px; }
.mini-dl__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.mini-dl__text { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--color-ink-soft); }
.mini-dl .btn { margin-top: 16px; }

/* Oversized 404 watermark */
.err-404 {
  position: absolute; right: 3%; bottom: 6%; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(90px, 19vw, 230px); line-height: .8; color: var(--color-ink); opacity: .05;
  pointer-events: none; user-select: none;
}

/* --------------------------------------------------------------------------
   Role picker (contact form)
   -------------------------------------------------------------------------- */
.role-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.role-pills label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--color-line);
  background: var(--color-surface); font-size: 15px; font-weight: 500;
}
.role-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role-pills label:has(input:checked) { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-paper); }
.role-pills label:has(input:focus-visible) { outline: 3px solid var(--color-accent); outline-offset: 3px; }
