/* Dawn Library: a quiet, ink-dark palette with aged brass accents. */
:root {
  --bg: #0b0a09;
  --bg-soft: #14110e;
  --paper: #17130f;
  --paper-2: #211a13;
  --ink: #efe7d8;
  --text: #f1e8d9;
  --muted: #a99b86;
  --line: rgba(200, 166, 106, .18);
  --line-dark: rgba(200, 166, 106, .23);
  --acid: #c8a66a;
  --violet: #a78452;
  --blue: #d8ba83;
  --serif: "Noto Serif KR", Georgia, serif;
}

body { background: var(--bg); }
html[lang="ja"] { --sans: "Noto Sans JP", Arial, sans-serif; --serif: "Noto Serif JP", Georgia, serif; }
i, em, .serif { font-style: normal; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
::selection { background: #a78452; color: #0b0a09; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.noise { opacity: .055; }
.spotlight {
  background: radial-gradient(circle, rgba(185, 137, 71, .12), transparent 68%);
}
.section-num, .eyebrow, .demo-kicker, .modal-kicker, .rec-index,
.panel-title span, .demo-step > span { color: var(--acid); }
.serif { color: #ddbb82; }

/* A restrained, bookplate-like masthead. */
.site-nav {
  border-color: var(--line);
  background: rgba(12, 10, 8, .9);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  justify-content: flex-start;
}
.brand, .brand-mark, .brand-name { color: #e4c58e; }
.nav-links, .nav-actions { margin-left: auto; }
.nav-primary { white-space: nowrap; }
.nav-links a, .nav-ghost { color: #b1a18b; }
.nav-links a:hover, .nav-ghost:hover { color: #f0dfc3; }
.nav-primary, .btn-light, .search-box button, .btn-dark {
  background: var(--acid);
  color: #15100b;
  box-shadow: none;
}
.nav-primary:hover, .btn-light:hover, .search-box button:hover, .btn-dark:hover {
  background: #dfbf88;
}
.menu-btn span { background: var(--acid); }
.language-control { position: relative; flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; margin-left: 8px; border: 1px solid var(--line-dark); border-radius: 7px; background: #17130f; color: #e4c58e; }
.language-control:hover { border-color: var(--acid); color: #f3d9a6; }
.language-control:focus-within { outline: 2px solid var(--acid); outline-offset: 2px; }
.language-globe { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; pointer-events: none; }
.language-control select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.app-screens { border-top: 1px solid var(--line); }
.app-screens-heading { max-width: 720px; margin-bottom: 44px; }
.app-screens-heading h2 { margin: 16px 0 14px; font-size: clamp(38px, 4.5vw, 68px); line-height: 1.15; letter-spacing: -.055em; }
.app-screens-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.app-screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-screen { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line-dark); border-radius: 14px; background: #17130f; }
.app-screen img { display: block; width: 100%; height: auto; border-radius: 7px; }
.app-screen figcaption { display: flex; align-items: baseline; gap: 12px; padding: 18px 4px 3px; }
.app-screen figcaption span { color: var(--acid); font: 500 11px var(--mono); }
.app-screen figcaption b { font-size: 16px; font-weight: 500; color: #ead8ba; }

@media (max-width: 1100px) {
  .language-control { margin-left: auto; }
  .menu-btn { margin-left: 8px; }
  .site-nav.mobile-open .nav-actions { margin-left: 0; }
}

@media (max-width: 760px) {
  .app-screens { overflow: hidden; }
  .app-screen-grid { grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  .app-screen { scroll-snap-align: start; }
}

/* Typography and light falloff resemble a lamp over a reading desk. */
.hero::before {
  background: radial-gradient(ellipse at 76% 35%, rgba(164, 111, 46, .19), transparent 38%),
              radial-gradient(ellipse at 10% 80%, rgba(91, 60, 28, .1), transparent 45%);
}
.hero::after {
  content: "";
  position: absolute;
  left: max(5vw, 44px);
  right: max(5vw, 44px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 166, 106, .38), transparent);
}
.hero h1, .section-heading h2, .shelf-copy h2, .principles-title h2, .cta-card h2 {
  letter-spacing: -.055em;
}
.hero h1 .serif { color: #e4bd7b; }
.hero-lead, .section-heading p, .shelf-copy > p { color: #b4a792; }
.hero-lead strong, .hero-meta b { color: #efe3d0; }
.text-link { color: #d0b78f; }
.hero-meta span, .hero-meta small { color: #927e62; }
.hero-meta { border-color: var(--line); }
.status-dot { box-shadow: 0 0 14px rgba(200, 166, 106, .45); }
.stage-orbit { border-color: rgba(200, 166, 106, .1); }
.orbit-a::after, .orbit-b::after { box-shadow: 0 0 18px rgba(200, 166, 106, .4); }

/* The product preview reads as a dark cabinet with brass details. */
.glass-window, .dashboard-shell, .modal-card {
  border-color: rgba(200, 166, 106, .24);
  background: #15110e;
  border-radius: 13px;
}
.window-bar, .dash-topbar { border-color: var(--line); }
.window-chip { border-color: var(--line-dark); }
.traffic i { background: #5b4a35; }
.product-sidebar, .dash-side { border-color: var(--line); }
.side-icon.active, .dash-side button.active, .dash-range button.active {
  background: #302418;
  color: #e9d3ad;
}
.avatar-mini, .bubble.ai { background: #2b241b; color: #e3d5c0; }
.bubble.user { background: #c8a66a; color: #18120b; }
.signal i, .availability i { background: #c8a66a; }
.choice-row button, .suggestions button { border-color: var(--line-dark); color: #c2ae8e; }
.choice-row button:hover, .suggestions button:hover { border-color: var(--acid); color: #f1e8d9; }
.recommendation {
  border-color: rgba(200, 166, 106, .35);
  background: linear-gradient(120deg, rgba(200, 166, 106, .12), rgba(200, 166, 106, .025));
}
.book-a { background: linear-gradient(135deg, #d4ba8d, #927049); color: #1b140c; }
.turn-progress { background: #3b2f21; }
.floating-tag { background: rgba(24, 18, 13, .92); border-color: var(--line-dark); }

/* Every main section stays dark; gold carries the hierarchy. */
.trust-line { border-color: var(--line); }
.trust-line p { color: #a99b86; }
.trust-line p b { color: #dec397; }
.trust-capsules span { border-color: var(--line-dark); color: #a99b86; }
.feature-dialogue, .feature-fast, .shelf, .principles, .insight, .cta {
  background: var(--bg);
  color: var(--text);
}
.feature-card {
  border: 1px solid var(--line-dark);
  background: #17130f;
  border-radius: 14px;
}
.feature-card > p { opacity: 1; color: #a99b86; }
.pill { opacity: 1; color: #c8a66a; }
.feature-arrow { color: #c8a66a; }
.turn-card { background: #211a13; border-color: var(--line-dark); border-radius: 8px; }
.turn-card span { color: #c8a66a; }
.turn-line { background: var(--line-dark); }
.search-box, .search-result, .loading-row {
  background: #100e0b;
  border-color: var(--line-dark);
  border-radius: 8px;
}
.search-box input { color: var(--text); }
.search-result p, .location-pill { color: #a99b86; }
.availability-pill { background: rgba(200, 166, 106, .12); color: #dbbd88; }
.shelf-copy .section-num, .principles-title .section-num { color: var(--acid); }
.shelf-copy > p, .principle-list p { color: #a99b86; }
.shelf-copy > p b { color: #e4c58e; }
.logic-list, .logic-list div, .principle-list, .principle-list article { border-color: var(--line-dark); }
.logic-list span, .logic-list i, .principle-list article > span { color: #b49b75; }
.logic-list i { border-color: var(--line-dark); }
.availability-panel { background: #1b160f; border: 1px solid var(--line-dark); border-radius: 12px; }
.availability-panel::before { background: radial-gradient(circle, rgba(200, 166, 106, .16), transparent 67%); }
.s1 { background: #c6ad80; color: #17110b; }
.s2 { background: #654b35; color: #f2e4ce; }
.s3 { background: #aa8250; color: #17110b; }
.s4 { background: #483626; color: #f2e4ce; }
.you-are { background: #e7d3af; color: #17110b; }
.map-path { border-color: rgba(200, 166, 106, .7); }
.connector-chip { background: #211a13; color: #e8d5b3; border-color: var(--line-dark); }
.connector-chip span { color: var(--acid); }
.metric-card, .chart-card, .demand-card { background: #100d0a; border-color: var(--line-dark); }
.metric-card small, .demand-list b { color: #d6b67e; }
.principle-list article h3 { color: #e8d7b8; }
.founder-preview { display: grid; grid-template-columns: 74px minmax(0,1fr) auto; align-items: center; gap: 22px; margin-top: 68px; padding: 15px 23px 15px 15px; border: 1px solid var(--line-dark); border-radius: 10px; background: #17130f; color: #eadbc1; text-decoration: none; }
.founder-preview:hover { border-color: rgba(200,166,106,.55); background: #1d170f; }
.founder-preview img { width: 74px; height: 83px; object-fit: cover; object-position: center 25%; border-radius: 5px; }
.founder-preview span { display: grid; gap: 3px; min-width: 0; }
.founder-preview small { color: #b29367; font: 500 9px var(--mono); letter-spacing: .1em; }
.founder-preview b { font-size: 17px; }
.founder-preview em { color: #a99b86; font-size: 11px; font-style: normal; line-height: 1.5; }
.founder-preview strong { color: #c8a66a; font-size: 20px; font-weight: 400; }
.cta-card {
  background: radial-gradient(ellipse at 85% 15%, rgba(125, 83, 37, .25), transparent 45%), #1d160e;
  border: 1px solid rgba(200, 166, 106, .45);
  color: #efe2cc;
  border-radius: 14px;
}
.cta-card .serif { color: #e8be7c; }
.cta-card p { color: #bba789; }
.section-num.light { color: #c8a66a; }
.btn-outline { border-color: rgba(200, 166, 106, .55); color: #e7c78e; }
.cta-orb, .cta-orb::before, .cta-orb::after { border-color: rgba(200, 166, 106, .16); }

/* The modal and small-screen controls share the same materials. */
.modal-card { color: var(--text); }
.modal-close { border-color: var(--line-dark); color: #d0b78f; }
.phone-frame { background: #d8c7a9; border-color: #362819; }
.phone-logo { background: #241a10; color: #d9b676; }
.phone-bubble.ai { background: #c8b596; }
.phone-bubble.user { background: #3a2b1b; }
.phone-cover { background: #765736; }
.phone-book small { color: #705327; }
.contact-card input, .contact-card textarea { background: #100d0a; border-color: var(--line-dark); }
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--acid); }
.contact-card > p a, .policy-copy a { color: #e4c58e; }
.footer-legal { display: flex; flex-direction: column; gap: 7px; }
.form-success span { color: #17110b; }
.policy-copy { color: #b9aa93; }
.policy-copy h3 { color: #ead6b7; }

@media (max-width: 760px) {
  .language-control { margin-left: auto; }
  .language-control { flex-basis: 34px; width: 34px; height: 34px; }
  .shelf-grid { grid-template-columns: minmax(0, 1fr); }
  .shelf-copy, .shelf-visual { min-width: 0; }
  .logic-list div { grid-template-columns: 110px minmax(0, 1fr); }
  .logic-list b { min-width: 0; overflow-wrap: anywhere; }
  html[lang="en"] .shelf-copy h2 { font-size: clamp(32px, 9.5vw, 43px); }
  .hero::after { left: 20px; right: 20px; }
  .hero h1 { font-size: clamp(43px, 12vw, 54px); }
  .hero-stage { overflow: hidden; }
  .feature-card { border-radius: 12px; }
  .cta-card { border-radius: 12px; }
  .founder-preview { grid-template-columns: 58px minmax(0,1fr) auto; gap: 12px; padding: 10px; margin-top: 48px; }
  .founder-preview img { width: 58px; height: 72px; }
  .founder-preview b { font-size: 13px; }
  .founder-preview em { font-size: 9px; }
}
