/* Marketing and legal pages (homepage, privacy, terms, 404).
   Wedding stationery without frames: soft white paper, warm charcoal ink, champagne
   accents, a blush arch behind the card. Sections are separated by space and tone,
   not boxes or rules. Serif for headlines because this is stationery. */
:root {
  color-scheme: light dark;
  --paper: #fbf9f6;
  --tint: #f4efe9;
  --blush: #f2e3df;
  --ink: #2a2725;
  --muted: #6c6661;
  --gold: #b8956a;
  --gold-ink: #8a6a40;
  --gold-soft: #efe4d4;
  --button: #2a2725;
  --button-hover: #45403c;
  --on-button: #fbf9f6;
  --warn-ink: #7a4a10;
  --warn-tint: #faefd9;
  --pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: Georgia, "Times New Roman", serif;
  --script: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161514;
    --tint: #1e1c1a;
    --blush: #2a2220;
    --ink: #eee9e3;
    --muted: #aaa39b;
    --gold: #d2b48b;
    --gold-ink: #d2b48b;
    --gold-soft: #332c22;
    --button: #d2b48b;
    --button-hover: #e0c7a3;
    --on-button: #1a1817;
    --warn-ink: #eec27e;
    --warn-tint: #33280f;
  }
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; background: var(--paper); }
/* Menu links land below the sticky header instead of under it. */
html { scroll-padding-top: 84px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h3 { font-family: inherit; font-weight: 650; font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-soft); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; }
.skip-link:focus { left: 8px; z-index: 30; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* Header: no rule underneath; the paper colour carries it */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; min-height: 72px; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 32px; height: 32px; display: block; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 0.94rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.site-nav a:hover { color: var(--gold-ink); }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--on-button); padding: 0 18px; }

/* Buttons: one solid pill; the second action is a plain text link */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: var(--pill); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; }
.btn-primary { background: var(--button); color: var(--on-button); }
.btn-primary:hover { background: var(--button-hover); color: var(--on-button); }
.btn-secondary { background: transparent; color: var(--ink); padding: 0 6px; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.btn-secondary::after { content: "\2192"; font-weight: 400; transition: translate 180ms var(--ease); }
.btn-secondary:hover { color: var(--gold-ink); }
.btn-secondary:hover::after { translate: 3px 0; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Ornament: a single small champagne diamond above a heading */
.flourish { display: flex; justify-content: center; color: var(--gold); }
.flourish span { position: relative; width: 10px; height: 10px; transform: rotate(45deg); background: currentColor; font-size: 0; }
.flourish span::before, .flourish span::after { content: ""; position: absolute; width: 4px; height: 4px; background: currentColor; opacity: 0.55; }
.flourish span::before { left: -9px; top: 13px; }
.flourish span::after { left: 15px; top: -9px; }

/* Hero: copy straight on the paper; the card stands in front of a blush arch */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-kicker { margin: 0; font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--gold-ink); }
.hero h1 { font-size: clamp(2.6rem, 4.8vw, 4rem); line-height: 1.05; }
.lead { margin: 0; font-size: 1.15rem; color: var(--muted); max-width: 44ch; }
.hero-visual { position: relative; height: 600px; }
.hero-visual::before { content: ""; position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 420px; height: 590px; border-radius: 210px 210px 0 0; background: var(--blush); }
.device { margin: 0; position: absolute; z-index: 1; width: 196px; border: 6px solid #1c1a19; border-radius: 30px; overflow: hidden; background: #1c1a19; box-shadow: 0 30px 60px -28px rgb(28 26 25 / 0.5); }
.device img { display: block; width: 100%; height: auto; }
.device--back { left: 44px; top: 112px; }
.device--front { right: 44px; top: 150px; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-sub { margin: 10px 0 0; color: var(--muted); font-size: 1.05rem; }
.section-head-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.section--tinted { background: var(--tint); }

/* How it works: four steps numbered like an atur cara, separated by space */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.steps li::before { content: counter(step, upper-roman); font-family: var(--serif); font-size: 1.6rem; color: var(--gold-ink); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Dashboard: the real thing, large, on the tinted band */
.feature-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 720px; margin: 0 auto; }
.feature-head p { margin: 0; color: var(--muted); font-size: 1.07rem; max-width: 62ch; }
.screen { margin: 56px 0 0; }
.screen img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 50px 90px -50px rgb(42 39 37 / 0.45), 0 2px 8px rgb(42 39 37 / 0.06); }

/* On the card / On the day */
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 72px; }
.columns--with-shot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 250px; gap: 32px 56px; align-items: start; }
.device--inline { position: static; width: 100%; }
.plain-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.plain-list li { color: var(--muted); line-height: 1.55; padding-left: 22px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.plain-list strong { color: var(--ink); font-weight: 650; }

/* Pricing: three open columns; the recommended one is marked in script, not boxed */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: stretch; margin-top: 56px; }
.plan { display: flex; flex-direction: column; gap: 16px; text-align: center; padding: 8px 4px; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 3.6rem; justify-content: flex-end; }
.plan-note { order: -1; font-family: var(--script); font-size: 1.2rem; color: var(--gold-ink); line-height: 1; }
.price { margin: 0; font-size: 3rem; font-family: var(--serif); line-height: 1; letter-spacing: -0.01em; }
.plan-featured .price { color: var(--gold-ink); }
.plan ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 0.96rem; color: var(--muted); }
.plan .btn { margin: auto auto 0; }
.plan .btn-secondary { min-height: 50px; }
.pricing-note { margin: 40px auto 0; color: var(--muted); font-size: 0.93rem; max-width: 72ch; text-align: center; }

/* FAQ: title left, questions right, spaced instead of ruled */
.columns--faq { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }
.faq { display: flex; flex-direction: column; gap: 6px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 14px 40px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--gold-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); max-width: 62ch; }

/* Closing: a full-width blush band, no panel */
.cta { padding: clamp(72px, 9vw, 112px) 0; background: var(--blush); }
.cta .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.cta p { margin: 0; color: var(--muted); }

/* Footer: spacing only */
.site-footer { padding: 36px 0 48px; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* Legal pages: rows alternate in tone instead of ruled lines */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal p, .legal li { color: color-mix(in srgb, var(--ink) 86%, var(--muted)); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; }
.legal thead th { background: var(--gold-soft); }
.legal tbody tr:nth-child(even) td { background: var(--tint); }
.updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 24px; }
.draft-note { padding: 14px 18px; border-radius: 8px; background: var(--warn-tint); color: var(--warn-ink); font-size: 0.92rem; }

/* Not found */
.not-found { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 48px 20px; }
.not-found .inner { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 480px; }
.not-found h1 { font-size: clamp(2.2rem, 6vw, 3rem); }

@media (max-width: 1060px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .hero-visual { height: 500px; }
  .hero-visual::before { width: 350px; height: 490px; border-radius: 175px 175px 0 0; }
  .device { width: 160px; border-width: 5px; border-radius: 24px; }
  .device--back { left: 20px; top: 100px; }
  .device--front { right: 20px; top: 130px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns--with-shot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device--inline { grid-column: 1 / -1; width: 240px; justify-self: center; }
}
@media (max-width: 860px) {
  .hero .wrap, .columns, .columns--faq, .columns--with-shot { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: 340px; max-width: 100%; margin: 0 auto; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 520px; margin-inline: auto; }
  .plan h3 { min-height: 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  /* On phones the header wraps to two rows, so it scrolls away instead of staying on screen. */
  .site-header { position: static; }
  html { scroll-padding-top: 16px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 4px 16px; }
  .site-nav .btn { display: none; }
  .hero-kicker { font-size: 1.35rem; white-space: nowrap; }
  .hero-visual { height: 420px; width: 300px; }
  .hero-visual::before { width: 300px; height: 412px; border-radius: 150px 150px 0 0; }
  .device { width: 132px; border-width: 4px; border-radius: 20px; }
  .device--back { left: 16px; top: 92px; }
  .device--front { right: 16px; top: 118px; }
  .device--inline { width: 220px; border-width: 7px; border-radius: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  /* Phones get a phone-sized dashboard screenshot (see the picture element). */
  .screen { width: min(300px, 100%); margin: 32px auto 0; }
  .screen img { border-radius: 20px; }
  .hero .button-row .btn-primary { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .site-nav { gap: 4px 12px; font-size: 0.86rem; }
}

/* Motion is limited to feedback on buttons. Off for people who ask for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .site-nav a, .site-footer a { transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease); }
  .btn-primary:active { transform: translateY(1px); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-secondary::after { transition: none; }
}
