/* Couple Lock — couplelock.app
   Black canvas. Rose is the only thing you can click; violet is the "kept"
   register; amber marks the day's clock. Radii match the app (26 / 18). */

:root {
  color-scheme: dark;

  --black: #000000;
  --black-2: #0a0a0a;
  --card: #151515;

  --ink: #FFFFFF;
  --ink-soft: #B3B3B3;
  --ink-faint: #7A7A7A;

  --rose: #FF3D71;
  --rose-deep: #D62B57;
  --rose-wash: rgba(255, 61, 113, 0.14);
  --violet: #A78BFF;
  --violet-wash: rgba(167, 139, 255, 0.14);
  --amber: #F0B65C;

  --line: rgba(255, 255, 255, 0.08);
  --hair: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.04);

  --r-card: 26px;
  --r-tile: 18px;
  --r-chip: 999px;

  --display: "Gabarito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--rose); text-decoration: none; }
a:hover { color: #ff6b93; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 4.9vw, 66px); letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.03em; }
h3 { font-size: 24px; letter-spacing: -0.015em; }

p { margin: 0; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
em { font-style: normal; color: var(--rose); }

.lede {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.6;
  max-width: 54ch;
  color: var(--ink-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px 10px;
  border-radius: var(--r-chip);
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.03);
  font: 500 14px var(--body);
  letter-spacing: 0.01em;
  margin: 0;
}
.pill.rose { color: var(--rose); }
.pill.violet { color: var(--violet); }
.pill.amber { color: var(--amber); }

.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- shell ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(96px, 13vw, 170px) 0; }
section.alt { background: var(--black-2); }
section.short { padding: clamp(64px, 8vw, 110px) 0; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
}
.site-head .wrap { display: flex; align-items: center; height: 88px; gap: 24px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.site-head nav { display: flex; gap: 30px; align-items: center; }
.site-head nav a { color: var(--ink-soft); font-size: 16px; font-weight: 500; }
.site-head nav a:hover { color: var(--ink); }
@media (max-width: 700px) {
  .site-head .wrap { height: 72px; }
  .site-head nav { gap: 18px; }
  .site-head nav a.hide-sm { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--r-chip);
  font: 600 17px var(--body);
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--rose), var(--rose-deep));
  color: #fff;
  box-shadow: 0 12px 36px rgba(255, 61, 113, 0.36);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 44px rgba(255, 61, 113, 0.46); }
.btn-ghost { background: var(--surface); border: 1px solid var(--stroke); color: var(--ink); }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.09); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- hero ---------- */

.hero { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(800px 520px at 78% 38%, rgba(255, 61, 113, 0.10), transparent 65%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin: 22px 0 0; max-width: 18ch; }
.hero .lede { margin-top: 26px; max-width: 50ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 38px; }
.hero-note {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-faint);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 48ch;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rose); flex: 0 0 auto; margin-top: 8px;
  box-shadow: 0 0 0 4px var(--rose-wash);
}

/* The hero stage: a tilted phone at the back, the playable seal in front. */
.hero-stage { position: relative; min-height: 680px; }
.hero-phone {
  position: absolute;
  right: 0;
  top: 0;
  width: 300px;
  transform: rotate(5deg);
}
.hero-stage .seal {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: min(400px, 100%);
  z-index: 2;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; }
  .hero-phone { display: none; }
  .hero-stage .seal { position: static; width: 100%; max-width: 480px; margin: 0 auto; }
}

/* ---------- the seal (signature) ---------- */

.seal {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.seal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.seal-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
.seal-eyebrow.rose { color: var(--rose); }
.seal-prompt {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: rgba(255, 255, 255, 0.03);
}
.halves { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.half {
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.half-who {
  position: relative; z-index: 2;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.chip {
  display: block; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 13px;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.05);
  color: var(--ink); font: 500 15.5px var(--body); cursor: pointer;
  transition: background 0.15s ease;
}
.chip + .chip { margin-top: 8px; }
.chip:hover { background: rgba(255, 255, 255, 0.1); }
.answer {
  font-family: var(--display); font-size: 23px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em; margin-top: auto;
}
.foil {
  position: absolute; inset: 38px 0 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, rgba(255, 61, 113, 0.22), rgba(167, 139, 255, 0.2) 55%, rgba(255, 61, 113, 0.14));
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  color: var(--ink-soft); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
.foil svg { width: 20px; height: 20px; opacity: 0.85; }
.seal.open .foil { opacity: 0; transform: scale(1.06); filter: blur(6px); pointer-events: none; }
.seal.open .half { border-color: rgba(255, 61, 113, 0.4); }
.seal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; min-height: 40px; }
.seal-status { font-size: 14px; color: var(--ink-faint); }
.seal.open .seal-status { color: var(--rose); }
.reset {
  background: none; border: 0; color: var(--ink-faint);
  font: 500 14px var(--body); cursor: pointer; padding: 6px 2px;
  text-decoration: underline; text-underline-offset: 3px;
}
.reset:hover { color: var(--ink-soft); }
.is-hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .foil { transition: opacity 0.01s linear; }
  .seal.open .foil { transform: none; filter: none; }
}

/* ---------- section intro ---------- */

.intro { max-width: 720px; margin: 0 auto; }
.intro .pill { margin-bottom: 22px; }
.intro h2 { margin-bottom: 22px; }

/* ---------- three windows ---------- */

.windows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(48px, 6vw, 80px);
}
@media (max-width: 860px) { .windows { grid-template-columns: 1fr; } }
.window {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  padding: 32px 28px 34px;
}
.window-time {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin: 0;
}
.window h3 { margin: 16px 0 12px; }
.window p { font-size: 16.5px; }

/* ---------- feature rows ---------- */

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.row.flip .row-media { order: -1; }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 48px; }
  .row.flip .row-media { order: 0; }
}
.row-copy .pill { margin-bottom: 24px; }
.row-copy h2 { margin-bottom: 22px; }
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.points li { color: var(--ink-soft); font-size: 17px; padding-left: 28px; position: relative; line-height: 1.55; }
.points li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose); box-shadow: 0 0 0 4px var(--rose-wash);
}
.points.kept li::before { background: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }

/* device */
.stage { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.phone {
  border-radius: 44px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(150deg, #3a3a3a, #101010 45%, #2a2a2a);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.85), 0 0 0 1px #000, inset 0 1px 0 rgba(255, 255, 255, 0.2);
  max-width: 320px;
  transform: rotate(-3deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone img { border-radius: 36px; }
.phone.tilt-right { transform: rotate(3deg); }
.stage:hover .phone { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .phone, .phone.tilt-right, .stage:hover .phone { transform: none; } }

/* widgets: real ones, floating */
.widget {
  border-radius: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  min-width: 180px;
}
.stage .widget { position: absolute; }
.widget-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}
.widget-big {
  font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em;
  color: #fff; line-height: 1.05; margin-top: 6px;
}
.widget-sub { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 4px; }
.widget-line { font-size: 15px; color: #fff; margin-top: 8px; line-height: 1.45; }
.widget-line span { color: rgba(255, 255, 255, 0.62); }
.w-violet { background: linear-gradient(150deg, #5b4bb8, #2c2360 60%, #4a3aa8); }
.w-rose { background: linear-gradient(150deg, #d43466, #5a1a30 60%, #b8285a); }
.w-mix { background: linear-gradient(150deg, #c4306a, #3d2a7a 55%, #5b4bb8); }
.w-days { top: 4%; right: -6%; }
.w-streak { bottom: 10%; left: -8%; }
.w-pips { bottom: 12%; right: -8%; }
.pips { display: flex; gap: 6px; margin-top: 10px; }
.pips i { width: 24px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
.pips i.on { background: #fff; }
@media (max-width: 640px) { .stage .widget { display: none; } }

/* standalone widget stack */
.widget-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 10px 0;
}
.widget-stack .widget { position: relative; min-width: 300px; }
.widget-stack .widget:nth-child(2) { margin-left: 22%; }
.widget-stack .widget:nth-child(3) { margin-left: 6%; }
@media (max-width: 900px) {
  .widget-stack { align-items: stretch; }
  .widget-stack .widget { margin-left: 0 !important; min-width: 0; }
}
.lock-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: #1b1b1b; border: 1px solid var(--stroke);
  font-size: 14px; color: var(--ink-soft);
}
.lock-pill b {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 13px; font-weight: 700; color: #fff;
  background: conic-gradient(var(--rose) 0 66%, rgba(255,255,255,0.15) 66% 100%);
}

/* ---------- the symmetry cells ---------- */

.sym-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
@media (max-width: 760px) { .sym-grid { grid-template-columns: 1fr; } }
.sym-cell { border: 1px solid var(--line); border-radius: var(--r-tile); padding: 22px; background: var(--card); }
.sym-cell h4 {
  margin: 0 0 8px; font: 600 12px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}
.sym-cell p { font-size: 16px; }

/* ---------- pricing ---------- */

.price-card {
  border: 1px solid var(--stroke);
  border-radius: var(--r-card);
  background: var(--card);
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.price-card .pill { margin-bottom: 22px; }
.price-card h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; }
.price-card p { max-width: 46ch; margin: 0 auto; font-size: 18px; }

/* ---------- faq ---------- */

.faq { max-width: 860px; margin: clamp(44px, 6vw, 72px) auto 0; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: var(--card);
  margin-bottom: 14px;
  transition: border-color 0.18s ease;
}
.faq details:hover { border-color: var(--stroke); }
.faq details[open] { border-color: rgba(255, 61, 113, 0.35); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 24px 60px 24px 26px;
  font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--rose);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 26px 26px; font-size: 17px; max-width: 70ch; }

/* ---------- closing ---------- */

.closing-mark {
  width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 30px;
  box-shadow: 0 24px 60px rgba(255, 61, 113, 0.35);
}
.closing h2 { max-width: 18ch; margin: 0 auto 20px; }
.closing .cta-row { justify-content: center; }
.closing .fine { margin-top: 20px; font-size: 14.5px; color: var(--ink-faint); }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--hair); padding: 52px 0 64px; background: var(--black); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-foot a { color: var(--ink-soft); font-size: 15px; }
.site-foot a:hover { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 26px; }
.foot-note { color: var(--ink-faint); font-size: 14px; }

/* ---------- sticky card ---------- */

.sticky {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 320px;
  background: #111;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
}
.sticky-head { display: flex; align-items: center; gap: 12px; }
.sticky-head img { width: 44px; height: 44px; border-radius: 12px; }
.sticky-title { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.sticky-sub { font-size: 13px; color: var(--ink-faint); margin-top: 1px; }
.sticky .btn { width: 100%; margin-top: 14px; height: 46px; font-size: 15px; }
.sticky-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; color: var(--ink-faint); font-size: 20px; cursor: pointer; padding: 4px 6px;
}
.sticky-close:hover { color: var(--ink); }
@media (max-width: 760px) { .sticky { display: none; } }

/* ---------- legal pages ---------- */

.legal { max-width: 740px; padding-top: 64px; padding-bottom: 110px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 17px; }
.legal ul { padding-left: 20px; margin: 12px 0; }
.legal li { margin-bottom: 10px; }
.legal .updated { margin-bottom: 16px; }
