@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #FAF6F0;
  --paper-2: #F2EBE1;
  --card: #FFFFFF;
  --ink: #1C2F46;
  --ink-soft: #55606E;
  --text: #2A2F37;
  --blue: #2D5A88;
  --blue-soft: #E4ECF5;
  --blue-tint: #EEF2F7;
  --line: #E6DDD0;
  --terra: #B8492F;
  --terra-soft: #F6E3DA;
  --sage: #2F6B4A;
  --sage-soft: #E3EEE6;
  --radius: 24px;
  --max: 1160px;
  --shadow: 0 2px 4px rgba(28,47,70,.05), 0 18px 40px -18px rgba(28,47,70,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
h1, h2 { color: var(--ink); font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; font-variation-settings: "opsz" 96; }
h2 i { font-style: italic; font-weight: 500; color: var(--blue); }
.cta-box h2, .cta-box h2 i { color: #fff; }
.cta-box h2 i { color: #BFD6EE; }
h3 { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header .logo img { width: 150px; }
.nav { display: flex; gap: 24px; align-items: center; font-weight: 600; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: .85rem; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 16px; border-radius: 999px; text-decoration: none; line-height: 1.1; background: var(--ink); color: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: .72rem; opacity: .8; }
.store strong { display: block; font-size: 1.08rem; }
.store.on-photo { background: #fff; color: var(--ink); }

/* Hero */
.hero { padding: 0 0 40px; }
.hero-frame { position: relative; border-radius: 32px; overflow: hidden; min-height: 600px; display: flex; align-items: flex-end; color: #fff; }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,36,56,.88) 0%, rgba(28,47,70,.6) 45%, rgba(28,47,70,.05) 75%), linear-gradient(0deg, rgba(20,36,56,.55), rgba(20,36,56,0) 50%); }
.hero-copy { position: relative; z-index: 1; padding: 56px; max-width: 640px; }
.hero-copy .tag { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 600; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-copy .tag .icon { width: 16px; height: 16px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.2rem); margin: 20px 0 16px; }
.hero h1 i { color: #BFD6EE; }
.hero h1 i { font-style: italic; font-weight: 500; }
.hero .lead { font-size: 1.18rem; color: rgba(255,255,255,.9); margin-bottom: 30px; max-width: 30em; }

/* Invitation */
.invite { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.kicker { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.invite h2, .section-title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.invite .body { color: var(--ink-soft); margin-top: 16px; font-size: 1.1rem; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps .n { font-family: "Fraunces", serif; font-size: 1.6rem; font-weight: 600; color: var(--blue); line-height: 1.2; text-align: center; }
.steps p { color: var(--ink-soft); }

.card-stack { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.card-stack::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; background: var(--blue-soft); border-radius: var(--radius); transform: rotate(3deg); }
.inv-card { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; transform: rotate(-1.5deg); }
.inv-card .top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.inv-card .top .date { background: var(--blue-soft); padding: 4px 10px; border-radius: 8px; color: var(--ink); }
.inv-card h3 { font-family: "Fraunces", serif; font-size: 1.8rem; font-weight: 600; margin: 18px 0 6px; }
.inv-card .desc { color: var(--ink-soft); }
.guests { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.guests li { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; padding: 5px 12px 5px 6px; border-radius: 999px; }
.guests .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; color: #fff; }
.guests .yes { background: var(--sage-soft); color: var(--sage); } .guests .yes .av { background: var(--sage); }
.guests .no { background: var(--terra-soft); color: var(--terra); } .guests .no .av { background: var(--terra); }
.guests .open { background: var(--paper-2); color: var(--ink-soft); } .guests .open .av { background: #9AA3AE; }
.rsvp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rsvp span { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; font-weight: 700; }
.rsvp .y { background: var(--sage); color: #fff; }
.rsvp .n2 { border: 1.5px solid var(--line); color: var(--ink-soft); }
.rsvp .icon { width: 18px; height: 18px; stroke-width: 2.6; }

section { padding: 96px 0; }

/* App + features */
.app { background: var(--blue-tint); }
.app .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phone { width: min(300px, 70vw); margin: 0 auto; border-radius: 44px; padding: 11px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(28,47,70,.5); }
.phone img { border-radius: 34px; aspect-ratio: 530 / 922; object-fit: cover; background: #fff; }
/* three app screens: list in front, the two event views behind it */
.phones { display: flex; justify-content: center; align-items: center; width: 100%; max-width: 540px; margin: 0 auto; padding: 16px 0 24px; }
.phones .phone { flex: none; margin: 0; padding: 7px; border-radius: 34px; }
.phones .phone img { aspect-ratio: 600 / 1225; border-radius: 28px; }
.phones .front { width: 46%; position: relative; z-index: 2; }
.phones .left, .phones .right { width: 37%; position: relative; z-index: 1; opacity: .96; box-shadow: 0 30px 60px -30px rgba(28,47,70,.45); }
.phones .left { margin-right: -10%; transform: translateY(18px) rotate(-6deg); }
.phones .right { margin-left: -10%; transform: translateY(18px) rotate(6deg); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.feat div { border-top: 2px solid var(--blue); padding-top: 16px; }
.feat h3 { margin-bottom: 6px; }
.feat p { color: var(--ink-soft); }
.occ { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.occ li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid #CFDCEA; color: var(--ink); font-weight: 600; font-size: .92rem; }

/* Security */
.promise { text-align: center; }
.promise .seal { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--ink); box-shadow: 0 0 0 10px rgba(45,90,136,.08); }
.promise .seal .icon { width: 40px; height: 40px; stroke-width: 1.6; }
.promise .intro { color: var(--ink-soft); max-width: 36em; margin: 16px auto 48px; font-size: 1.12rem; }
.promise .intro a { color: var(--blue); font-weight: 600; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.promises li {
  background: var(--card); border-radius: 20px; padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(28,47,70,.05), 0 10px 24px -10px rgba(28,47,70,.18), 0 30px 60px -30px rgba(28,47,70,.28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.promises li:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(28,47,70,.06), 0 16px 32px -12px rgba(28,47,70,.24), 0 40px 70px -30px rgba(28,47,70,.34); }
.promises .icon { display: block; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.promises strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.promises span { color: var(--ink-soft); font-size: .96rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); padding-bottom: 20px; }

/* CTA */
.cta-box { background: linear-gradient(135deg, var(--ink) 0%, #24456A 100%); color: #fff; border-radius: 32px; padding: 64px 48px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta-box h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-box p { color: #C9D3E0; margin-top: 12px; font-size: 1.1rem; }
.cta-box .stores { justify-content: flex-end; }
.cta-box .store { background: #fff; color: var(--ink); }

footer { padding: 56px 0 36px; color: var(--ink-soft); font-size: .95rem; }
footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h2 { font-family: "Manrope", sans-serif; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; font-weight: 700; }
footer address { font-style: normal; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { color: var(--blue); }
footer .bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

@media (max-width: 960px) {
  .promises { grid-template-columns: 1fr 1fr; }
  .invite, .app .grid, .faq-wrap, .cta-box { grid-template-columns: 1fr; }
  .invite { gap: 48px; }
  .cta-box .stores { justify-content: flex-start; }
  footer .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero .wrap { padding: 0 12px; }
  .hero-frame { display: block; min-height: 0; border-radius: 24px; background: var(--ink); }
  .hero-frame > img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .hero-frame::after { display: none; }
  .hero-copy { padding: 28px 22px; }
  .feat, .promises { grid-template-columns: 1fr; }
  .phones .phone { padding: 5px; border-radius: 22px; }
  .phones .phone img { border-radius: 18px; }
  .cta-box { padding: 40px 24px; border-radius: 24px; }
  .store { flex: 1 1 200px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* ---- Header language switch ---- */
.site-header .logo { display: block; line-height: 0; }
.site-header .logo img { width: 160px; }
.nav .lang { text-decoration: none; }

/* ---- CTA watermark ---- */
.cta-box { position: relative; overflow: hidden; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box .mark { position: absolute; z-index: 0; right: -30px; bottom: -70px; width: 260px; opacity: .07; pointer-events: none; }

/* ---- Footer ---- */
footer .grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
footer .brand img { width: 150px; margin-bottom: 14px; }
footer .brand p { max-width: 22em; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---- Legal pages ---- */
.legal { padding: 40px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal .crumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; }
.legal .crumb a { color: var(--blue); text-decoration: none; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); }
.legal h1 i { font-style: italic; font-weight: 500; color: var(--blue); }
.legal .meta { color: var(--ink-soft); margin: 12px 0 40px; }
.legal section { padding: 0; margin-top: 40px; }
.legal h2 { font-size: 1.55rem; margin-bottom: 14px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 1.25em; margin: 0; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--blue); font-weight: 600; }
.legal .card { background: var(--card); border-radius: 20px; padding: 28px 32px; box-shadow: 0 1px 2px rgba(28,47,70,.05), 0 10px 24px -10px rgba(28,47,70,.18), 0 30px 60px -30px rgba(28,47,70,.28); }
.legal address { font-style: normal; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 16px 0 0; }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; }
.legal .note { margin-top: 48px; padding: 16px 20px; border-radius: 14px; background: var(--blue-tint); color: var(--ink-soft); font-size: .95rem; }

@media (max-width: 960px) {
  footer .grid { grid-template-columns: 1fr 1fr; }
  footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  footer .grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd + dt { margin-top: 10px; }
}

/* ---- Privacy: summary, table of contents, sub-headings ---- */
.legal h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.legal .summary h2 { font-size: 1.35rem; margin-bottom: 14px; }
.legal .checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.legal .checklist li { position: relative; padding-left: 30px; }
.legal .checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D5A88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.legal .toc { margin-top: 32px; }
.legal .toc h2 { font-family: "Manrope", sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.legal .toc ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.legal .toc a { font-weight: 600; text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
.legal section[id] { scroll-margin-top: 24px; }
@media (max-width: 560px) { .legal .toc ol { grid-template-columns: 1fr; } }
.legal .toc li + li, .legal .checklist li + li { margin-top: 0; }
