:root {
  --ink: #17332c;
  --ink-deep: #0d241f;
  --paper: #f4efe4;
  --paper-light: #fbf8f0;
  --paper-dark: #e8dfcf;
  --leaf: #2f735e;
  --sun: #f5b74b;
  --terracotta: #cb6847;
  --blue: #5c7d8c;
  --line: rgba(23, 51, 44, .17);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(245, 183, 75, .18), transparent 26rem),
    linear-gradient(rgba(23, 51, 44, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 51, 44, .035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 32px 32px, 32px 32px, auto;
  font-family: var(--sans);
  line-height: 1.65;
}

a { color: inherit; }
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 50% 50% 46% 54%;
  font-family: var(--serif);
  font-size: 20px;
  transform: rotate(-4deg);
}
.brand > span:last-child { display: grid; line-height: 1.1; }
.brand strong { letter-spacing: .08em; }
.brand small { margin-top: 5px; color: var(--leaf); font-size: 9px; letter-spacing: .24em; }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { position: relative; color: var(--ink); font-size: 14px; text-decoration: none; }
.site-header nav a::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  min-height: 760px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 32px 112px;
}
.eyebrow, .section-index { margin: 0 0 20px; color: var(--terracotta); font-size: 11px; font-weight: 700; letter-spacing: .24em; }
.hero h1, .manifesto h2, .privacy-callout h2, .policy-meta h1, .unavailable-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
}
.hero h1 { font-size: clamp(52px, 6.2vw, 88px); letter-spacing: -.045em; }
.hero h1 em { color: var(--terracotta); font-style: normal; }
.hero-intro { max-width: 620px; margin: 34px 0 0; color: rgba(23, 51, 44, .78); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(23, 51, 44, .12); }
.button.primary { color: var(--paper-light); background: var(--ink); }
.button.quiet { background: rgba(255, 255, 255, .25); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 560px; margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 3px; }
.hero-facts dt { color: rgba(23, 51, 44, .55); font-size: 11px; letter-spacing: .12em; }
.hero-facts dd { margin: 0; font-size: 13px; font-weight: 700; }

.journey-board {
  position: relative;
  min-height: 570px;
  padding: 42px;
  overflow: hidden;
  background: var(--ink-deep);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 40px 8px 40px 8px;
  box-shadow: 24px 28px 0 var(--paper-dark), 0 30px 80px rgba(13, 36, 31, .26);
  color: var(--paper-light);
  transform: rotate(1.2deg);
}
.journey-board::before { content: ""; position: absolute; inset: 0; opacity: .22; background: repeating-radial-gradient(ellipse at 110% 110%, transparent 0 38px, rgba(244,239,228,.5) 40px 41px); }
.board-topline { position: relative; display: flex; justify-content: space-between; color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .1em; }
.trip-card, .chat-card { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.14); }
.trip-card { margin-top: 38px; padding: 28px; background: rgba(244, 239, 228, .08); border-radius: 4px 24px 4px 24px; }
.card-label { margin: 0; color: var(--sun); font-size: 10px; letter-spacing: .2em; }
.trip-card h2 { margin: 8px 0 18px; font-family: var(--serif); font-size: 29px; }
.trip-card > p:last-child { margin: 14px 0 0; color: rgba(255,255,255,.66); font-size: 13px; }
.route-points { display: flex; align-items: center; justify-content: space-between; }
.route-points::before { content: ""; position: absolute; right: 31px; left: 31px; height: 1px; background: rgba(245,183,75,.5); }
.route-points i { z-index: 1; width: 10px; height: 10px; background: var(--sun); border: 3px solid var(--ink-deep); border-radius: 50%; outline: 1px solid var(--sun); }
.chat-card { margin: 20px 0 0 54px; padding: 22px; background: var(--paper-light); border-radius: 22px 5px 22px 5px; color: var(--ink); }
.chat-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-weight: 700; }
.live-dot { color: var(--leaf); font-size: 11px; }
.live-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--leaf); border-radius: 50%; }
.message { width: fit-content; max-width: 88%; margin: 9px 0; padding: 9px 12px; border-radius: 13px; font-size: 12px; }
.message.peer { background: var(--paper-dark); }
.message.mine { margin-left: auto; background: #d9eadf; }
.message.ai { color: var(--paper-light); background: var(--leaf); }
.message.ai b { margin-right: 6px; color: var(--sun); }
.stamp { position: absolute; right: 24px; bottom: 20px; display: grid; width: 92px; height: 92px; place-content: center; border: 1px solid rgba(245,183,75,.66); border-radius: 50%; color: var(--sun); text-align: center; transform: rotate(-9deg); }
.stamp::before { content: ""; position: absolute; inset: 6px; border: 1px dashed currentColor; border-radius: 50%; }
.stamp span { font-size: 8px; letter-spacing: .25em; }
.stamp strong { font-family: var(--serif); font-size: 12px; }

.manifesto { display: grid; grid-template-columns: minmax(180px, .35fr) 1fr; gap: 48px; max-width: 1240px; margin: 0 auto; padding: 108px 32px 84px; border-top: 1px solid var(--line); }
.manifesto h2, .privacy-callout h2 { font-size: clamp(40px, 4.5vw, 68px); letter-spacing: -.035em; }
.manifesto > div p { max-width: 650px; margin: 30px 0 0; color: rgba(23,51,44,.72); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1240px; margin: 0 auto; padding: 0 32px 120px; }
.feature { position: relative; min-height: 390px; padding: 40px; overflow: hidden; border: 1px solid var(--line); }
.feature:nth-child(1) { border-radius: 34px 0 0 0; }
.feature:nth-child(2) { border-radius: 0 34px 0 0; }
.feature:nth-child(3) { border-radius: 0 0 0 34px; }
.feature:nth-child(4) { border-radius: 0 0 34px 0; }
.feature h3 { margin: 58px 0 12px; font-family: var(--serif); font-size: 28px; }
.feature > p { max-width: 470px; color: rgba(23,51,44,.72); }
.feature-number { position: absolute; top: 35px; right: 38px; color: var(--terracotta); font-family: var(--serif); font-size: 14px; }
.feature-plan { background: rgba(255,255,255,.22); }
.feature-room { background: var(--paper-dark); }
.feature-ai { color: var(--paper-light); background: var(--leaf); }
.feature-ai > p { color: rgba(255,255,255,.74); }
.feature-memory { background: var(--sun); }
.mini-schedule { display: grid; grid-template-columns: 64px 1fr; gap: 8px 14px; margin-top: 30px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.mini-schedule i { color: var(--terracotta); font-size: 12px; font-style: normal; }
.mini-schedule b { font-size: 13px; }
.member-row { display: flex; align-items: center; margin-top: 54px; }
.member-row i { display: grid; width: 40px; height: 40px; margin-right: -8px; place-items: center; background: var(--paper-light); border: 2px solid var(--paper-dark); border-radius: 50%; font-family: var(--serif); font-style: normal; }
.member-row span { margin-left: 22px; font-size: 12px; }
.ai-ticket { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 42px; padding: 18px; color: var(--ink); background: var(--paper-light); border-radius: 3px 18px 3px 18px; transform: rotate(-1deg); }
.ai-ticket span { grid-column: 1 / -1; color: var(--leaf); font-size: 11px; }
.ai-ticket em { color: var(--terracotta); font-size: 11px; font-style: normal; }
.memory-strip { display: grid; grid-template-columns: 1.25fr 1fr .8fr; gap: 8px; height: 112px; margin-top: 40px; }
.memory-strip span { border: 1px solid rgba(23,51,44,.3); border-radius: 50% 50% 4px 4px; background: linear-gradient(150deg, transparent 45%, rgba(23,51,44,.82) 46% 52%, transparent 53%), linear-gradient(30deg, var(--terracotta), var(--paper-light)); }

.privacy-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1240px; margin: 0 auto 110px; padding: 72px; color: var(--paper-light); background: var(--ink); border-radius: 6px 48px 6px 48px; }
.privacy-callout p { color: rgba(255,255,255,.72); }
.text-link { display: inline-block; margin-top: 24px; color: var(--sun); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
footer { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: end; max-width: 1240px; margin: 0 auto; padding: 44px 32px 60px; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 34px; }
.footer-links { display: grid; gap: 4px; font-size: 12px; }
footer > small { color: rgba(23,51,44,.55); text-align: right; }

.policy-body { background-color: var(--paper-light); }
.policy-header { position: sticky; top: 0; max-width: none; padding-inline: max(32px, calc((100vw - 1240px) / 2)); background: rgba(244,239,228,.92); backdrop-filter: blur(18px); }
.policy-shell { display: grid; grid-template-columns: minmax(260px, .34fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); max-width: 1240px; margin: 0 auto; padding: 80px 32px 120px; }
.policy-meta { position: sticky; top: 130px; align-self: start; }
.policy-meta h1 { font-size: clamp(42px, 5vw, 65px); letter-spacing: -.04em; }
.policy-meta dl { margin: 38px 0; border-top: 1px solid var(--line); }
.policy-meta dl div { display: grid; grid-template-columns: 78px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.policy-meta dt { color: rgba(23,51,44,.55); font-size: 12px; }
.policy-meta dd { margin: 0; font-size: 12px; font-weight: 700; }
.policy-summary { color: rgba(23,51,44,.62); font-size: 12px; }
.policy-content { min-width: 0; }
.policy-lead { padding: 32px; background: var(--paper-dark); border-radius: 4px 28px 4px 28px; font-family: var(--serif); font-size: 19px; }
.policy-content > section { margin-bottom: 66px; }
.policy-content h2 { display: flex; gap: 16px; align-items: baseline; margin: 0 0 22px; font-family: var(--serif); font-size: 28px; }
.policy-content h2 span { color: var(--terracotta); font-family: var(--sans); font-size: 10px; letter-spacing: .16em; }
.policy-content p, .policy-content li { color: rgba(23,51,44,.82); }
.policy-content a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-content strong { color: var(--ink-deep); }
.policy-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 4px 22px 4px 22px; background: rgba(255,255,255,.3); }
.policy-content table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
.policy-content th, .policy-content td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-content th { color: var(--paper-light); background: var(--ink); font-size: 11px; letter-spacing: .08em; }
.policy-content tbody tr:last-child td { border-bottom: 0; }
.policy-content td:first-child { width: 19%; font-weight: 700; }
.policy-content ul { padding-left: 20px; }
.policy-content li { margin-bottom: 10px; }
.policy-footer { display: flex; justify-content: space-between; padding: 26px 0; }

.unavailable-body { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.unavailable-card { width: min(680px, 100%); padding: clamp(34px, 8vw, 72px); background: var(--paper-light); border: 1px solid var(--line); border-radius: 42px 8px 42px 8px; box-shadow: 22px 24px 0 var(--paper-dark); }
.unavailable-card .eyebrow { margin-top: 54px; }
.unavailable-card h1 { font-size: clamp(38px, 7vw, 62px); }
.unavailable-card > p:not(.eyebrow) { margin: 28px 0; color: rgba(23,51,44,.7); }

@media (max-width: 850px) {
  .site-header { padding: 20px; }
  .site-header nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding: 60px 20px 90px; }
  .journey-board { min-height: 530px; padding: 28px; box-shadow: 12px 14px 0 var(--paper-dark); }
  .manifesto, .privacy-callout, .policy-shell { grid-template-columns: 1fr; }
  .manifesto { padding: 88px 20px 64px; }
  .feature-grid { grid-template-columns: 1fr; padding: 0 20px 88px; }
  .feature { min-height: 350px; border-radius: 0 !important; }
  .feature:first-child { border-radius: 28px 28px 0 0 !important; }
  .feature:last-child { border-radius: 0 0 28px 28px !important; }
  .privacy-callout { gap: 30px; margin: 0 20px 80px; padding: 42px 28px; }
  footer { grid-template-columns: 1fr; padding-inline: 20px; }
  footer > small { text-align: left; }
  .policy-shell { padding: 54px 20px 80px; }
  .policy-meta { position: static; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero h1 { font-size: 49px; }
  .hero-intro { font-size: 16px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts div { grid-template-columns: 68px 1fr; }
  .journey-board { min-height: 500px; }
  .chat-card { margin-left: 18px; }
  .stamp { display: none; }
  .manifesto h2, .privacy-callout h2 { font-size: 40px; }
  .feature { padding: 28px; }
  .policy-header nav { display: block; }
  .policy-content h2 { font-size: 24px; }
  .policy-lead { padding: 24px; font-size: 17px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .journey-board { animation: board-in .8s .12s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes board-in { from { opacity: 0; transform: translateY(28px) rotate(3deg); } to { opacity: 1; transform: translateY(0) rotate(1.2deg); } }
}
