/* Marry Abroad website: same look as the app (src/theme.js). Blush background, rose-to-coral gradient,
   DM Serif Display for headings, Plus Jakarta Sans for text. */
:root {
  --primary: #D61F4D; --primary-soft: #FDE4EA;
  --grad: linear-gradient(135deg, #C2185B 0%, #E23A5E 55%, #F57C5B 100%);
  --bg: #FFF6F7; --surface: #FFFFFF; --ink: #1E1A22; --ink-soft: #6E6470; --line: #F0DFE4;
  --radius: 28px; --shadow: 0 10px 30px rgba(214, 31, 77, .10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 'Plus Jakarta Sans', system-ui, sans-serif; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header and footer */
header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'DM Serif Display', Georgia, serif; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
header.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
header.top nav a { color: var(--ink-soft); text-decoration: none; }
header.top nav a:hover { color: var(--primary); }
footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* home */
.hero { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 64px 48px; margin-top: 8px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); max-width: 640px; }
.hero h1 em { font-style: italic; }
.hero p { font-size: 18px; max-width: 560px; opacity: .95; margin: 0 0 28px; }
.hero .rings { position: absolute; right: -70px; bottom: -90px; width: 460px; opacity: .22; pointer-events: none; }
.pill { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 14px; }
.button { display: inline-block; background: #fff; color: var(--primary); border-radius: 999px; padding: 12px 24px; font-weight: 700; text-decoration: none; }
.section { margin-top: 64px; }
.section > h2 { font-size: 34px; text-align: center; }
.section > p.lead { text-align: center; color: var(--ink-soft); max-width: 620px; margin: 0 auto 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.contact { background: var(--surface); border-radius: var(--radius); padding: 40px; text-align: center; box-shadow: var(--shadow); }

/* policy pages */
.doc { background: var(--surface); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); max-width: 820px; margin: 8px auto 0; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 26px; margin-top: 36px; }
.doc h3 { font-family: inherit; font-weight: 700; font-size: 16px; margin-top: 22px; }
.doc .updated { color: var(--ink-soft); font-size: 14px; margin-top: -6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--bg); font-weight: 700; }
.doc .note { background: var(--primary-soft); border-radius: 16px; padding: 16px 20px; }
.table-scroll { overflow-x: auto; }

@media (max-width: 640px) {
  header.top .wrap { flex-direction: column; align-items: flex-start; }
  .hero { padding: 40px 24px; }
  .doc { padding: 28px 20px; border-radius: 20px; }
  .doc h1 { font-size: 32px; }
  .contact { padding: 28px 20px; }
}
