/* Chamber website: one stylesheet, edited by hand.
   The app's own look: a darkroom ground (#0A0B0B), amber readouts (#F0B449),
   Special Gothic (one variable face: wide and heavy for display, narrow for
   plaques and labels), and a little film grain over everything.
   No inline styles anywhere (the Content-Security-Policy allows only this file). */

@font-face {
  font-family: "Special Gothic";
  src: url("../fonts/SpecialGothic-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --ink: #0a0b0b;
  --ink-2: #0f1011;
  --card: #141517;
  --card-2: #1b1d20;
  --line: rgba(237, 237, 234, 0.08);
  --line-2: rgba(237, 237, 234, 0.15);
  --text: #ededea;
  --text-2: #a7a9ab;
  --text-3: #74777a;
  --amber: #f0b449;
  --amber-2: #f6c96f;
  --amber-dim: rgba(240, 180, 73, 0.13);
  --gold: #c9a24b;
  --steel: #9db3c8;
  --rust: #e08a66;
  --moss: #a8bd84;
  --teal: #4db7c4;
  --wrap: 1120px;
  --gut: clamp(18px, 4.5vw, 40px);
  --r: 20px;
  --r-l: 28px;
  --font: "Special Gothic", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans",
          "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::after {               /* the grain */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("../img/grain.png");
  opacity: 0.55;
  z-index: 50;
}
:lang(ja) body, body:lang(ja) { line-height: 1.75; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--text); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.i { width: 20px; height: 20px; flex: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: #1a1406; padding: 10px 14px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Display type: wide and heavy, set in capitals like the app's SHOOT / DEVELOP / ROLL. */
h1, h2, .display {
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.98;
}
h1 { font-size: clamp(40px, 7.4vw, 92px); font-weight: 400; color: var(--text-2); }
h2 { font-size: clamp(28px, 4.4vw, 54px); font-weight: 400; color: var(--text-2); }
h1 strong, h2 strong { font-weight: 700; color: var(--text); display: inline; }
:lang(ja) h1, :lang(ja) h2 { line-height: 1.22; letter-spacing: 0; }

/* Plaques: the app's narrow capitals, amber, with a leading rule. */
.eyebrow {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-stretch: 75%; font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.9; }
.eyebrow .i { width: 18px; height: 18px; }
.lead { color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 640px; }
.small { color: var(--text-3); font-size: 14px; }
.small a, .lead a, .prose a, .more { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-stretch: 75%; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; vertical-align: 2px;
}
.tag-new { color: var(--amber); background: var(--amber-dim); box-shadow: inset 0 0 0 1px rgba(240, 180, 73, 0.32); }
.tag-pro { color: #1c1506; background: var(--gold); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 11, 11, 0.78);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand span { font-stretch: 125%; font-weight: 700; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 6px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none;
  font-stretch: 75%; font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(237, 237, 234, 0.06); }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 10px; color: var(--text-2); font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); }
.lang summary .i { width: 17px; height: 17px; }
.lang .chev { transition: transform 0.2s ease; }
.lang[open] .chev { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px;
  background: var(--card-2); border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.lang li a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--text-2); font-size: 15px; }
.lang li a:hover { background: rgba(237, 237, 234, 0.06); color: var(--text); }
.lang li a[aria-current="page"] { color: var(--amber); }

@media (max-width: 760px) {
  .nav .nav-sections { display: none; }
  .lang summary span { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; position: relative; }
.hero::before {        /* the safelight */
  content: ""; position: absolute; inset: -120px 0 auto; height: 760px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(48% 42% at 50% 4%, rgba(240, 180, 73, 0.13), transparent 70%),
    radial-gradient(30% 30% at 82% 30%, rgba(224, 138, 102, 0.07), transparent 70%);
}
.hero-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
.app-name {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(237, 237, 234, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; color: var(--text);
}
.app-name-icon { width: 34px; height: 34px; border-radius: 9px; }
.hero-tag { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; color: var(--text-2); font-size: 15px; margin: 0 0 26px; }
.hero h1 { max-width: 15ch; margin: 0 auto 24px; }
:lang(ja) .hero h1 { max-width: 13em; }
.hero .lede { color: var(--text-2); font-size: clamp(17px, 1.8vw, 20px); max-width: 640px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.store { display: inline-block; border-radius: 10px; transition: transform 0.2s ease; }
.store:hover { transform: translateY(-1px); }
.cta-note { color: var(--text-3); font-size: 14px; margin: 16px 0 0; }
.hero-art { margin-top: clamp(40px, 6vw, 64px); }
.hero-art picture {
  border-radius: var(--r-l); overflow: hidden; background: #0d0e0f;
  box-shadow: 0 0 0 1px var(--line-2), 0 60px 140px -60px rgba(240, 180, 73, 0.42), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.hero-art img { width: 100%; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 128px) 0 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin-bottom: 18px; max-width: 24ch; }
:lang(ja) .section-head h2 { max-width: 20em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--card) 0%, #111214 100%);
  border-radius: var(--r); padding: 24px 24px 22px; box-shadow: inset 0 0 0 1px var(--line);
}
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.ico {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  color: var(--amber); background: var(--amber-dim); box-shadow: inset 0 0 0 1px rgba(240, 180, 73, 0.18);
}
.tint-steel .ico { color: var(--steel); background: rgba(157, 179, 200, 0.12); box-shadow: inset 0 0 0 1px rgba(157, 179, 200, 0.18); }
.tint-rust .ico { color: var(--rust); background: rgba(224, 138, 102, 0.12); box-shadow: inset 0 0 0 1px rgba(224, 138, 102, 0.18); }
.tint-moss .ico { color: var(--moss); background: rgba(168, 189, 132, 0.12); box-shadow: inset 0 0 0 1px rgba(168, 189, 132, 0.18); }
.feature h3 { font-size: 19px; font-weight: 600; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.005em; }
.feature p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; margin: 0; }
.languages { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 15px; margin: 22px 0 0; }
.languages .i { color: var(--text-3); }

/* the screens: a row of phones that scrolls sideways */
.track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 6px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 30px;
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.track:focus-visible { outline-offset: -2px; }
.track li { flex: 0 0 auto; width: min(62vw, 260px); scroll-snap-align: start; }
.phone { margin: 0; }
.phone .frame {
  padding: 7px; border-radius: 38px; background: #050506;
  box-shadow: 0 0 0 1px rgba(237, 237, 234, 0.16), 0 0 0 4px #0b0c0d, 0 0 0 5px rgba(237, 237, 234, 0.08), 0 30px 60px rgba(0, 0, 0, 0.5);
}
.phone .frame picture, .phone .frame img { border-radius: 31px; overflow: hidden; }
.phone figcaption { text-align: center; margin-top: 18px; font-size: 15px; color: var(--text-2); display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* 2.4: iPhone Duo */
.duo-card {
  border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); overflow: hidden; position: relative;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(77, 183, 196, 0.14), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(240, 180, 73, 0.08), transparent 70%),
    var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.duo .eyebrow { color: var(--teal); }
.duo .eyebrow .tag-new { margin-left: 4px; }
.duo-text h2 { margin-bottom: 18px; max-width: 16ch; }
.duo-text .lead { max-width: 720px; }
.duo-text .checks { margin: 22px 0 0; max-width: 760px; }
.duo-art { margin-top: clamp(28px, 4vw, 44px); }
.duo-art picture { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }

/* lists with a check */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.checks .i { width: 18px; height: 18px; margin-top: 3px; color: var(--amber); }
.duo .checks .i { color: var(--teal); }

/* privacy: a band of its own */
.privacy .band {
  margin: 0 clamp(0px, 1.2vw, 16px); border-radius: clamp(20px, 3vw, 36px); padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(240, 180, 73, 0.14), transparent 65%),
    radial-gradient(50% 70% at 100% 100%, rgba(224, 138, 102, 0.10), transparent 70%),
    #121315;
  box-shadow: inset 0 0 0 1px var(--line);
}
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 28px; }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }
.points .ico { margin-bottom: 18px; }
.points h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.points p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.more .i { width: 18px; height: 18px; transition: transform 0.2s ease; }
.more:hover .i { transform: translateX(3px); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 38px); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.plan-pro {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(201, 162, 75, 0.16), transparent 70%),
    var(--card);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.45), 0 40px 100px -50px rgba(201, 162, 75, 0.5);
}
.plan h3 { font-stretch: 75%; font-weight: 600; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.plan-pro h3 { color: var(--gold); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 8px; }
.amount { font-stretch: 125%; font-weight: 700; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.per { color: var(--text-2); font-size: 17px; }
.plan-sub { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.plan-alt { color: var(--text); }
.plan-lead { font-weight: 600; margin-bottom: 14px; }
.plan .checks { margin-bottom: 22px; }
.plan-pro .checks .i { color: var(--gold); }
.price-note { color: var(--text-3); font-size: 14px; margin-top: 18px; }

/* closing call */
.cta { padding-bottom: clamp(72px, 10vw, 128px); }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 24px; box-shadow: 0 30px 80px -20px rgba(240, 180, 73, 0.4); }
.cta h2 { font-size: clamp(26px, 3.6vw, 40px); color: var(--text); font-weight: 700; margin-bottom: 14px; max-width: 22ch; }
.cta .lead { margin: 0 auto 26px; }
.cta .small { margin-top: 20px; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 44px; background: #08090a; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
.disclaimer { color: var(--text-3); font-size: 14px; margin-top: 16px; max-width: 460px; }
.site-footer h2 {
  font-stretch: 75%; font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px; line-height: 1.3;
}
.site-footer ul { display: grid; gap: 9px; }
.site-footer li a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.site-footer li a:hover { color: var(--text); }
.site-footer li a[aria-current="page"] { color: var(--amber); }
.site-footer .en { color: var(--text-3); font-size: 13px; }
.foot-small { border-top: 1px solid var(--line); padding-top: 22px; }
.foot-small p { color: var(--text-3); font-size: 13px; margin: 0 0 6px; max-width: 900px; }

/* ---------------------------------------------------------------- legal + support */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(34px, 5.4vw, 64px); color: var(--text); font-weight: 700; margin-bottom: 18px; }
.page-head .meta { color: var(--text-3); font-size: 15px; }
.prose { max-width: calc(820px + 2 * var(--gut)); padding-bottom: 72px; }
.prose > p, .prose li { color: var(--text-2); }
.prose p { line-height: 1.65; }
.prose .section-label {
  font-stretch: 75%; font-weight: 600; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); padding-top: 36px; margin: 20px 0 16px; border-top: 1px solid var(--line);
}
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 24px; font-size: 15.5px; }
.prose th { text-align: left; padding: 12px 14px 12px 0; color: var(--text-3); font-weight: 600; font-stretch: 75%; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; border-bottom: 1px solid var(--line-2); }
.prose td { padding: 12px 14px 12px 0; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--text-2); }
.prose td:first-child { color: var(--text); }
.faq-list { display: grid; gap: 0; margin-bottom: 12px; }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-q { font-weight: 600; font-size: 18px; margin-bottom: 8px; color: var(--text); }
.faq-a { color: var(--text-2); }
.faq-a p:last-child { margin-bottom: 0; }
.detail-note { color: var(--text-3); font-size: 14px; margin-top: 28px; }
.back { margin-top: 40px; font-size: 14px; }

/* recipe page */
.recipe { padding-bottom: 88px; max-width: calc(720px + 2 * var(--gut)); }
.recipe h1 { overflow-wrap: anywhere; }
.recipe-card { background: var(--card); border-radius: var(--r); padding: 22px 24px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 24px; }
.recipe-card table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.recipe-card th { text-align: left; width: 90px; padding: 10px 0; color: var(--text-3); font-stretch: 75%; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; font-weight: 600; }
.recipe-card td { padding: 10px 0; color: var(--amber); font-stretch: 75%; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--line); }
.recipe-card p { color: var(--text-2); margin: 0; }
.problem { color: var(--rust); }
.recipe-actions { justify-content: flex-start; margin: 8px 0 18px; }
.button {
  display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 12px; text-decoration: none;
  font-stretch: 75%; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text);
}
.button-solid { background: var(--amber); color: #1a1406; box-shadow: none; }

/* 404 */
.notfound { min-height: 80vh; }
.notfound .brand { margin-bottom: 48px; }
.notfound h1 { color: var(--text-2); font-weight: 400; }
.lang-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
