/* Kettle — kettle-reminder.app
   The app's own look (DESIGN.md): a white page, plain greys, cobalt for
   everything you can tap, the red kettle, Manrope. Dark follows the phone. */

@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(fonts/Manrope-Regular.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(fonts/Manrope-Medium.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(fonts/Manrope-SemiBold.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/Manrope-Bold.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --ground: #ffffff;
  --surface: #f5f5f7;
  --track: #f1f1f3;
  --line: #ebebee;
  --text: #111113;
  --text-2: #5f5f68;
  --text-3: #6b6b74;
  --accent: #2f5bea;
  --accent-hover: #2546b7;
  --on-accent: #ffffff;
  --late: #a50e0e;
  --steam: #c7c7cf;
  --ok: #1e6b3a;
  --radius: 24px;
  --control: 16px;
  --max: 1080px;
  --gutter: clamp(20px, 5vw, 40px);
}
/* No dark variant: the site is white, like the app's default (owner, 2026-10-25). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 400 17px/1.55 Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--ground); padding: 12px 16px; border-radius: 12px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); max-width: 32em; }
.muted { color: var(--text-2); }
.fine { font-size: 15px; color: var(--text-2); text-wrap: balance; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--control); min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--on-accent); font: 600 17px/1 Manrope, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn[disabled] { opacity: .55; cursor: progress; }
.header-cta { min-height: 44px; padding: 0 18px; font-size: 16px; }
@media (max-width: 720px) { .nav { gap: 20px; } .nav .hide-sm, .header-cta { display: none; } }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.band { background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.copy > * + * { margin-top: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.kettle .h { stroke: #1f2a27; }
.kettle .m { fill: #1f2a27; }
.hero .kettle { width: 150px; height: auto; margin-bottom: 20px; overflow: visible; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.badges a { display: block; line-height: 0; }
.badges img.apple { height: 52px; width: auto; }
.badges img.google { height: 76px; width: auto; margin: -12px; } /* the official artwork carries its own padding */
.hero .fine { margin-top: 20px; }

/* The kettle whistles: steam rises and it rattles in short bursts.
   Nothing moves when the phone asks for less motion. */
.hero .kettle .body { transform-box: fill-box; transform-origin: 50% 100%; }
.hero .kettle .steam circle { fill: var(--steam); opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero .kettle .body { animation: rattle 3.2s ease-in-out infinite; }
  .hero .kettle .steam circle { animation: rise 2.4s ease-out infinite; }
  .hero .kettle .steam circle:nth-child(2) { animation-delay: .8s; }
  .hero .kettle .steam circle:nth-child(3) { animation-delay: 1.6s; }
}
@keyframes rattle { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(-2.5deg); } 66% { transform: rotate(2.5deg); } 72% { transform: rotate(-2deg); } 78% { transform: rotate(1.5deg); } 84% { transform: rotate(0); } }
@keyframes rise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 20% { opacity: .9; } 100% { transform: translate(8px, -44px) scale(1.5); opacity: 0; } }

/* Phones: a plain dark frame around the real app screen. */
.phones { position: relative; min-height: clamp(460px, 56vw, 640px); }
.phone { position: absolute; width: var(--w, 280px); aspect-ratio: 1206 / 2622; padding: 2.6%; border-radius: 14% / 6.4%;
  background: #111113; box-shadow: 0 0 0 1px rgba(127, 127, 140, .35), 0 24px 48px rgba(17, 17, 19, .14); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 11.6% / 5.2%; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .screen::after { content: ""; position: absolute; top: 1.6%; left: 50%; width: 27%; height: 2.3%; transform: translateX(-50%); background: #111113; border-radius: 99px; }
.one { position: relative; width: min(100%, 300px); margin-inline: auto; }
.one .phone { position: relative; width: 100%; }
.pair { position: relative; min-height: clamp(440px, 52vw, 600px); }
@media (max-width: 860px) {
  .phones { min-height: 470px; }
  .pair { min-height: 440px; }
}

/* Whistles, until Done */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.steps > div { background: var(--ground); border-radius: var(--radius); padding: 24px 28px 28px; }
.steps h3 { font-size: 24px; letter-spacing: -.02em; }
.steps p { margin-top: 8px; color: var(--text-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 12px; } }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0; }
.copy > .ticks { margin-top: 28px; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.also { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 40px; }
.also .ticks { margin: 0; }
.also .ticks + .ticks li:first-child { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .also { grid-template-columns: 1fr; } .also .ticks:first-child li:last-child { border-bottom: 0; } }
.tag { color: var(--text-2); font-weight: 600; font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; align-items: start; }
.plan { border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); background: var(--surface); }
.band .plan { background: var(--ground); }
.plan .price { font: 700 clamp(40px, 5vw, 52px)/1 Manrope, sans-serif; letter-spacing: -.03em; margin: 16px 0 4px; }
.plan .price small { font: 500 17px Manrope, sans-serif; letter-spacing: 0; color: var(--text-2); margin-left: 8px; }
.plan .ticks { margin-top: 24px; }
.plan .fine { margin-top: 20px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Privacy strip */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.promise div { border-top: 2px solid var(--text); padding-top: 16px; }
.promise h3 { font-size: 22px; }
.promise p { margin-top: 6px; color: var(--text-2); }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .promise { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin-top: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.35 Manrope, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { padding: 0 0 20px; color: var(--text-2); max-width: 44em; }

/* Download */
.download { text-align: center; }
.download img.kettle { width: 120px; margin: 0 auto 20px; }
.download .badges { justify-content: center; }

/* Footer */
.site-footer { background: var(--surface); padding: 56px 0 40px; font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h2 { margin: 0 0 12px; font: 600 15px/1 Manrope, sans-serif; letter-spacing: 0; color: var(--text-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; color: var(--text-2); font-size: 14px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* Documents (privacy, terms, support) */
.doc { padding: clamp(40px, 6vw, 80px) 0 96px; }
.doc .narrow { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc .updated { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.doc h2 { font-size: clamp(24px, 3vw, 28px); margin: 48px 0 12px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc .summary { background: var(--surface); border-radius: var(--radius); padding: 24px 28px; margin-top: 28px; }
.doc .summary p { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px; border-top: 1px solid var(--line); color: var(--text-2); }
.doc th { color: var(--text); font-weight: 600; }
@media (max-width: 560px) { .doc td::before { content: attr(data-label); display: block; font-weight: 600; font-size: 14px; color: var(--text); } .doc table, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc tr:first-child { display: none; } .doc td { border: 0; padding: 4px 0; } .doc tr { padding: 12px 0; border-top: 1px solid var(--line); } }

/* Support form */
.support-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 40px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } .support-grid .form { order: -1; } }
.help h2 { margin-top: 0; }
.help h3 { margin-top: 24px; }
.help p { margin-top: 6px; color: var(--text-2); }
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); }
.form h2 { font-size: 28px; margin-top: 0; }
.field { margin-top: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--text-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
input[type=text], input[type=email], select, textarea {
  width: 100%; font: 400 16px/1.4 Manrope, sans-serif; color: var(--text); background: var(--ground);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 48px; }
.form input, .form select, .form textarea { border-color: transparent; }
textarea { min-height: 170px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-radius: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 15px; color: var(--text-2); }
.consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 22px; min-height: 66px; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.status { font-size: 15px; }
.status.error { color: var(--late); }
.status.ok { color: var(--ok); }
.sent h2 { margin-bottom: 12px; }

/* 404, share-link page */
.center { min-height: 70vh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; text-align: center; padding: 48px 0; }
.center .kettle { width: 120px; margin: 0 auto 20px; }
.center h1 { font-size: clamp(30px, 5vw, 40px); }
.center .btn { margin-top: 28px; }
.share { max-width: 440px; width: 100%; padding: 0 20px; text-align: center; }
.share .card { background: var(--surface); border-radius: var(--radius); padding: 20px 24px; text-align: left; margin-top: 24px; }
.share .title { font-size: 24px; font-weight: 600; margin: 0 0 4px; overflow-wrap: anywhere; line-height: 1.25; }
.share .line { color: var(--text-2); margin: 4px 0 0; overflow-wrap: anywhere; }
.share .btn { display: flex; width: 100%; min-height: 60px; margin-top: 24px; font-size: 19px; }
.share .stores { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.share .stores a { font-weight: 600; padding: 12px; }
.share .note { color: var(--text-2); font-size: 15px; margin-top: 16px; }
.share .bad { color: var(--late); margin-top: 24px; }

/* Form: the error sits under its field; the field gets a red edge. */
.form p.field-error, form p.field-error { color: var(--late); font-size: 15px; font-weight: 600; margin: 6px 0 0; }
form [aria-invalid="true"], form [aria-invalid="true"]:focus, form [aria-invalid="true"]:focus-visible { border-color: var(--late); outline: 2px solid var(--late); outline-offset: 1px; box-shadow: none; }
