/* Aunt Nagatha website. Colours and fonts match the app (src/theme.ts). */

@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces_400Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces_400Regular_Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces_600SemiBold_Italic.ttf') format('truetype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('/fonts/InterTight_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('/fonts/InterTight_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('/fonts/InterTight_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --bg: #111014;
  --surface: #1C1A20;
  --line: #2E2B33;
  --text: #F4F1EA;
  --muted: #A39FA8;
  --accent: #D45930;
  --accent-text: #E8825C;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 26px; letter-spacing: -0.5px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.site-header nav { display: flex; gap: 20px; font-size: 15px; font-weight: 500; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #FFB98F; background: #3A2A20; padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 22px; }
h1 em, h2 em { color: var(--accent); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border: 1px solid #4A4650; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; }
.badge svg { width: 18px; height: 18px; fill: currentColor; }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hero-art img { width: 100%; height: auto; display: block; }
.bubble { position: absolute; right: -4%; top: 6%; background: var(--text); color: var(--bg); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 28px; padding: 8px 18px; border-radius: 22px 22px 22px 6px; transform: rotate(6deg); }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.8px; margin: 0 0 14px; }
.section-intro { color: var(--muted); max-width: 36em; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 18px; display: block; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill { border: 1px solid #4A4650; border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; }
.pill.on { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.3; max-width: 26em; margin: 0; }
.quote span { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 720px; padding-top: 24px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(38px, 5.5vw, 56px); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.legal .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; margin-bottom: 40px; }
.legal .summary p:first-child { margin-top: 0; }
.legal .summary ul { margin-bottom: 0; }
.legal h2 { font-size: 28px; margin: 48px 0 12px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { color: #DAD6CF; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--text); font-weight: 600; }
.legal td { color: #DAD6CF; }
.todo { background: #5a3a00; color: #FFD68A; padding: 1px 6px; border-radius: 4px; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 260px; order: -1; }
  .grid { grid-template-columns: 1fr; }
  .site-header nav { gap: 14px; }
}
@media (max-width: 420px) {
  .site-header nav a.hide-sm { display: none; }
}

/* Contact form */
.form { display: grid; gap: 18px; margin-top: 8px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0.2px; }
.form input, .form textarea {
  font: inherit; font-size: 17px; color: var(--text);
  background: var(--surface); border: 1px solid #4A4650; border-radius: 14px;
  padding: 14px 16px; width: 100%;
}
.form textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 89, 48, 0.25); }
.form .optional { font-weight: 400; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px; background: var(--accent); color: var(--bg);
  font: inherit; font-weight: 600; font-size: 17px; cursor: pointer;
}
.button:hover { background: #E8825C; }
.button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.button[disabled] { opacity: 0.6; cursor: default; }
.form-status { margin: 0; font-size: 16px; min-height: 1.5em; }
.form-status.ok { color: #F6D3C4; }
.form-status.err { color: #FF8A7A; }
.thanks { background: #2E1A12; border: 1px solid #5a3424; border-radius: 20px; padding: 22px 26px; }
.thanks h2 { margin-top: 0; }
