/* Landing page and couples' dashboard. Same ivory and gold as the guest site. */

:root {
  --ivory: #fbf7f0;
  --paper: #fffdf9;
  --sand: #efe5d6;
  --ink: #3a322b;
  --muted: #7a6d60;
  --gold: #b8945c;
  --gold-dark: #8f6f3f;
  --rose: #c98b85;
  --ok: #4f7a5a;
  --bad: #a4483f;
  --line: rgba(143, 111, 63, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Jost, system-ui, sans-serif;
  --script: "Pinyon Script", cursive;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 300 17px/1.6 var(--sans);
}
img, canvas { max-width: 100%; }
a { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; }
h1 em, h2 em { font-style: italic; color: var(--gold-dark); }
[hidden] { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 500 15px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(120deg, #9c7a45, #e3cb94 45%, #b8945c 70%, #8f6f3f);
  color: #2c2117; cursor: pointer; text-decoration: none; transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.ghost { background: transparent; color: var(--gold-dark); border: 1px solid var(--gold); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn.danger { background: transparent; color: var(--bad); border: 1px solid currentColor; }
.link { background: none; border: 0; padding: 0; color: var(--gold-dark); font: inherit; text-decoration: underline; cursor: pointer; }

.eyebrow { font: 500 12px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 12px; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 400; }

/* ---------- landing ---------- */

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font: 400 34px var(--script); color: var(--ink); text-decoration: none; }
.nav .btn { min-height: 40px; }

.hero { padding: 40px 0 70px; display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 8vw, 78px); }
.hero p.lead { font-size: 19px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.phone {
  justify-self: center; width: min(360px, 90vw); aspect-ratio: 9 / 18; border-radius: 42px;
  background: #1d1915; padding: 12px; box-shadow: 0 40px 80px -30px rgba(58, 50, 43, .55);
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 32px; background: var(--ivory); }
@media (min-width: 860px) { .hero { grid-template-columns: 1.2fr 1fr; } }

.section { padding: 70px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(34px, 5vw, 48px); }
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 30px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { font-size: 24px; }
.feature p { margin: 0; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 26px; }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: baseline; }
.steps li::before { content: counter(s); font: 500 28px var(--serif); color: var(--gold); min-width: 24px; }

.price-card { background: var(--paper); border: 1px solid var(--gold); border-radius: 26px; padding: 34px; text-align: center; max-width: 440px; margin: 30px auto 0; }
.price-card .amount { font: 500 64px var(--serif); margin: 4px 0; }
.price-card ul { text-align: left; padding-left: 20px; margin: 18px 0 26px; }
.compare { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15px; }
.compare th, .compare td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.table-scroll { overflow-x: auto; }
.footer { padding: 40px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* ---------- dashboard ---------- */

.dash { padding-bottom: 80px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin: 16px 0; box-shadow: 0 10px 30px -24px rgba(58, 50, 43, .45);
}
.card h2 { font-size: 30px; display: flex; align-items: center; gap: 12px; }
.card h2 .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); font: 500 18px var(--serif); color: var(--gold-dark); flex: none;
}
.card.done h2 .num { background: var(--gold); color: #fff; }
.card.locked { opacity: .55; }
.card.locked .body { pointer-events: none; }

form { margin: 0; }
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font: 400 16px var(--sans); color: var(--ink);
}
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.row { display: grid; gap: 12px; }
@media (min-width: 560px) { .row.two { grid-template-columns: 1fr 1fr; } }
.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline input { flex: 1 1 180px; }
.suffix { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.suffix input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.suffix span { padding: 0 12px; color: var(--muted); white-space: nowrap; font-size: 15px; }

.msg { font-size: 15px; margin: 8px 0 0; min-height: 1.2em; }
.msg.ok { color: var(--ok); }
.msg.bad { color: var(--bad); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; background: var(--sand); }
.pill.ok { background: #e2ecdf; color: var(--ok); }
.pill.wait { background: #f4ead8; color: var(--gold-dark); }
.pill.bad { background: #f3dfdc; color: var(--bad); }

.tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.tabs button { flex: 1; min-height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 999px; font: 400 15px var(--sans); cursor: pointer; color: var(--ink); }
.tabs button.on { background: var(--ink); color: var(--ivory); }

.banner { background: #f4ead8; border-radius: 14px; padding: 12px 16px; margin: 16px 0; font-size: 15px; }

.domain-list { list-style: none; padding: 0; margin: 12px 0 0; }
.domain-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.domain-list .name { font-weight: 400; word-break: break-all; }

.stickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin: 14px 0; }
.sticker {
  position: relative; background: repeating-conic-gradient(#f3ece1 0 25%, #fff 0 50%) 0 0 / 16px 16px;
  border-radius: 14px; border: 1px solid var(--line); padding: 8px; text-align: center; font-size: 13px;
}
.sticker img { height: 76px; width: 100%; object-fit: contain; display: block; }
.sticker button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(58, 50, 43, .75); color: #fff; cursor: pointer; line-height: 1; }

.live-links { display: grid; gap: 8px; margin-top: 12px; }
.live-links a { font-size: 18px; word-break: break-all; }

/* ---------- sticker studio ---------- */

.studio { position: fixed; inset: 0; background: rgba(29, 25, 21, .55); display: grid; place-items: center; z-index: 10; padding: 12px; }
.studio-inner { background: var(--ivory); border-radius: 22px; width: min(720px, 100%); max-height: 100%; overflow: auto; padding: 20px; }
.studio-head { display: flex; justify-content: space-between; align-items: center; }
.studio-head h3 { font-size: 28px; margin: 0; }
.studio-stage { position: relative; margin: 14px 0; border-radius: 14px; overflow: hidden; background: repeating-conic-gradient(#f3ece1 0 25%, #fff 0 50%) 0 0 / 20px 20px; text-align: center; }
.studio-stage canvas { display: block; margin: 0 auto; max-height: 52vh; width: auto; touch-action: none; }
.progress { height: 6px; background: var(--sand); border-radius: 3px; overflow: hidden; margin: 10px 0; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tools .on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 14px 0; }
.variant { border: 2px solid var(--line); border-radius: 14px; padding: 8px; cursor: pointer; text-align: center; font-size: 14px; background: repeating-conic-gradient(#f3ece1 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.variant.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(184, 148, 92, .3); }
.variant canvas { width: 100%; height: 120px; object-fit: contain; }

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

.legal { max-width: 720px; padding-bottom: 60px; }
.legal h1 { font-size: 44px; margin-top: 10px; }
.legal h2 { font-size: 28px; margin-top: 1.6em; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal .updated { font-size: 14px; }
.legal a { color: var(--gold-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.footer-links a { color: inherit; }
