:root {
  --pine: #164A45;
  --pine-deep: #0F3532;
  --amber: #F2B84B;
  --amber-soft: #F8DDA3;
  --canvas: #F4F6F5;
  --ink: #17212B;
  --ink-soft: #4B5A63;
  --mist: #DCE5E1;
  --mist-soft: #E9EFEC;
  --coral: #C85C4A;
  --white: #FFFFFF;
  --max: 1120px;
  --radius: 18px;
  --display: "Bricolage Grotesque", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --body: "Manrope", "SF Pro Text", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); font-variation-settings: "opsz" 96, "wdth" 92; }
h2 { font-size: clamp(30px, 4.5vw, 44px); font-variation-settings: "opsz" 48, "wdth" 96; }
h3 { font-size: 21px; font-variation-settings: "opsz" 24; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 34ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* the mark: a thin amber line with two deliberate gaps */
.hz { width: 120px; height: 2px; background: linear-gradient(90deg, var(--amber) 0 46%, transparent 46% 52%, var(--amber) 52% 80%, transparent 80% 86%, var(--amber) 86%); }
.hz.on-light { background: linear-gradient(90deg, var(--pine) 0 46%, transparent 46% 52%, var(--pine) 52% 80%, transparent 80% 86%, var(--pine) 86%); }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand .hz { width: 44px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-pine { color: var(--white); }
.nav-links a.btn-pine:hover { color: var(--white); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 16px; line-height: 1; border: 0; cursor: pointer; }
.btn-pine { background: var(--pine); color: var(--white); }
.btn-pine:hover { background: var(--pine-deep); }
.btn-amber { background: var(--amber); color: var(--pine-deep); }
.btn-amber:hover { background: #EAA92E; }
.btn-quiet { background: var(--mist); color: var(--ink); }
.btn-quiet:hover { background: #CFDBD6; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding-top: 40px; padding-bottom: 80px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .hz { margin-bottom: 6px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14px; color: var(--ink-soft); }
.hero-note strong { color: var(--ink); }

/* phone */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone { width: 320px; aspect-ratio: 320 / 660; border-radius: 48px; background: #0B1214; padding: 12px; box-shadow: 0 30px 60px rgba(15, 53, 50, 0.28), inset 0 0 0 2px #2A3538; position: relative; }
.screen { width: 100%; height: 100%; border-radius: 38px; background: var(--canvas); overflow: hidden; display: flex; flex-direction: column; font-size: 13px; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; font-weight: 700; font-size: 13px; color: var(--ink); }
.statusbar .airplane { display: inline-flex; align-items: center; gap: 5px; color: var(--pine); font-weight: 800; }
.statusbar .airplane svg { width: 14px; height: 14px; }
.app-title { padding: 22px 22px 6px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.app-sub { padding: 0 22px 12px; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2FB36F; }
.langbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 0 16px 12px; align-items: center; }
.langbar .lang { background: var(--mist); border-radius: 10px; padding: 8px; text-align: center; }
.langbar .lang small { display: block; color: var(--ink-soft); font-size: 10px; }
.langbar .lang b { color: var(--pine); font-size: 13px; }
.langbar .swap { width: 30px; height: 30px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--pine); font-weight: 800; }
.menu { margin: 0 16px; background: #FFFDF8; border-radius: 12px; padding: 12px 14px; box-shadow: inset 0 0 0 1px #E6E1D3; font-size: 12px; line-height: 1.7; color: #3A3A36; transform: rotate(-1.2deg); }
.menu .jp { font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; }
.answer { margin: 12px 16px 0; background: var(--pine); color: var(--white); border-radius: 14px; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; position: relative; }
.answer .hz { width: 60px; margin-bottom: 8px; }
.answer b { color: var(--amber); }
.answer .cursor { display: inline-block; width: 7px; height: 13px; background: var(--amber); vertical-align: -2px; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
.mic { margin-top: auto; align-self: center; margin-bottom: 22px; width: 62px; height: 62px; border-radius: 50%; background: var(--pine); display: grid; place-items: center; }
.mic svg { width: 26px; height: 26px; color: var(--white); }
.hero-badge { position: absolute; right: -8px; top: 64px; background: var(--white); border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 30px rgba(23, 33, 43, 0.12); font-size: 13px; font-weight: 700; display: grid; gap: 2px; }
.hero-badge small { font-weight: 500; color: var(--ink-soft); }
@keyframes blink { 50% { opacity: 0; } }

/* reveal: one orchestrated moment on load */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s } .reveal.d2 { animation-delay: .18s } .reveal.d3 { animation-delay: .28s } .reveal.d4 { animation-delay: .42s }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } .answer .cursor { animation: none; } }

/* sections */
section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: 40px; }
.section-head .hz { margin-bottom: 4px; }

/* what it does: a list with one column of large names, not a card grid */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--mist); }
.job { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--mist); align-items: start; }
.job svg { width: 30px; height: 30px; color: var(--pine); margin-top: 2px; }
.job h3 { margin-bottom: 4px; }
.job p { color: var(--ink-soft); font-size: 15.5px; }

/* offline: dark band */
.band { background: var(--pine-deep); color: var(--white); border-radius: 28px; padding: 64px 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.band h2 { color: var(--white); }
.band .lede { color: rgba(255,255,255,0.78); }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.band li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16px; color: rgba(255,255,255,0.9); }
.band li svg { width: 20px; height: 20px; color: var(--amber); margin-top: 3px; }
.band li b { color: var(--white); }
.bars { display: flex; gap: 10px; align-items: flex-end; height: 120px; justify-content: center; position: relative; width: 150px; margin: 0 auto; }
.bars::after { content: ""; position: absolute; left: -10px; right: -10px; top: 50%; height: 4px; background: var(--amber); border-radius: 2px; transform: rotate(-32deg); }
.bars span { width: 26px; background: rgba(255,255,255,0.18); border-radius: 6px 6px 3px 3px; }
.bars span:nth-child(1) { height: 30% } .bars span:nth-child(2) { height: 50% } .bars span:nth-child(3) { height: 70% } .bars span:nth-child(4) { height: 90% }
.bars-caption { text-align: center; margin-top: 16px; font-family: var(--display); font-size: 22px; color: var(--amber); }

/* friend pass */
.pass { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.pass-card { background: var(--pine); color: var(--white); border-radius: 24px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 24px 50px rgba(15, 53, 50, 0.22); }
.pass-card .hz { width: 100%; }
.pass-card .code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 42px; font-weight: 800; letter-spacing: 0.22em; color: var(--amber); text-align: center; padding: 10px 0; }
.pass-card .cta { background: var(--white); color: var(--pine); border-radius: 12px; padding: 12px; text-align: center; font-weight: 800; }
.pass-card small { color: rgba(255,255,255,0.75); text-align: center; }
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--pine-deep); font-family: var(--display); font-weight: 800; display: grid; place-items: center; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* price */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: var(--white); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; border: 1px solid var(--mist); }
.tier.lead { background: var(--amber-soft); border-color: var(--amber); }
.tier .amount { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.tier .amount small { font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.tier p { color: var(--ink-soft); font-size: 15px; }

/* faq */
.faq { display: grid; gap: 4px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--mist); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pine); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-soft); max-width: 62ch; }

/* footer */
footer { border-top: 1px solid var(--mist); padding: 36px 0 48px; color: var(--ink-soft); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--ink-soft); }

/* legal pages */
.legal { max-width: 720px; padding: 24px 0 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin: 18px 0 8px; }
.legal .meta { color: var(--ink-soft); margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { color: #2E3A42; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 36px; }
  .nav .btn .long { display: none; }
  section { padding-top: 60px; padding-bottom: 60px; }
  .band, .pass { grid-template-columns: 1fr; }
  .band { padding: 44px 26px; }
  .jobs { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .brand { white-space: nowrap; }
  .nav .btn { padding: 12px 16px; font-size: 14px; }
  .phone { width: 280px; }
  .phone-stage { flex-direction: column; align-items: center; gap: 14px; }
  .hero-badge { position: static; text-align: center; }
}
