/* Orihada website. Paper & steel, matching the app. No web fonts or third-party requests. */
:root {
  --paper: #f5f2eb;
  --paper-2: #ebe6db;
  --card: #fcfaf6;
  --ink: #1d1c19;
  --muted: #69645a;
  --faint: #9a9488;
  --line: #e0d9cb;
  --line-strong: #c9c0ae;
  --shu: #c4472f;
  --shu-text: #a3341f;
  --steel: #16181b;
  --steel-2: #23272c;
  --steel-text: #e9e7e2;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16181b; --paper-2: #1f2226; --card: #23272c; --ink: #e9e7e2; --muted: #a3a6aa; --faint: #6d7278;
    --line: #2b2f34; --line-strong: #3c4147; --shu: #e0644b; --shu-text: #f0a08c; --steel: #0e1012; --steel-2: #1a1d21;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #16181b; --paper-2: #1f2226; --card: #23272c; --ink: #e9e7e2; --muted: #a3a6aa; --faint: #6d7278;
  --line: #2b2f34; --line-strong: #3c4147; --shu: #e0644b; --shu-text: #f0a08c; --steel: #0e1012; --steel-2: #1a1d21;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--shu-text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 19px; }
p { margin: 0; }
code { font: 14px ui-monospace, Consolas, monospace; background: var(--paper-2); padding: 1px 5px; border-radius: 3px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--shu-text); margin-bottom: 14px; }

/* the mark: a folded, blade-like edge (ink + vermilion) */
.mark { position: relative; display: inline-block; width: 22px; height: 22px; flex: none; }
.mark::before, .mark::after { content: ""; position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.mark::before { background: var(--ink);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 22L18 2L12.5 22Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 22L18 2L12.5 22Z'/%3E%3C/svg%3E"); }
.mark::after { background: var(--shu);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2L17.5 22L12.5 22Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 2L17.5 22L12.5 22Z'/%3E%3C/svg%3E"); }
.mark.big { width: 46px; height: 46px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wordmark { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.nav nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--ink); border: 1px solid var(--line-strong); padding: 6px 14px; border-radius: 4px; }
@media (max-width: 640px) { .nav nav a:not(.nav-cta) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 4px; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.primary:hover { box-shadow: inset 0 -3px 0 var(--shu); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }

/* hero */
.hero { text-align: center; padding: clamp(40px, 8vw, 96px) 0 0; position: relative; }
.hero::before { /* a single fold line across the page */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -72px; width: 200vw; height: 1px; background: var(--line-strong); opacity: .55;
  transform: translateX(-50%) rotate(-9deg); transform-origin: center; }
.hero h1 { font-size: clamp(42px, 7.4vw, 84px); line-height: 1.02; letter-spacing: -.02em; }
.lede { max-width: 600px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 19.5px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.meta { margin-top: 16px; font-size: 13.5px; color: var(--faint); }
.meta a { color: var(--muted); }

.shot { margin: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--card);
  box-shadow: 0 1px 2px rgba(40,30,10,.06), 0 24px 60px -20px rgba(40,30,10,.28); }
.hero-shot { margin-top: clamp(40px, 6vw, 64px); }

/* pain points */
.why { padding: clamp(72px, 10vw, 128px) 0 0; }
.why h2 { max-width: 640px; }
.vs { margin-top: 36px; border-top: 1px solid var(--line); }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.no { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--shu); text-decoration-thickness: 1.5px; }
.yes { font-weight: 500; }
@media (max-width: 640px) { .vs-row { grid-template-columns: 1fr; gap: 4px; } }

/* features */
.features { padding: clamp(72px, 10vw, 128px) 0 0; display: grid; gap: clamp(64px, 9vw, 112px); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature.reverse .feature-text { order: 2; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text p { color: var(--muted); }
.text-link { display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.reverse .feature-text { order: 0; } }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card { background: var(--card); padding: 26px 24px; position: relative; }
.card::before { content: ""; position: absolute; left: 24px; top: 0; width: 22px; height: 2px; background: var(--shu); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* steel band */
.themes { margin-top: clamp(80px, 11vw, 140px); padding: clamp(64px, 9vw, 112px) 0; background:
  repeating-linear-gradient(97deg, rgba(255,255,255,.02) 0 1px, transparent 1px 7px),
  repeating-linear-gradient(83deg, rgba(255,255,255,.014) 0 1px, transparent 1px 11px), var(--steel); color: var(--steel-text); text-align: center; }
.themes p { max-width: 560px; margin: 16px auto 40px; color: #a3a6aa; }
.themes .shot { border-color: #2b2f34; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }

/* name */
.name { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; max-width: 820px; padding: clamp(72px, 10vw, 128px) 0 0; }
.name-kanji { font-family: var(--serif); font-size: clamp(56px, 9vw, 92px); line-height: 1.05; color: var(--ink); border-right: 2px solid var(--shu); padding-right: clamp(20px, 4vw, 44px); }
.name h2 { font-size: 24px; margin-bottom: 12px; }
.name p { color: var(--muted); font-size: 17px; }

/* faq */
.faq { max-width: 820px; padding: clamp(72px, 10vw, 128px) 0 0; }
.faq h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 24px/1 var(--sans); color: var(--faint); transition: transform .15s; }
details[open] > summary::after { transform: rotate(45deg); color: var(--shu); }
details > p { padding: 0 0 20px; color: var(--muted); }

/* final */
.final { text-align: center; padding: clamp(88px, 12vw, 150px) 0 clamp(64px, 9vw, 112px); }
.final h2 { margin: 18px 0 28px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-row .muted { flex: 1; }
.logo.small .mark { width: 18px; height: 18px; }
.hashes { border: 0; margin-top: 14px; }
.hashes summary { font-weight: 500; color: var(--muted); padding: 6px 24px 6px 0; display: inline-block; }
.hashes summary::after { top: 2px; font-size: 20px; }
.hashes dl { margin: 6px 0 0; font-size: 13px; }
.hashes dt { color: var(--muted); margin-top: 8px; }
.hashes dd { margin: 0; font: 12.5px ui-monospace, Consolas, monospace; word-break: break-all; }
