:root {
  --bg: #ffffff; --text: #1f1a17; --soft: #6b625c; --line: #ece5df; --link: #b8431f;
  --amber: #f2c14e; --terracotta: #d9522e; --card: #fbf7f3;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151210; --text: #f3ede8; --soft: #a79d96; --line: #2c2622; --link: #f08a5d; --card: #1d1916; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 22px; }
header.top { padding: 22px 0; }
header.top a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 19px; }
header.top img { width: 34px; height: 34px; border-radius: 8px; background: #fff; }
footer { margin: 56px 0 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }

/* landing */
.hero { text-align: center; padding: 56px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(217, 82, 46, 0.14); }
.hero .name { margin: 18px 0 0; font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.hero h1 { margin: 26px auto 0; max-width: 14em; font-size: clamp(32px, 7vw, 46px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.ph { display: inline-block; }
.hero .kind { margin: 16px 0 0; color: var(--soft); }
ol.steps { list-style: none; counter-reset: step; margin: 44px 0 0; padding: 0; }
ol.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 66px; background: var(--card); border-radius: 16px; }
ol.steps li + li { margin-top: 12px; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--terracotta)); color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
ol.steps strong { display: block; font-size: 18px; line-height: 1.4; }
ol.steps strong + span { display: block; color: var(--soft); margin-top: 2px; }
.support { margin-top: 44px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.support h2 { margin: 0 0 4px; font-size: 18px; }
.support p { margin: 0; }

/* legal pages */
article { padding: 12px 0 0; overflow-wrap: break-word; }
article h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; margin: 18px 0 8px; }
article h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
article h3 { font-size: 18px; margin: 28px 0 6px; }
article h4 { font-size: 17px; margin: 22px 0 4px; }
article p, article ul, article ol { margin: 10px 0; }
article li { margin: 6px 0; }
article .lang { color: var(--soft); font-size: 15px; margin: 0; }
.table { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border: 1px solid var(--line); }
th { background: var(--card); }
