/* Two Skies site: same look as the app (light only). Off-white page, dark 2px outlines, lavender and pink accents. */
:root {
  --page: #F5F3F0;
  --ink: #2B2233;
  --muted: #6E6873;
  --line: #2B2233;
  --soft-line: #DDD8D3;
  --white: #FFFFFF;
  --lavender: #ECE7FF;
  --pink: #FFE3EA;
  --cream: #FFFBF5;
  --violet: #5B3FD9;
  --night: #3D3A8C;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 12px; border-radius: 999px; border: 2px solid transparent; }
.nav a:hover { border-color: var(--soft-line); }
.nav a[aria-current="page"] { background: var(--lavender); border-color: var(--line); }

/* Hero card */
.hero { margin: 24px 0 28px; padding: 28px 24px; border: 2px solid var(--line); border-radius: 28px; background: var(--lavender); }
.hero h1 { margin: 0 0 6px; font-size: clamp(30px, 6vw, 40px); line-height: 1.1; letter-spacing: -1px; font-weight: 800; }
.hero p { margin: 0; color: var(--muted); font-weight: 500; }
.hero .meta { margin-top: 12px; font-size: 14px; }

/* Content */
.card { background: var(--white); border: 2px solid var(--line); border-radius: 24px; padding: 8px 24px 20px; }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.4px; font-weight: 800; margin: 28px 0 8px; }
h3 { font-size: 17px; font-weight: 700; margin: 20px 0 4px; }
p, li { color: var(--ink); }
ul { padding-left: 22px; margin: 8px 0; }
li { margin: 4px 0; }
a { color: var(--violet); font-weight: 600; }
strong { font-weight: 700; }
.muted { color: var(--muted); }

/* Summary chips at the top of the policy */
.tldr { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 20px 0 4px; }
.tldr div { border: 2px solid var(--line); border-radius: 18px; padding: 12px 14px; background: var(--cream); font-weight: 600; font-size: 15px; line-height: 1.4; }
.tldr div:nth-child(2) { background: var(--pink); }
.tldr div:nth-child(3) { background: var(--lavender); }

/* Tables (who we share with) */
.table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-top: 1.5px solid var(--soft-line); vertical-align: top; }
.table th { font-weight: 700; border-top: none; }
.table-scroll { overflow-x: auto; }

/* Big link tiles (home + support) */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tile { display: block; text-decoration: none; color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: 22px; padding: 18px; }
.tile:hover { background: var(--cream); }
.tile b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.tile span { color: var(--muted); font-weight: 500; font-size: 15px; }

.button { display: inline-block; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px; }
.button:hover { background: #000; }

details { border-top: 1.5px solid var(--soft-line); padding: 12px 0; }
details:first-of-type { border-top: none; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 8px 0 0; }

footer { margin-top: 36px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .card { padding: 4px 16px 16px; border-radius: 20px; }
  .hero { padding: 22px 18px; border-radius: 22px; }
  .top { flex-direction: column; align-items: flex-start; }
}
