@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #fbfaf7;
  --bg-2: #f2efe8;
  --fg: #14151a;
  --muted: #61646e;
  --line: #e3dfd6;
  --card: #ffffff;
  --accent: #ff5a1f;
  --accent-2: #ffb020;
  --ink: #14151a;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(20,21,26,.04), 0 12px 32px rgba(20,21,26,.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f12;
    --bg-2: #16181d;
    --fg: #f1efe9;
    --muted: #9b9ea8;
    --line: #262930;
    --card: #15171c;
    --accent: #ff6a33;
    --accent-2: #ffbd3d;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 15px; }
.logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.logo svg { width: 17px; height: 17px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 96px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%);
  filter: blur(10px); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 620px; height: 620px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%);
  pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); background: var(--card); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 22px; max-width: 16ch; text-wrap: balance; }
h1 .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46ch; margin: 0 0 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--fg); color: var(--bg); box-shadow: var(--shadow); }
.btn-ghost { border: 1px solid var(--line); background: var(--card); }

/* Sections */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 40px; max-width: 20ch; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 12%, var(--card)); color: var(--accent); }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.principles div { padding: 28px; border-bottom: 1px solid var(--line); }
.principles div:nth-child(odd) { border-right: 1px solid var(--line); }
.principles div:nth-last-child(-n+2) { border-bottom: 0; }
.principles b { display: block; font-size: 17px; margin-bottom: 4px; }
.principles span { color: var(--muted); font-size: 16px; }

/* Company */
.company { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0; font-size: 16px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 500; }
.contact-card { background: var(--ink); color: #f6f4ef; border: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
@media (prefers-color-scheme: dark) { .contact-card { background: linear-gradient(160deg, #1d2027, #121419); border: 1px solid var(--line); } }
.contact-card h3 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 8px; }
.contact-card p { color: #b9b7b0; margin: 0; }
.contact-card a.big { display: block; font-size: 19px; font-weight: 600; text-decoration: none; color: #fff; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-card a.big:hover { color: var(--accent-2); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 72px 24px 40px; }
.legal h1 { font-size: clamp(36px, 6vw, 54px); max-width: none; margin: 10px 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h3 { font-size: 20px; letter-spacing: -.01em; margin: 36px 0 8px; }
.legal p { color: color-mix(in srgb, var(--fg) 82%, var(--muted)); }
.legal a { color: var(--accent); }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles div:nth-child(odd) { border-right: 0; }
  .principles div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 72px 0 64px; }
  section.block { padding: 64px 0; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 12px; }
}
