/* Butterscotch website: home, privacy, terms, support. Colors come from the app icon's stripes.
   Text is large on purpose: many readers are older adults. Every text color is 7:1 or better on its background. */
:root {
  color-scheme: light;
  --cream: #FBF4E6;
  --paper: #FFFFFF;
  --ink: #1F1611;
  --ink-soft: #3D2F26;
  --line: #E6D7BF;
  --gold: #F6B400;
  --orange: #F27405;
  --coral: #E5483B;
  --berry: #B3123F;
  --brown: #4A1712;
  --link: #8A1031;
  --done: #1E5B33;
  --app-bg: #17171A;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 20px/1.6 Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 4px; }

/* The icon's five stripes, used as a thin band */
.stripes { height: 10px; background: linear-gradient(to right, var(--gold) 0 20%, var(--orange) 20% 40%, var(--coral) 40% 60%, var(--berry) 60% 80%, var(--brown) 80%); }

/* Header */
.bar { border-bottom: 1px solid var(--line); background: var(--cream); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 24px; }
.logo img { width: 44px; height: 44px; border-radius: 11px; }
.nav { display: flex; gap: 22px; font-size: 18px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Home: hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin: 0 0 14px; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; font-weight: 600; }
h1 em { font-style: normal; color: var(--berry); }
.lead { font-size: 23px; color: var(--ink-soft); margin: 0 0 30px; max-width: 34ch; }
.soon { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 999px; padding: 14px 24px; font-weight: 500; font-size: 19px; text-decoration: none; }
.soon .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.note { font-size: 17px; color: var(--ink-soft); margin-top: 16px; }

/* Home: the phone (drawn in HTML so it shows only what the app really does) */
.phone { width: 330px; max-width: 100%; margin: 0 auto; background: #0B0B0D; border-radius: 52px; padding: 12px; box-shadow: 0 30px 60px rgba(74,23,18,.25), 0 0 0 1px rgba(0,0,0,.4); }
.screen { background: var(--app-bg); border-radius: 42px; padding: 26px 18px 22px; color: #fff; font-family: Inter, system-ui, sans-serif; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.who .initials { width: 50px; height: 50px; border-radius: 16px; background: #4058C8; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.who b { display: block; font-size: 22px; line-height: 1.1; }
.who span { color: #C9C9D1; font-size: 14px; }
.today { display: flex; border-radius: 22px; overflow: hidden; margin-bottom: 14px; }
.today div { flex: 1; padding: 14px 16px; line-height: 1.15; }
.today .a { background: #fff; color: #17171A; }
.today .b { background: #3A50B5; }
.today strong { font-size: 34px; display: block; font-weight: 600; }
.today small { font-size: 13px; font-weight: 600; }
.card { border-radius: 22px; padding: 14px 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 18px; }
.card small { display: block; font-size: 13px; font-weight: 500; opacity: .95; }
.card.orange { background: #9C3817; }
.card.blue { background: #3A50B5; }
.card.white { background: #fff; color: #17171A; }
.card.dark { background: #222226; border: 1.5px solid #5C5C64; }
.check { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #9C3817; display: grid; place-items: center; font-size: 17px; flex: none; }
.heart { color: #F4B39C; font-size: 14px; margin-top: 12px; text-align: center; }

/* Home: sections */
section.band { padding: 72px 0; }
section.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 14px; font-weight: 600; }
.sub { color: var(--ink-soft); max-width: 46ch; margin: 0 0 36px; font-size: 21px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
section.paper .tile { background: var(--cream); }
.tile h3 { margin: 12px 0 6px; font-size: 23px; font-weight: 600; line-height: 1.25; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 18px; }
.chip { width: 44px; height: 8px; border-radius: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.side { border-radius: 26px; padding: 32px; }
.side.free { background: var(--paper); border: 1px solid var(--line); }
.side.family { background: var(--brown); color: #fff; }
.side.family p, .side.family li { color: #F7EADB; }
.side h3 { font-size: 28px; margin: 0 0 4px; font-weight: 600; }
.side .tag { font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.side.free .tag { color: var(--done); }
.side.family .tag { color: #FFD66B; }
.side ul { margin: 16px 0 0; padding-left: 0; list-style: none; }
.side li { padding-left: 30px; position: relative; margin: 10px 0; font-size: 19px; }
.side li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--done); }
.side.family li::before { color: #FFD66B; }
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.promise li { border-top: 2px solid var(--ink); padding-top: 12px; font-size: 19px; }
.promise b { display: block; font-size: 21px; }
.cta { text-align: center; padding: 80px 0; }
.cta .sub { margin: 0 auto 30px; }

/* Legal and support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 8px; }
.doc .date { color: var(--ink-soft); font-size: 17px; margin: 0 0 30px; }
.doc h2 { font-size: 28px; margin: 40px 0 10px; }
.doc h3 { font-size: 22px; margin: 26px 0 6px; font-weight: 600; }
.doc p, .doc li { color: var(--ink-soft); }
.doc li { margin: 8px 0; }
.short { background: var(--paper); border: 1px solid var(--line); border-left: 8px solid var(--orange); border-radius: 16px; padding: 18px 24px; margin: 0 0 30px; }
.short h2 { font-size: 22px; margin: 0 0 6px; }
.short ul { margin: 0; padding-left: 22px; }
.table { width: 100%; border-collapse: collapse; font-size: 17px; margin: 14px 0; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.table th { font-weight: 600; color: var(--ink); background: var(--paper); }
.table td { color: var(--ink-soft); }
.table td:first-child { color: var(--ink); font-weight: 500; }
.contact { background: var(--brown); color: #fff; border-radius: 22px; padding: 26px 28px; margin: 0 0 34px; }
.contact p { color: #F7EADB; margin: 4px 0; }
.contact a { color: #FFD66B; font-size: clamp(19px, 5vw, 24px); font-weight: 600; overflow-wrap: anywhere; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; padding: 0 22px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
details p { margin: 12px 0 16px; }

/* Footer */
footer { background: var(--ink); color: #F3E8D8; padding: 44px 0 36px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .say { font-size: 22px; font-weight: 500; margin: 0 0 6px; color: #fff; }
footer p { margin: 0; font-size: 16px; color: #E6D8C4; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 17px; }
footer a { color: #fff; }

@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .two { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  section.band { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 19px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; font-size: 17px; }
  .side { padding: 24px; }
  .table { font-size: 15px; }
  .table th, .table td { padding: 10px 6px; }
}
