:root {
  --ink: #0F2A3F;
  --ink-soft: #3C5467;
  --muted: #6B7C89;
  --paper: #FBF9F5;
  --card: #FFFFFF;
  --line: #E4DED3;
  --accent: #C4872F;
  --accent-soft: #F6EBDA;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--ink); }
.brand-meta { display: block; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Hero */
.hero { padding: 88px 0 72px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 22px; max-width: 16ch; letter-spacing: -.01em; }
.hero p { font-size: 19px; color: var(--ink-soft); max-width: 60ch; margin: 0 0 32px; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); margin-left: 10px; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 68ch; margin: 0 0 12px; }
.section-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; color: var(--ink-soft); }
.steps li strong { color: var(--ink); }

/* Company record */
.record { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-top: 28px; overflow: hidden; }
.record dl { margin: 0; }
.record .row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.record .row:last-child { border-bottom: 0; }
.record dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.record dd { margin: 0; font-weight: 500; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.contact-grid .card a { font-weight: 600; word-break: break-word; }

/* Legal pages */
.legal { padding: 64px 0 80px; border-top: 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-family: "Inter", sans-serif; font-size: 20px; font-weight: 700; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }

/* Footer */
.site-footer { background: var(--ink); color: #D7DEE4; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 26%; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.footer-brand span { font-family: "Fraunces", Georgia, serif; font-size: 18px; font-weight: 600; color: #fff; }
.site-footer h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9FB0BD; margin: 0 0 12px; }
.site-footer p { margin: 0 0 8px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #9FB0BD; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .hero p { font-size: 17px; }
  section { padding: 48px 0; }
  .record .row { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .nav { gap: 16px; }
}
