/* Sheetly marketing site — matches app SheetlyColor + kit FACTS */
:root {
  --canvas: #121214;
  --card: #1F1F21;
  --field: #0D0D0F;
  --accent: #1B84E8;
  --accent-soft: rgba(27, 132, 232, 0.16);
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.22);
  --text: #F5F5F7;
  --text-muted: #A1A1A6;
  --text-dim: #6E6E73;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--canvas);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--white); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.bg-texture {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(18,18,20,0.45) 0%, rgba(18,18,20,0.82) 42%, rgba(18,18,20,0.96) 100%),
    url("../assets/bg-texture.webp") center top / cover no-repeat;
  background-color: var(--canvas);
  pointer-events: none;
}
.no-webp .bg-texture {
  background-image:
    linear-gradient(180deg, rgba(18,18,20,0.45) 0%, rgba(18,18,20,0.82) 42%, rgba(18,18,20,0.96) 100%),
    url("../assets/bg-texture.jpg");
}
.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,255,255,0.05), transparent 55%),
    radial-gradient(ellipse 55% 40% at 85% 55%, rgba(27,132,232,0.06), transparent 55%);
  pointer-events: none;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(18, 18, 20, 0.78);
  border-bottom: 1px solid var(--hairline);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.brand .word { color: var(--white); }
.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: default;
  user-select: none;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(27,132,232,0.7);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 16ch;
  margin: 0 auto 1rem;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 38rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.btn-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: var(--white);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: none;
  cursor: default;
  user-select: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.btn-soon .apple {
  font-size: 1.15rem;
  line-height: 1;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.05);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}

/* Phone frames */
.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
  max-width: 980px;
  margin: 0 auto;
}
.phone {
  position: relative;
  border-radius: 36px;
  background: var(--field);
  border: 2px solid #2a2a2e;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 60px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}
.phone:nth-child(1) { transform: rotate(-2deg) translateY(18px); }
.phone:nth-child(2) { transform: translateY(0) scale(1.04); z-index: 2; }
.phone:nth-child(3) { transform: rotate(2deg) translateY(18px); }
.phone .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone .screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--canvas);
}
.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature {
  background: rgba(31, 31, 33, 0.88);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.feature:hover {
  border-color: var(--hairline-strong);
}
.feature .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.feature h3 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}
.feature p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Highlight */
.highlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(31, 31, 33, 0.88);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 2rem;
}
.highlight .copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.highlight .copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.highlight .copy ul {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.highlight .copy li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.highlight .copy li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.disclaimer {
  font-size: 0.82rem;
  color: var(--text-dim);
  border-left: 2px solid var(--hairline-strong);
  padding-left: 0.85rem;
  line-height: 1.5;
}
.highlight .phone-solo {
  max-width: 280px;
  margin: 0 auto;
  transform: none !important;
}

/* PDF pages */
.pdf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.pdf-page {
  background: var(--field);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.pdf-page img {
  width: 100%;
  height: auto;
  display: block;
}
.pdf-caption {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 0.75rem;
}

/* Privacy band */
.privacy-band {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 28px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(27,132,232,0.10), transparent 60%),
    rgba(31, 31, 33, 0.88);
}
.privacy-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.privacy-band p {
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 1.25rem;
}
.privacy-band .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 550;
}

.soon-band {
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.soon-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.soon-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
}
.site-footer .inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer .copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.site-footer .links {
  display: flex;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.site-footer .links a:hover { color: var(--white); }

/* Inner pages */
.page-hero { padding: 3.5rem 0 2rem; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}
.page-hero .meta {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.prose {
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 4rem;
}
.prose h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.75rem;
}
.prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}
.prose p, .prose li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.65;
}
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: #5aa8f0; }
.placeholder-email {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px dashed var(--hairline-strong);
  background: rgba(27,132,232,0.12);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  font-weight: 600;
  text-decoration: none !important;
}
.tbd-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}
.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.faq details {
  background: rgba(31, 31, 33, 0.9);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--text-dim);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0.75rem 0 0.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.jurisdiction-note {
  font-size: 0.9rem;
  color: var(--text-dim);
}

@media (prefers-reduced-motion: no-preference) {
  .phone { transition: transform 0.45s var(--ease); }
  .feature { transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
  .feature:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .feature, .btn-ghost { transition: none !important; }
  .phone:nth-child(1),
  .phone:nth-child(2),
  .phone:nth-child(3) { transform: none; }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .highlight { grid-template-columns: 1fr; padding: 1.5rem; }
  .highlight .phone-solo { max-width: 240px; }
  .pdf-row { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .phones { gap: 0.85rem; }
  .phone { border-radius: 28px; }
  .phone .notch { height: 12px; top: 8px; }
}
@media (max-width: 680px) {
  .wrap, .site-header .inner, .site-footer .inner { width: min(100% - 1.5rem, var(--max)); }
  .nav .hide-sm { display: none; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { max-width: none; }
  .phones {
    grid-template-columns: 1fr;
    max-width: 260px;
    gap: 1.5rem;
  }
  .phone:nth-child(1),
  .phone:nth-child(2),
  .phone:nth-child(3) { transform: none; }
  .phone:nth-child(2) { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .pdf-row { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .site-footer .inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .site-footer .links { justify-content: center; }
  .site-footer .copy { text-align: center; width: 100%; }
}
