/* Little Reset — a behavioural breathing tracker.
   Signature: the glowing "Breath Seed" orb, breathing in and out.
   Aqua on airy white; a calm, rounded type; lots of room to breathe. */

:root {
  --bg:        #FBFDFE;
  --bg-2:      #EFF7F8;
  --card:      #FFFFFF;
  --ink:       #16292D;
  --text:      #35494E;
  --muted:     #7C959B;
  --line:      #E4EEF0;
  --aqua:      #2AC7CD;   /* the Breath Seed turquoise */
  --aqua-deep: #128188;   /* readable teal for text */
  --glow:      #7FC4FF;   /* the soft halo around the orb */
  --accent:     var(--aqua);
  --accent-ink: var(--aqua-deep);

  --radius:    22px;
  --radius-lg: 30px;
  --shadow:    0 26px 54px -30px rgba(22,41,45,.32);
  --shadow-sm: 0 12px 26px -18px rgba(22,41,45,.36);
  --maxw:      1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 1.14rem; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }

h1, h2, h3, .display {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 600; line-height: 1.12; letter-spacing: -0.01em;
  color: var(--ink); margin: 0;
}
.eyebrow {
  font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); margin: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 94px 0; }
.section--tint { background: var(--bg-2); }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 14px 0 0; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,253,254,.82); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Quicksand',sans-serif; font-weight: 700; font-size: 1.28rem; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.topnav { display: flex; gap: 24px; }
.topnav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; }
.topnav a:hover { color: var(--accent-ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--aqua); color: #fff;
  padding: 15px 28px; border-radius: 999px;
  font-family: 'Quicksand',sans-serif; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--aqua) 75%, transparent);
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .apple { width: 19px; height: 22px; flex: 0 0 auto; }
.btn--ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* ---------- hero (centred, calm) ---------- */

.hero { text-align: center; padding: 60px 0 86px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 3.9rem); font-weight: 600; max-width: 16ch; margin: 16px auto 0; }
.hero .lede { max-width: 40ch; margin: 20px auto 0; font-size: 1.2rem; color: var(--text); }

/* the breathing orb */
.orbwrap { position: relative; width: 300px; height: 300px; margin: 46px auto 8px; display: grid; place-items: center; }
.orb-glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 70%, transparent) 0%, transparent 62%);
  animation: breathe 8s ease-in-out infinite;
}
.orb { position: relative; width: 180px; height: 180px; border-radius: 50%; box-shadow: 0 20px 44px -18px color-mix(in srgb, var(--aqua) 70%, transparent); animation: breathe 8s ease-in-out infinite; }
.breath-label { height: 1.6rem; margin-top: 10px; position: relative; }
.breath-label span { position: absolute; inset: 0; font-family: 'Quicksand',sans-serif; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; color: var(--accent-ink); }
.breath-label .in  { animation: showin 8s ease-in-out infinite; }
.breath-label .out { animation: showout 8s ease-in-out infinite; }

.cta-row { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-row .fine { font-weight: 600; font-size: .92rem; color: var(--muted); }

/* ---------- features ---------- */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature .ico { width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--aqua) 14%, var(--card)); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 23px; height: 23px; stroke: var(--aqua-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.55; }

/* ---------- philosophy band ---------- */

.philo { text-align: center; }
.philo .big { font-family: 'Quicksand',sans-serif; font-weight: 600; font-size: clamp(1.8rem,3.6vw,2.6rem); color: var(--ink); max-width: 20ch; margin: 0 auto; line-height: 1.3; }
.philo .big em { font-style: normal; color: var(--accent-ink); }
.philo p { max-width: 48ch; margin: 22px auto 0; color: var(--muted); font-size: 1.12rem; }

/* ---------- screenshots ---------- */

.shots { display: flex; justify-content: safe center; gap: 22px; overflow-x: auto; padding: 8px 24px 22px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.shot { flex: 0 0 auto; width: 234px; scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- privacy strip ---------- */

.privacy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; max-width: 940px; margin: 44px auto 0; }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.promise .ic { width: 34px; height: 34px; margin-bottom: 14px; }
.promise .ic svg { width: 34px; height: 34px; stroke: var(--aqua-deep); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.promise b { font-family: 'Quicksand',sans-serif; color: var(--ink); font-size: 1.16rem; font-weight: 700; }
.promise p { margin: 6px 0 0; color: var(--muted); font-size: 1rem; }

/* ---------- closer ---------- */

.closer { text-align: center; }
.closer h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.closer .cta-row { margin-top: 28px; }

/* ---------- footer ---------- */

.foot { background: var(--card); border-top: 1px solid var(--line); padding: 44px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.foot nav a { color: var(--text); text-decoration: none; margin-left: 22px; font-weight: 600; }
.foot nav a:hover { color: var(--accent-ink); }
.foot .copy { width: 100%; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 4px; }

/* ---------- content pages ---------- */

.page-head { text-align: center; padding: 58px 0 64px; position: relative; overflow: hidden; }
.page-head::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 90% at 50% 0%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 68%); }
.page-head > * { position: relative; }
.page-head img.logo { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; box-shadow: var(--shadow); }
.page-head h1 { font-size: clamp(2.2rem,5.4vw,3.2rem); }
.back-link { display: inline-block; margin-top: 22px; color: var(--accent-ink); background: color-mix(in srgb, var(--aqua) 12%, #fff); padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.prose { max-width: 760px; margin: 0 auto; padding: 66px 24px; }
.prose h2 { font-size: 1.9rem; margin: 8px 0 22px; }
.prose h3 { font-size: 1.3rem; color: var(--ink); margin: 38px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.updated { display: inline-block; font-family:'Quicksand',sans-serif; font-weight: 700; font-size: .85rem; color: var(--accent-ink); background: color-mix(in srgb, var(--aqua) 12%, #fff); padding: 8px 14px; border-radius: 10px; margin-bottom: 28px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 14px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 22px 26px; font-family:'Quicksand',sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua); font-weight: 700; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); font-size: 1.04rem; }
.callout { background: color-mix(in srgb, var(--aqua) 9%, #fff); border-radius: var(--radius); padding: 24px 28px; }

/* ---------- motion ---------- */

@keyframes breathe { 0%,100% { transform: scale(.82); } 50% { transform: scale(1.1); } }
@keyframes showin  { 0%,4% { opacity: 0; } 20%,46% { opacity: 1; } 54%,100% { opacity: 0; } }
@keyframes showout { 0%,50% { opacity: 0; } 66%,96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1, .hero .lede, .hero .cta-row { animation: rise .6s both cubic-bezier(.2,.7,.2,1); }

/* ---------- a11y ---------- */

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .orb, .orb-glow { transform: scale(1); }
  .breath-label .in { opacity: 1; } .breath-label .out { display: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } .privacy-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  body { font-size: 1.08rem; }
  .section { padding: 62px 0; }
  .grid { grid-template-columns: 1fr; }
  .topnav { gap: 14px; font-size: .95rem; }
  .topnav a.hide-sm { display: none; }
  .orbwrap { width: 240px; height: 240px; }
  .orb { width: 150px; height: 150px; } .orb-glow { width: 210px; height: 210px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
  .foot nav a { margin: 0 22px 0 0; }
}
