:root {
  --primary: #665f54;
  --primary-dark: #4e483f;
  --orange: #ff6b1a;
  --orange-dark: #e95b0c;
  --orange-soft: #ffeee5;
  --teal: #47aeb4;
  --light-bg: #f7f5f2;
  --card: #ffffff;
  --border: #ece7df;
  --ink: #1c1c1e;
  --text-dark: #2f2f2f;
  --muted: #756f66;
  --soft: #9d968c;
  --danger: #e5484d;
  --danger-soft: #ffecee;
  --max-width: 1160px;
  --shadow: 0 18px 45px rgba(28, 28, 30, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-dark);
  background: var(--light-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-copy small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 9px 12px;
  color: var(--primary);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange-dark);
  background: var(--orange-soft);
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 107, 26, .13), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(71, 174, 180, .10), transparent 28%),
    var(--light-bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 107, 26, .15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}
.hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); text-decoration: none; }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 12px 26px rgba(255, 107, 26, .24);
}
.button-secondary { color: var(--primary-dark); background: #fff; border: 1px solid var(--border); }
.button-danger { color: #fff; background: var(--danger); box-shadow: 0 12px 24px rgba(229, 72, 77, .20); }

.hero-card {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.hero-logo { width: 180px; margin: 0 auto 26px; }
.hero-card h2 { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.2; }
.hero-card p { margin-top: 10px; font-size: 15px; }

.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-title { max-width: 720px; margin-bottom: 34px; }
.section-title h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.section-title p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(28, 28, 30, .04);
}
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border-radius: 15px;
  font-size: 22px;
  font-weight: 800;
}
.card h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.legal-hero { padding: 64px 0 38px; }
.legal-hero h1 {
  max-width: 900px;
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.legal-hero p { max-width: 760px; color: var(--muted); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 32px;
  align-items: start;
  padding-bottom: 80px;
}
.legal-content {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(28, 28, 30, .045);
}
.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 23px;
  letter-spacing: -.02em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 24px 0 8px; color: var(--primary-dark); font-size: 18px; }
.legal-content p, .legal-content li { color: #504b45; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li + li { margin-top: 7px; }
.legal-note {
  margin: 22px 0;
  padding: 18px;
  color: var(--primary-dark);
  background: #f8f6f3;
  border-left: 4px solid var(--orange);
  border-radius: 14px;
}
.danger-note { background: var(--danger-soft); border-left-color: var(--danger); }

.toc {
  position: sticky;
  top: 100px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
}
.toc strong { display: block; margin-bottom: 10px; color: var(--ink); }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; }
.toc a:hover { color: var(--orange-dark); }

.delete-box {
  margin-top: 28px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
}
.delete-box h2, .delete-box h3 { margin-top: 0; }
.steps { counter-reset: step; display: grid; gap: 14px; margin: 24px 0; }
.step { position: relative; min-height: 54px; padding: 4px 0 4px 62px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 14px;
  font-weight: 800;
}
.step strong { display: block; color: var(--ink); }
.step p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

.contact-panel {
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(78, 72, 63, .98), rgba(102, 95, 84, .96));
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.contact-panel h2 { margin-top: 0; color: #fff; }
.contact-panel p { color: rgba(255, 255, 255, .82); }
.contact-panel a:not(.button) { color: #fff; font-weight: 700; }

.site-footer {
  padding: 40px 0;
  color: rgba(255, 255, 255, .74);
  background: var(--primary-dark);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.footer-brand { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 800; }
.footer-brand img { width: 42px; height: 42px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: rgba(255, 255, 255, .82); font-size: 13px; }
.footer-meta {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
}
.meta-line { color: var(--soft); font-size: 13px; }

@media (max-width: 900px) {
  .hero-grid, .legal-layout, .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .nav-links a { padding: 7px 9px; font-size: 12px; }
  .hero { padding-top: 60px; }
  .hero-card, .legal-content { padding: 24px; }
  .legal-hero { padding-top: 42px; }
  .section { padding: 56px 0; }
}
