/* Sumo Japanese website: generated by tools/website/build.mjs */
@font-face { font-family: 'M PLUS Rounded 1c'; font-weight: 400; font-display: swap; src: url(/assets/mplus-rounded-400.0d70312099.woff2) format('woff2'); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-weight: 700; font-display: swap; src: url(/assets/mplus-rounded-700.ddc9fc503a.woff2) format('woff2'); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-weight: 800; font-display: swap; src: url(/assets/mplus-rounded-800.1fcae5b1c3.woff2) format('woff2'); }
:root {
  color-scheme: light dark;
  --bg: #FBF7F0; --bg-soft: #F3ECE1; --card: #FFFFFF; --line: #ECE3D6;
  --ink: #2A2420; --ink2: #6F645C;
  --accent: #E8573F; --button: #C2402B; --button-hover: #A8331F; --accent-soft: #FDE9E4; --accent-ink: #A8331F;
  --link: #2B4C9B; --focus: #2B4C9B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16120F; --bg-soft: #211C18; --card: #1D1814; --line: #2E2722;
    --ink: #F6EFE6; --ink2: #BFB3A6;
    --accent: #F06A52; --button: #C2402B; --button-hover: #A8331F; --accent-soft: #3A1E17; --accent-ink: #F6A08F;
    --link: #8AA4EC; --focus: #8AA4EC;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 'M PLUS Rounded 1c', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 20px; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 2; }
.skip:focus { left: 12px; }
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a, .foot nav a { color: var(--ink2); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.top nav a:hover, .foot nav a:hover, .top nav a[aria-current='page'] { color: var(--ink); text-decoration: underline; }
main.wrap { padding-top: 32px; padding-bottom: 56px; }
h1 { font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); line-height: 1.2; margin: 0 0 0.4rem; }
h2 { font-weight: 800; font-size: 1.3rem; line-height: 1.3; margin: 2.2rem 0 0.6rem; }
h3 { font-weight: 700; font-size: 1.05rem; line-height: 1.4; margin: 1.4rem 0 0.25rem; }
p { margin: 0.6rem 0; }
.updated { color: var(--ink2); font-size: 0.95rem; margin: 0 0 1.4rem; }
.lead { color: var(--ink2); font-size: 1.12rem; }
ul { padding-left: 1.3rem; margin: 0.6rem 0; }
li { margin: 0.55rem 0; }
.button { display: inline-flex; align-items: center; gap: 8px; background: var(--button); color: #FFFFFF; font-weight: 800; font-size: 1.1rem;
  text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 999px; margin: 0.4rem 0; overflow-wrap: anywhere; }
.button:hover { background: var(--button-hover); color: #FFFFFF; text-decoration: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.25rem; margin: 1.4rem 0; }
.card h2 { margin-top: 0.2rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.2rem 0; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; margin: 0.8rem 0; }
.steps li::before { content: counter(step); flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: -0.1rem; }
.faq h3 { margin-top: 1.6rem; }
.faq p { color: var(--ink2); }
.links { padding-left: 1.3rem; }
.hero { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 8px 0 12px; }
.hero .art { position: relative; width: 260px; height: 270px; display: grid; place-items: end center; }
.hero .art::before { content: ''; position: absolute; left: 50%; top: 4%; width: 230px; height: 230px; transform: translateX(-50%); border-radius: 50%; background: var(--accent); }
.hero .art img { position: relative; height: 262px; width: auto; }
.hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.1rem); margin-top: 12px; }
.hero .lead { max-width: 32rem; margin: 0 auto; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; border-radius: 999px; padding: 0.45rem 1rem; margin: 1rem 0 0.4rem; }
.points { display: grid; gap: 14px; margin: 2.2rem 0 0.6rem; padding: 0; list-style: none; }
.points li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.15rem; margin: 0; }
.points h2 { font-size: 1.1rem; margin: 0 0 0.25rem; }
.points p { margin: 0; color: var(--ink2); }
@media (min-width: 760px) {
  .hero .art { width: 320px; height: 330px; }
  .hero .art::before { width: 286px; height: 286px; }
  .hero .art img { height: 322px; }
  .points { grid-template-columns: repeat(3, 1fr); }
}
.foot { border-top: 1px solid var(--line); color: var(--ink2); font-size: 0.95rem; }
.foot .wrap { padding-top: 22px; padding-bottom: 32px; }
.foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 8px; }
