@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url(/fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url(/fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFF6E6;
  --card: #FFFFFF;
  --ink: #2A1F12;
  --muted: #6B5A44;
  --faint: #A8977E;
  --line: rgba(42, 31, 18, .12);
  --accent: #E8662B;
  --accent-ink: #B9461A;
  --mark: #FFD66B;
  --mark-ink: #2A1F12;
  --pill-bg: #2A1F12;
  --pill-ink: #FFF6E6;
  --radius: 18px;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A140D;
    --card: #261E14;
    --ink: #FFF3DF;
    --muted: #CBB79A;
    --faint: #8A7860;
    --line: rgba(255, 243, 223, .12);
    --accent: #FF8A4C;
    --accent-ink: #FF9A62;
    --mark: #F2C04E;
    --mark-ink: #2A1F12;
    --pill-bg: #FFF3DF;
    --pill-ink: #1A140D;
    color-scheme: dark;
  }
}
:lang(ja) { --font: "Bricolage Grotesque", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif; }
:lang(ko) { --font: "Bricolage Grotesque", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); }
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--pill-bg); color: var(--pill-ink); padding: 8px 14px; border-radius: 99px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.logo { font-weight: 800; font-size: 26px; letter-spacing: -.02em; text-decoration: none; font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.logo span, .dot { color: var(--accent); }
.top nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--pill-bg); color: var(--pill-ink) !important;
  border-radius: 99px; padding: 9px 18px; text-decoration: none; font-weight: 600;
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin: 0 0 22px; }
.hl { background: var(--mark); color: var(--mark-ink); padding: 0 .16em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.promises { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.promises li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 99px; padding: 7px 14px 7px 10px; font-weight: 600; font-size: 15px;
}
.promises svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Swap stack */
.swaps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.swap {
  display: grid; grid-template-columns: 1fr auto 44px auto; align-items: center; gap: 12px;
  background: var(--card); border-radius: var(--radius); padding: 12px 16px;
  border: 1px solid var(--line); text-decoration: none;
  transition: transform .2s ease;
}
.swaps li:nth-child(2) .swap { margin-left: 28px; }
.swaps li:nth-child(3) .swap { margin-left: 8px; }
.swaps li:nth-child(4) .swap { margin-left: 40px; }
.swap:hover { transform: translateX(-4px); }
.swap s, .app h3 s { color: var(--faint); text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.swap .arrow { color: var(--faint); }
.swap img { width: 44px; height: 44px; border-radius: 11px; }
.swap b { font-weight: 700; font-size: 18px; }

/* Sections */
section { padding: 64px 0; scroll-margin-top: 12px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px; }
h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 19px; max-width: 36em; margin: 0 0 36px; }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rule { background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.rule .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mark); color: var(--mark-ink); display: grid; place-items: center; margin-bottom: 16px; }
.rule .ic svg { width: 24px; height: 24px; }
.rule h3 { font-size: 21px; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 6px; }
.rule p { margin: 0; color: var(--muted); font-size: 16px; }

/* App grid */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.apps.one { grid-template-columns: 1fr; }
.app {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center;
  background: var(--card); border-radius: var(--radius); padding: 16px; border: 1px solid var(--line);
  text-decoration: none; transition: transform .2s ease, border-color .2s ease;
}
a.app:hover { transform: translateY(-3px); border-color: var(--accent); }
.app img { width: 64px; height: 64px; border-radius: 15px; }
.app h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; display: flex; align-items: baseline; column-gap: 8px; flex-wrap: wrap; }
.app h3 s { font-weight: 500; font-size: 14px; }
.app p { margin: 2px 0 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.tag { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split h2 { font-size: clamp(28px, 3.4vw, 38px); }
.note { color: var(--muted); font-size: 16px; margin: 18px 0 0; }

/* Story */
.story { background: var(--pill-bg); color: var(--pill-ink); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.story .eyebrow { color: var(--mark); }
@media (prefers-color-scheme: dark) { .story .eyebrow { color: var(--accent-ink); } }
.story h2 { color: var(--pill-ink); }
.story p { margin: 0 0 16px; font-size: 18px; opacity: .85; }
.then { display: grid; gap: 10px; align-content: start; margin-top: 8px; }
.then div { border-radius: 14px; padding: 14px 18px; border: 1px solid rgba(127, 127, 127, .35); }
.then b { display: block; font-size: 15px; }
.then span { font-size: 15px; opacity: .75; }
.then .now { background: var(--mark); color: var(--mark-ink); border-color: transparent; }
.then .now span { opacity: .8; }
.sig { font-weight: 700; opacity: 1 !important; margin-top: 22px !important; }

/* Article pages */
.article { max-width: 720px; padding: 24px 0 48px; }
.article h1 { font-size: clamp(36px, 5vw, 56px); }
.article h2 { font-size: 26px; margin-top: 40px; }
.article p, .article li { color: var(--muted); }
.article a { color: var(--accent-ink); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; }

/* Footer (shared layout B) */
.site-footer { padding: 40px 0 48px; margin-top: 32px; }
.foot { display: flex; justify-content: space-between; gap: 32px; font-size: 14px; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-brand img { width: 20px; height: 20px; border-radius: 5px; filter: grayscale(1); opacity: .5; box-shadow: 0 0 0 1px var(--line); transition: filter .2s, opacity .2s; }
.footer-brand:hover img, .footer-brand:focus img { filter: none; opacity: 1; }
.foot p { margin: 6px 0 0; }
.footer-made a { text-decoration: none; color: inherit; }
.footer-made a:hover, .footer-made a:focus { text-decoration: underline; color: var(--ink); }
.footer-side { text-align: right; display: grid; gap: 10px; justify-items: end; align-content: start; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
details.language { position: relative; }
details.language summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
details.language summary::-webkit-details-marker { display: none; }
details.language summary svg { width: 16px; height: 16px; }
details.language .chevron { width: 13px; height: 13px; transition: transform .2s; }
details.language[open] .chevron { transform: rotate(180deg); }
details.language ul { position: absolute; right: 0; bottom: 130%; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; min-width: 170px; text-align: left; z-index: 5; }
details.language li a { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
details.language li a:hover { background: var(--bg); }
details.language li svg { width: 16px; height: 16px; color: var(--accent); }

/* Japanese and Korean: no negative tracking, room for the glyphs, keep words together */
:lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2 { letter-spacing: -.01em; line-height: 1.18; }
:lang(ja) h1, :lang(ko) h1 { font-size: clamp(36px, 5.2vw, 62px); }
:lang(ja) .eyebrow, :lang(ko) .eyebrow { letter-spacing: .02em; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) .lead { word-break: auto-phrase; }
:lang(ko) { word-break: keep-all; }

@media (max-width: 900px) {
  .hero, .story, .split { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .story { padding: 36px 24px; }
}
@media (max-width: 760px) {
  .top nav a:not(.btn) { display: none; }
  .hero { padding: 24px 0 48px; gap: 32px; }
  .swaps li:nth-child(n) .swap { margin-left: 0; }
  .rules { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .foot { flex-direction: column; }
  .footer-side { text-align: left; justify-items: start; }
  details.language ul { left: 0; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
