﻿:root{
  --bg:#F8F7F3;
  --surface:#FFFFFF;
  --ink:#1B1B1A;
  --muted:#6F6D68;
  --line:#E4E1DA;
  --soft:#EFEEE9;
  --button:#171717;
  --buttonText:#FFFFFF;
  --sage:#476854;
  --sageSoft:#EDF3EE;
  --gold:#796347;
  --warm:#D8C7AA;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:16px/1.7 Inter, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing:antialiased;
}

a{
  color:var(--sage);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

a:hover{ text-decoration-thickness:2px; }

a:focus-visible,button:focus-visible{
  outline:3px solid #4b8eff;
  outline-offset:4px;
}

.shell{
  max-width:1040px;
  margin:auto;
  padding:0 24px;
}

.site-header{
  background:rgba(248,247,243,.96);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  backdrop-filter:blur(10px);
  z-index:10;
}

.head-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:82px;
  gap:16px;
  flex-wrap:wrap;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
  font-family:Manrope, Inter, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight:800;
  font-size:28px;
  letter-spacing:-0.04em;
  text-decoration:none;
}

.brand-logo{
  width:30px;
  height:30px;
  object-fit:contain;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.nav a{
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  color:var(--muted);
}

.nav a:hover,
.nav a[aria-current=page]{
  color:var(--ink);
}

main{
  padding:56px 0 88px;
}

.eyebrow{
  color:var(--sage);
  text-transform:uppercase;
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  margin:0 0 10px;
}

h1,h2,h3{
  font-family:Manrope, Inter, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height:1.2;
  letter-spacing:-0.04em;
  color:var(--ink);
}

h1{
  font-size:clamp(38px,5vw,58px);
  margin:10px 0 16px;
}

h2{
  font-size:24px;
  margin:34px 0 10px;
}

h3{
  font-size:18px;
  margin:20px 0 7px;
}

.intro{
  font-size:19px;
  color:var(--muted);
  max-width:760px;
  line-height:1.65;
}

.meta{
  color:var(--muted);
  font-size:14px;
  margin:18px 0 28px;
}

.legal{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  padding:38px 40px;
  max-width:900px;
  box-shadow:0 10px 28px rgba(0,0,0,.04);
}

.legal p,.legal li{
  color:#2c2c2b;
}

.legal ul{
  padding-left:22px;
}

.legal li+li{
  margin-top:8px;
}

.notice{
  background:var(--sageSoft);
  border:1px solid #d6e7da;
  border-radius:18px;
  padding:18px 20px;
  margin:24px 0;
}

.notice strong{
  color:var(--sage);
}

.warn{
  background:#fff7df;
  border-color:#f0df9d;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:30px;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  color:var(--ink);
  text-decoration:none;
  min-height:190px;
  box-shadow:0 8px 20px rgba(0,0,0,.03);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.card:hover{
  transform:translateY(-3px);
  border-color:#d3cec4;
  box-shadow:0 14px 28px rgba(0,0,0,.05);
}

.card h2{
  font-size:22px;
  margin:6px 0 8px;
}

.card p{
  font-size:14px;
  color:var(--muted);
  margin:0;
}

.button{
  display:inline-block;
  border-radius:14px;
  background:var(--button);
  color:var(--buttonText);
  text-decoration:none;
  font-size:15px;
  font-weight:800;
  padding:13px 18px;
  margin:8px 10px 8px 0;
  box-shadow:0 4px 0 #343432;
}

.button:hover{
  background:#202020;
}

.button.secondary{
  background:var(--soft);
  box-shadow:0 4px 0 #d9d6ce;
  color:var(--ink);
}

.steps{
  counter-reset:step;
  list-style:none;
  padding:0;
}

.steps li{
  counter-increment:step;
  position:relative;
  padding:0 0 18px 45px;
}

.steps li:before{
  content:counter(step);
  width:28px;
  height:28px;
  position:absolute;
  left:0;
  top:3px;
  background:var(--soft);
  color:var(--sage);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:800;
}

.foot{
  border-top:1px solid var(--line);
  padding:24px 0 30px;
  background:var(--surface);
  color:var(--muted);
  font-size:13px;
}

.foot .shell{
  display:flex;
  gap:20px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.foot a{
  color:var(--muted);
}

.footlinks{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

code{
  background:var(--soft);
  border-radius:6px;
  padding:2px 6px;
  font-size:.91em;
  overflow-wrap:anywhere;
}

@media (max-width:700px){
  main{padding:36px 0 56px}
  .shell{padding:0 18px}
  .legal{padding:24px 20px;border-radius:20px}
  .cards{grid-template-columns:1fr}
  .head-inner{padding:14px 0}
  .nav{gap:12px}
  .nav a{font-size:13px}
  .brand{font-size:24px}
}

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