:root {
  --ink: #17231f;
  --muted: #61716a;
  --paper: #f3f0e8;
  --surface: #fbfaf6;
  --line: #d8d9cf;
  --green: #0c7055;
  --green-dark: #07503e;
  --lime: #cfe75a;
  --coral: #f07657;
  --shadow: 0 24px 70px rgba(21, 48, 39, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(207, 231, 90, 0.26), transparent 25rem),
    radial-gradient(circle at 94% 42%, rgba(240, 118, 87, 0.12), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: 0.2em; }

.site-shell { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 35, 31, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand em { color: var(--green); font-style: normal; font-weight: 600; }

.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; }

nav { display: flex; align-items: center; gap: 30px; }

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover, nav a.active { color: var(--green); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  padding: 88px 0 104px;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(240, 118, 87, 0.13);
}

h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -0.045em; }

h1 { margin-bottom: 26px; font-size: clamp(3.25rem, 6vw, 6.5rem); font-weight: 780; }

.hero-tagline {
  max-width: 680px;
  margin: -10px 0 22px;
  color: var(--green-dark);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.hero-lede {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
  line-height: 1.72;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 7px 7px 0 var(--lime); }
.button-primary:hover { box-shadow: 4px 4px 0 var(--lime); }
.button-secondary { background: rgba(255,255,255,0.42); border-color: var(--line); }
.button-secondary:hover { background: var(--surface); }

.command-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 64, 48, 0.35);
  border-radius: 16px;
  color: #ecf6ef;
  background: #102a22;
  box-shadow: var(--shadow), 18px 18px 0 rgba(12, 112, 85, 0.12);
  transform: rotate(1.2deg);
}

.command-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 45%, rgba(207,231,90,0.06));
  content: "";
}

.command-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.window-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.24); }
.window-dot:first-child { background: var(--coral); }
.command-label { margin-left: auto; color: #7da697; font: 700 0.61rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.13em; }
.command-body { position: relative; padding: clamp(25px, 4vw, 44px); }
.access-logo { display: block; width: 82px; height: 82px; margin: 0 auto 25px; object-fit: contain; border-radius: 18px; box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
.message { position: relative; z-index: 1; padding: 20px; border: 1px solid rgba(255,255,255,0.11); border-radius: 9px; }
.message p { margin: 8px 0 0; line-height: 1.55; }
.message-user { margin-right: 11%; background: rgba(255,255,255,0.055); }
.message-app { margin-left: 11%; background: rgba(207,231,90,0.09); border-color: rgba(207,231,90,0.24); }
.message-author { color: var(--lime); font: 750 0.64rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.15em; }
.message-user .message-author { color: #9db6ad; }
.connector-line { height: 42px; margin-left: 50%; border-left: 1px dashed #57746a; }
.action-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.action-tags span { padding: 5px 8px; border: 1px solid rgba(207,231,90,0.25); border-radius: 3px; color: #bcd58f; font: 650 0.66rem ui-monospace, SFMono-Regular, Menlo, monospace; }

.section { padding: 108px 0; border-top: 1px solid rgba(23, 35, 31, 0.14); }
.section-heading { max-width: 750px; margin-bottom: 52px; }
.section-heading h2, .trust-panel h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 4vw, 4.5rem); }
.section-heading > p:last-child { max-width: 640px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 360px; padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: rgba(251,250,246,0.65); }
.feature-card:nth-child(2) { background: var(--green); color: #f5f5ea; border-color: var(--green); transform: translateY(-12px); }
.feature-number { display: block; margin-bottom: 65px; color: var(--muted); font: 700 0.68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.16em; }
.feature-card:nth-child(2) .feature-number, .feature-card:nth-child(2) p { color: #bcd2ca; }
.feature-icon { width: 40px; height: 40px; margin-bottom: 26px; display: grid; place-items: center; color: var(--green); font-size: 1.7rem; }
.mail-icon { position: relative; width: 36px; height: 27px; border: 2px solid var(--green); border-radius: 3px; }
.mail-icon::after { position: absolute; top: 2px; left: 5px; width: 20px; height: 14px; border-bottom: 2px solid var(--green); transform: rotate(-38deg) skew(15deg); content: ""; }
.feature-card:nth-child(2) .feature-icon { color: var(--lime); }
.feature-card h3 { margin-bottom: 15px; font-size: 1.45rem; letter-spacing: -0.025em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.trust-panel {
  margin: 28px 0 110px;
  padding: clamp(42px, 7vw, 86px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 8vw, 110px);
  color: #f4f2e8;
  background: var(--ink);
  border-radius: 8px;
}

.trust-panel .eyebrow { color: var(--lime); }
.trust-panel h2 { margin: 0; }
.trust-list { align-self: center; }
.trust-list p { display: grid; grid-template-columns: 25px 1fr; gap: 8px; margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: #c7d2cc; }
.trust-list p:last-child { border-bottom: 0; }
.trust-list span { color: var(--lime); font-weight: 900; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 35px;
  min-height: 130px;
  border-top: 1px solid rgba(23, 35, 31, 0.14);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-brand { color: var(--ink); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.copyright { white-space: nowrap; }

.policy-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 10vw, 150px);
  padding: 94px 0 120px;
}

.policy-intro { position: sticky; top: 40px; align-self: start; }
.back-link { display: inline-block; margin-bottom: 72px; color: var(--muted); font-size: 0.82rem; font-weight: 750; text-decoration: none; }
.back-link:hover { color: var(--green); }
.policy-intro h1 { margin-bottom: 19px; font-size: clamp(3.1rem, 5vw, 5.6rem); }
.policy-date { display: inline-block; margin: 0 0 24px; padding: 6px 9px; color: var(--green-dark); background: rgba(207,231,90,0.42); font: 750 0.69rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; }
.policy-intro > p:last-child { max-width: 430px; margin: 0; color: var(--muted); }
.policy-content { max-width: 760px; }
.policy-content section { padding: 0 0 36px; margin: 0 0 38px; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { border-bottom: 0; }
.policy-content h2 { margin-bottom: 17px; font-size: 1.35rem; letter-spacing: -0.025em; }
.policy-content p { margin: 0 0 15px; color: #485951; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content ul { margin: 15px 0 18px; padding-left: 24px; color: #485951; }
.policy-content li { padding-left: 7px; margin-bottom: 10px; }
.policy-content a { color: var(--green-dark); font-weight: 650; }
.policy-footer { grid-template-columns: 1fr auto; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 70px 0 90px; }
  .hero-copy { max-width: 760px; }
  .command-card { max-width: 650px; transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 275px; }
  .feature-card:nth-child(2) { transform: none; }
  .feature-number { margin-bottom: 35px; }
  .trust-panel { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 30px 0; }
  .site-footer > p:nth-child(2) { display: none; }
  .policy-layout { grid-template-columns: 1fr; gap: 55px; padding-top: 64px; }
  .policy-intro { position: static; }
  .back-link { margin-bottom: 55px; }
  .policy-intro > p:last-child { max-width: 670px; }
  .policy-content { max-width: none; }
}

@media (max-width: 600px) {
  .site-shell { padding: 0 19px; }
  .site-header { min-height: 76px; }
  nav { gap: 17px; }
  nav a { font-size: 0.8rem; }
  .brand em { display: none; }
  .hero { padding-top: 57px; gap: 58px; }
  h1 { font-size: clamp(2.85rem, 15vw, 4.4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .message-user { margin-right: 0; }
  .message-app { margin-left: 0; }
  .section { padding: 82px 0; }
  .feature-card { padding: 25px; }
  .trust-panel { margin-bottom: 80px; padding: 35px 25px; }
  .site-footer, .policy-footer { grid-template-columns: 1fr; gap: 17px; }
  .footer-links { order: 2; }
  .copyright { order: 3; margin: 0; }
  .policy-layout { padding: 50px 0 80px; }
  .back-link { margin-bottom: 42px; }
  .policy-intro h1 { font-size: 3.2rem; }
}

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