/* PlateKeep marketing site — static, dependency-free, and Cloudflare-ready. */
:root {
  --ink: #101820;
  --ink-soft: #46545f;
  --muted: #6f7c85;
  --teal: #138f8e;
  --teal-dark: #08706f;
  --teal-soft: #dff3f1;
  --cream: #fbfaf6;
  --paper: #ffffff;
  --line: #dfe6e5;
  --night: #0b1719;
  --sun: #f2c354;
  --coral: #e97a5c;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --shadow: 0 24px 80px rgba(15, 45, 48, 0.13);
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.018em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(19, 143, 142, 0.35); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: saturate(150%) blur(18px);
}
.nav {
  width: min(calc(100% - 40px), var(--content));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 14px rgba(9, 79, 78, 0.16); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-dark); }
.nav-links .button { color: white; }
.nav-links .button:hover { color: white; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(19, 143, 142, 0.23);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--teal-dark); box-shadow: 0 14px 34px rgba(19, 143, 142, 0.28); }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.button.secondary:hover { background: white; border-color: #cbd7d5; }
.button.dark { background: white; color: var(--night); box-shadow: none; }
.button.dark:hover { background: var(--teal-soft); }
.button svg { width: 19px; height: 19px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 54px;
  background:
    radial-gradient(circle at 14% 16%, rgba(19, 143, 142, 0.12) 0 8%, transparent 27%),
    radial-gradient(circle at 92% 75%, rgba(242, 195, 84, 0.14) 0 7%, transparent 25%),
    var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -6% -260px 40%;
  height: 500px;
  border-radius: 50%;
  background: rgba(223, 243, 241, 0.68);
  filter: blur(2px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  align-items: center;
  gap: 76px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 27px; height: 2px; border-radius: 9px; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; letter-spacing: -0.052em; }
h1 { max-width: 760px; font-size: clamp(54px, 6vw, 84px); line-height: 0.98; font-weight: 740; }
h2 { font-size: clamp(39px, 4.7vw, 62px); line-height: 1.02; font-weight: 720; }
h3 { font-size: 24px; line-height: 1.12; font-weight: 700; }
.hero-copy > p { max-width: 610px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(19px, 2vw, 23px); line-height: 1.43; letter-spacing: -0.026em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.launch-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.launch-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(242, 195, 84, 0.18); }
.hero-visual { position: relative; min-height: 700px; display: grid; place-items: end center; }
.hero-card {
  position: relative;
  width: min(86%, 420px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: var(--radius-lg);
  background: #f0f4f6;
  box-shadow: var(--shadow);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-badge {
  position: absolute;
  top: 11%;
  left: -34px;
  width: 116px;
  height: 116px;
  padding: 7px;
  border-radius: 27px;
  background: white;
  box-shadow: 0 18px 46px rgba(15, 45, 48, 0.18);
  transform: rotate(-8deg);
}
.hero-badge img { border-radius: 21px; }
.privacy-chip {
  position: absolute;
  right: -21px;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border-radius: 17px;
  background: var(--night);
  color: white;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 45px rgba(7, 20, 22, 0.25);
}
.privacy-chip svg { color: #7de0d5; }

.trust-strip { padding: 20px; border-top: 1px solid rgba(16, 24, 32, 0.06); border-bottom: 1px solid rgba(16, 24, 32, 0.06); background: white; }
.trust-list { width: min(calc(100% - 40px), 880px); margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 36px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 14px; font-weight: 650; }
.trust-item svg { width: 19px; color: var(--teal); }

.section { padding: 116px 0; }
.section.light { background: white; }
.section.soft { background: var(--teal-soft); }
.section.dark { overflow: hidden; background: var(--night); color: white; }
.container { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 58px; }
.section-heading p { max-width: 640px; margin: 22px 0 0; color: var(--ink-soft); font-size: 19px; }
.dark .section-heading p { color: #aebdc0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 330px; padding: 30px; border-radius: var(--radius); background: var(--cream); }
.feature-card:nth-child(2) { background: #edf5f4; }
.feature-card:nth-child(3) { background: #f8efd9; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 66px; border-radius: 16px; background: white; color: var(--teal-dark); box-shadow: 0 8px 22px rgba(16, 24, 32, 0.07); }
.feature-icon svg { width: 25px; height: 25px; }
.feature-card p { margin: 13px 0 0; color: var(--ink-soft); font-size: 16px; }

.story-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: 90px; }
.story-copy { position: sticky; top: 120px; }
.story-copy p { margin: 24px 0 0; color: var(--ink-soft); font-size: 19px; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 26px; border-radius: 22px; background: white; box-shadow: 0 10px 35px rgba(14, 74, 73, 0.07); }
.step-number { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-size: 14px; font-weight: 750; }
.step p { margin: 8px 0 0; color: var(--ink-soft); font-size: 15px; }

.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.privacy-statement { padding: 0 24px 0 0; }
.privacy-statement h2 { max-width: 650px; }
.privacy-statement p { max-width: 600px; margin: 24px 0 0; color: #aebdc0; font-size: 19px; }
.privacy-list { display: grid; gap: 12px; }
.privacy-row { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,0.065); }
.privacy-row svg { flex: 0 0 auto; color: #70d9ce; }
.privacy-row strong { display: block; font-size: 16px; }
.privacy-row span { display: block; margin-top: 3px; color: #9eb0b3; font-size: 14px; }

.quote-section { padding: 130px 20px; background: #f4c95d; text-align: center; }
.quote-section blockquote { max-width: 900px; margin: 0 auto; font-size: clamp(38px, 5vw, 68px); font-weight: 720; line-height: 1.04; letter-spacing: -0.055em; }
.quote-section p { margin: 24px 0 0; color: rgba(16, 24, 32, 0.68); }

.cta-section { padding: 108px 20px; background: var(--teal); color: white; text-align: center; }
.cta-section h2 { max-width: 760px; margin: 0 auto; }
.cta-section p { max-width: 620px; margin: 24px auto 32px; color: rgba(255,255,255,0.78); font-size: 19px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.site-footer { padding: 54px 0 38px; background: var(--night); color: white; }
.footer-grid { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 40px; }
.footer-brand { max-width: 360px; }
.footer-brand .brand { color: white; }
.footer-brand p { margin: 16px 0 0; color: #98a8ab; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 28px; }
.footer-links a { color: #b9c5c6; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { width: min(calc(100% - 40px), var(--content)); margin: 42px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 20px; color: #748689; font-size: 12px; }

/* Privacy and support pages */
.page-hero { padding: 88px 0 72px; background: var(--teal-soft); }
.page-hero .container { max-width: 900px; }
.page-hero h1 { max-width: 900px; font-size: clamp(48px, 7vw, 76px); }
.page-hero p { max-width: 720px; margin: 24px 0 0; color: var(--ink-soft); font-size: 20px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 46px; }
.meta-card { padding: 18px; border-radius: 16px; background: rgba(255,255,255,0.72); }
.meta-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.meta-card strong, .meta-card a { display: block; margin-top: 7px; color: var(--ink); font-size: 15px; text-decoration: none; }
.legal-shell { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 76px 0 110px; }
.legal-intro { margin-bottom: 54px; padding: 24px 26px; border-left: 4px solid var(--teal); border-radius: 0 16px 16px 0; background: white; color: var(--ink-soft); }
.legal-section { padding: 42px 0; border-top: 1px solid var(--line); }
.legal-section:first-of-type { border-top: 0; }
.legal-section h2 { font-size: clamp(30px, 4vw, 42px); }
.legal-section h3 { margin-top: 28px; font-size: 19px; letter-spacing: -0.02em; }
.legal-section p { margin: 16px 0 0; color: var(--ink-soft); }
.legal-section ul { margin: 18px 0 0; padding: 0; list-style: none; }
.legal-section li { position: relative; margin: 12px 0; padding-left: 28px; color: var(--ink-soft); }
.legal-section li::before { content: ""; position: absolute; left: 2px; top: 0.63em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.legal-section a { color: var(--teal-dark); font-weight: 650; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-card { padding: 28px; border-radius: 22px; background: white; box-shadow: 0 10px 35px rgba(14, 74, 73, 0.07); }
.support-card.wide { grid-column: 1 / -1; background: var(--night); color: white; }
.support-card .feature-icon { margin-bottom: 34px; }
.support-card p { color: var(--ink-soft); }
.support-card.wide p { color: #aebdc0; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.support-card.wide .text-link { color: #74ddd2; }
.faq { display: grid; gap: 1px; border-top: 1px solid var(--line); }
details { padding: 23px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { max-width: 740px; margin: 14px 0 0; color: var(--ink-soft); }

@media (max-width: 920px) {
  .hero { padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-copy > p { margin-left: auto; margin-right: auto; }
  .eyebrow, .hero-actions, .launch-note { justify-content: center; }
  .hero-visual { min-height: auto; }
  .hero-card { width: min(76vw, 470px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
  .feature-icon { margin-bottom: 40px; }
  .story-grid, .privacy-grid { grid-template-columns: 1fr; gap: 50px; }
  .story-copy { position: static; }
  .meta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { min-height: 62px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 40px; padding: 8px 14px; font-size: 13px; }
  .hero { padding: 58px 0 36px; }
  h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero-copy > p { margin-top: 22px; font-size: 18px; }
  .hero-visual { padding: 0 18px; }
  .hero-card { width: min(88vw, 430px); border-radius: 28px; }
  .hero-badge { left: -8px; width: 83px; height: 83px; padding: 5px; border-radius: 21px; }
  .hero-badge img { border-radius: 17px; }
  .privacy-chip { right: -4px; bottom: 10%; padding: 11px 13px; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 38px; }
  .story-grid { gap: 38px; }
  .step { grid-template-columns: 38px 1fr; padding: 20px; gap: 14px; }
  .step-number { width: 38px; height: 38px; }
  .quote-section { padding: 90px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 60px 0 50px; }
  .legal-shell { padding: 54px 0 80px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card.wide { grid-column: auto; }
}

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