@font-face {
  font-family: "Google Sans";
  src: url("../fonts/GoogleSans-VariableFont_GRAD,opsz,wght.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src: url("../fonts/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf") format("truetype-variations");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #151515;
  --muted: #626262;
  --paper: #fffdf8;
  --paper-2: #f7f3eb;
  --white: #ffffff;
  --line: #e9e1d6;
  --red: #f05a38;
  --yellow: #f6b93b;
  --green: #67a04f;
  --blue: #2b9ac2;
  --shadow: 0 18px 60px rgba(36, 28, 17, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: #ffd85b; color: #111; }

.container { width: min(calc(100% - 36px), var(--content)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.025em;
  font-size: 1.28rem;
  white-space: nowrap;
}
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #fff; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: #444; font-weight: 650; font-size: .96rem; }
.nav-links a:hover { color: #000; }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 12px; font-weight: 700; }

.hero { padding: 30px 0 48px; }
.hero-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: #151515;
}
.hero-art { background: #f2ede4; }
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-copy {
  color: #fff;
  padding: 32px 38px 36px;
  display: grid;
  grid-template-columns: minmax(260px,.85fr) minmax(320px,1.2fr) auto;
  align-items: center;
  gap: 28px 34px;
}
.hero-title-block h1 {
  margin: 16px 0 0;
}
.hero-copy > p {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0;
}
.hero-copy .hero-actions { justify-content: flex-end; }
.hero-copy .color-bar { grid-column: 1 / -1; margin-top: -6px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  backdrop-filter: blur(10px);
}
.status-dot { width: 8px; height: 8px; border-radius: 99px; background: #7ee36f; box-shadow: 0 0 0 4px rgba(126,227,111,.14); }
h1, h2, h3, h4 { letter-spacing: -.035em; line-height: 1.08; }
h1 { margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.5rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 21px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: #111; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: #151515; color: #fff; }
.btn-outline { border: 1px solid #cfc7bb; background: #fff; }

.color-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; border-radius: 999px; overflow: hidden; max-width: 230px; margin-top: 30px; }
.color-bar span:nth-child(1) { background: var(--red); }
.color-bar span:nth-child(2) { background: var(--yellow); }
.color-bar span:nth-child(3) { background: var(--green); }
.color-bar span:nth-child(4) { background: var(--blue); }

section { padding: 78px 0; }
.section-head { max-width: 780px; margin-bottom: 34px; }
.eyebrow { font-size: .86rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #6b6258; }
h2 { margin: 8px 0 14px; font-size: clamp(2.25rem, 4vw, 4rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.grid-2 { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; }
.card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 10px 34px rgba(35,28,20,.06); }
.card h3 { margin: 0 0 13px; font-size: 1.55rem; }
.card p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: #4b4742; }
.identity-card { display: grid; grid-template-columns: 165px 1fr; gap: 24px; align-items: center; }
.identity-card img { width: 165px; aspect-ratio: 1; border-radius: 30px; object-fit: cover; border: 1px solid var(--line); }
.identity-card strong { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.mono { font-family: "Google Sans", monospace; font-weight: 700; letter-spacing: .02em; }

.tools-section { background: #f4efe5; border-top: 1px solid #eee4d6; border-bottom: 1px solid #eee4d6; }
.featured-tool { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: center; }
.featured-visual img { border-radius: 26px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); }
.tool-label { font-weight: 800; font-size: .92rem; color: #766b60; text-transform: uppercase; letter-spacing: .08em; }
.featured-copy h3 { font-size: clamp(2.2rem, 4vw, 3.7rem); margin: 8px 0 18px; }
.featured-copy p { color: #59544e; }
.checks { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: #111; color: #fff; font-size: .75rem; }
.drive-note { margin: 20px 0 24px; padding: 17px 18px; border: 1px solid #d9cfbf; border-radius: 16px; background: rgba(255,255,255,.56); color: #514a42; font-size: .94rem; }
.drive-note strong { color: #191919; }
.tool-actions { margin-top: 4px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { position: relative; min-height: 220px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 26px; }
.case::after { content: attr(data-code); position: absolute; right: -6px; bottom: -28px; font-size: 6.3rem; font-weight: 900; color: rgba(0,0,0,.035); letter-spacing: -.08em; }
.case .case-no { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #756d64; }
.case h3 { margin: 10px 0 10px; font-size: 1.45rem; }
.case p { color: var(--muted); margin: 0; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { border-radius: 20px; padding: 24px 22px; color: #111; font-weight: 800; min-height: 128px; display: flex; align-items: flex-end; font-size: 1.22rem; }
.value:nth-child(1){background:#f27a58}.value:nth-child(2){background:#f5c74f}.value:nth-child(3){background:#86ba6c}.value:nth-child(4){background:#61b6d4}

.cta-panel { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 40px; border-radius: var(--radius-xl); background: #151515; color: #fff; }
.cta-panel h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.4rem); }
.cta-panel p { margin: 0; max-width: 720px; color: rgba(255,255,255,.72); }

.site-footer { padding: 42px 0 62px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-top: 30px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #5b5650; text-decoration: none; font-weight: 650; font-size: .93rem; }
.footer-meta { color: #817a72; font-size: .88rem; margin-top: 18px; }

/* Legal pages */
.legal-hero { padding: 72px 0 26px; }
.legal-hero .eyebrow { margin-bottom: 10px; }
.legal-hero h1 { color: #151515; margin: 0 0 16px; font-size: clamp(2.6rem, 6vw, 5.3rem); }
.legal-hero p { color: var(--muted); max-width: 760px; }
.legal-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 46px; padding-bottom: 90px; }
.legal-nav { position: sticky; top: 110px; align-self: start; display: grid; gap: 7px; }
.legal-nav a { text-decoration: none; color: #676159; padding: 8px 10px; border-radius: 10px; font-size: .92rem; }
.legal-nav a:hover { background: var(--paper-2); color: #111; }
.legal-content { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 5vw, 54px); box-shadow: 0 12px 40px rgba(35,28,20,.05); }
.legal-content h2 { font-size: 1.8rem; margin-top: 42px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.18rem; margin-top: 28px; }
.legal-content p, .legal-content li { color: #4f4a45; }
.legal-content code { background: #f2eee8; padding: 2px 6px; border-radius: 6px; }
.notice { padding: 18px 20px; border-radius: 16px; background: #f7f3eb; border: 1px solid var(--line); color: #514b45; }

@media (max-width: 930px) {
  .nav-links { display: none; position: absolute; top: 78px; left: 18px; right: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .menu-button { display: inline-flex; }
  .hero-panel { min-height: 560px; }
  .hero-panel::after { background: linear-gradient(180deg, rgba(12,12,12,.82), rgba(12,12,12,.64) 58%, rgba(12,12,12,.25)); }
  .hero-copy { width: 100%; padding: 60px 34px; }
  .grid-2, .featured-tool { grid-template-columns: 1fr; }
  .featured-visual { order: 2; }
  .case-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 24px), var(--content)); }
  .brand img { width: 42px; height: 42px; }
  .navbar { min-height: 68px; }
  .nav-links { top: 68px; }
  .hero { padding-top: 16px; }
  .hero-panel { min-height: 560px; border-radius: 24px; }
  .hero-copy { padding: 44px 24px; }
  h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  section { padding: 58px 0; }
  .identity-card { grid-template-columns: 1fr; }
  .identity-card img { width: 125px; }
  .values { grid-template-columns: 1fr; }
  .cta-panel { padding: 28px; flex-direction: column; align-items: flex-start; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1080px) {
  .hero-copy { grid-template-columns: 1fr 1.15fr; }
  .hero-copy .hero-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .hero { padding-top: 18px; }
  .hero-panel { border-radius: 22px; }
  .hero-copy { display: block; padding: 26px 22px 28px; }
  .hero-title-block h1 { margin: 14px 0 18px; }
  .hero-copy > p { margin-bottom: 22px; }
  .hero-copy .hero-actions { justify-content: flex-start; }
  .hero-copy .color-bar { margin-top: 24px; }
}
