/* Dayglass site: one stylesheet for every page except the ad landing pages (sign/start, routines/start).
   Frosted glass over slowly drifting colour orbs. No web fonts, no scripts. */
:root {
  --text: #1d1d1f; --muted: #6e6e73; --soft: #86868b;
  --tint: #6a7dff; --tint2: #b77cff; --tint3: #5fd0e6;
  --glass: rgba(255, 255, 255, .6); --glass-strong: rgba(255, 255, 255, .78);
  --edge: rgba(255, 255, 255, .85); --line: rgba(18, 21, 33, .08);
  --shadow: 0 24px 60px -18px rgba(30, 60, 110, .22), 0 2px 6px rgba(30, 60, 110, .05);
  --r: 28px;
  color-scheme: light;
}
.app-task-planner { --tint: #5b6cff; --tint2: #8fb3ff; --tint3: #c4b5fd; }
.app-soon         { --tint: #8b5cf6; --tint2: #f0abfc; --tint3: #93c5fd; }
.app-bloom        { --tint: #1f9d63; --tint2: #a7f3d0; --tint3: #fde68a; }
.app-sign         { --tint: #0e8fd6; --tint2: #a5f3fc; --tint3: #c7d2fe; }
.app-routines     { --tint: #e0742a; --tint2: #fed7aa; --tint3: #f9a8d4; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); min-height: 100vh; background: #eef3fa; overflow-x: hidden;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--tint); }
::selection { background: color-mix(in srgb, var(--tint) 25%, transparent); }

/* ---------- Background: drifting orbs + frost grain ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #f6f8fe 0%, #edf1fb 50%, #e7edf9 100%); }
.sky i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .62; will-change: transform; }
.sky i:nth-child(1) { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: #a9c8f7; animation: drift1 48s ease-in-out infinite alternate; }
.sky i:nth-child(2) { width: 44vmax; height: 44vmax; right: -16vmax; top: 8vmax; background: #cbc3f4; animation: drift2 56s ease-in-out infinite alternate; }
.sky i:nth-child(3) { width: 38vmax; height: 38vmax; left: 18vmax; bottom: -22vmax; background: color-mix(in srgb, var(--tint) 22%, #b9d1f4); opacity: .5; animation: drift3 64s ease-in-out infinite alternate; }
.sky i:nth-child(4) { width: 26vmax; height: 26vmax; right: 6vmax; bottom: 4vmax; background: #b9e1ea; opacity: .45; animation: drift1 72s ease-in-out infinite alternate-reverse; }
.sky::after { content: ""; position: absolute; inset: 0; opacity: .16; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.07); } }
@keyframes drift2 { to { transform: translate(-9vmax, 8vmax) scale(.93); } }
@keyframes drift3 { to { transform: translate(7vmax, -8vmax) scale(1.08); } }

/* ---------- Glass ---------- */
.glass {
  position: relative; isolation: isolate; border-radius: var(--r);
  background: linear-gradient(140deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.42) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 1px 0 var(--edge), inset 0 -1px 0 rgba(255,255,255,.25), var(--shadow);
}
/* light catching the top edge */
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.75), transparent 55%); }
/* sheen that sweeps across on hover */
.shine { overflow: hidden; }
.shine::after { content: ""; position: absolute; inset: -40% -60%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%);
  transform: translateX(-60%); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.shine:hover::after { transform: translateX(60%); }
.lift { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.lift:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--edge), 0 34px 70px -20px rgba(38,48,90,.36); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 780px; }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 12px; z-index: 10; margin: 12px auto 0; max-width: 1080px; padding: 0 18px; }
.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 19px/1 ui-rounded, -apple-system, "SF Pro Rounded", sans-serif; letter-spacing: -.02em; text-decoration: none; color: var(--text); white-space: nowrap; }
.brand .dot { width: 18px; height: 18px; border-radius: 6px; background: conic-gradient(from 210deg, #3e6fd8, #7a6ff0, #a8d8e8, #3e6fd8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 1px 3px rgba(0,0,0,.18); }
.top nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.top nav a:hover { color: var(--text); background: rgba(255,255,255,.5); }
.top nav a[aria-current] { color: var(--text); background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(38,48,90,.1); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; color: var(--text);
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.store { color: #fff; background: linear-gradient(180deg, #23283a, #0d0f18); border-color: #0d0f18;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px -8px rgba(13,15,24,.55); }
.btn.store:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 30px -8px rgba(13,15,24,.6); }
.btn svg { width: 17px; height: 17px; fill: currentColor; margin-top: -2px; }
.btn .two { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.btn .two small { font-size: 10.5px; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.btn .two b { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }

/* ---------- Home ---------- */
.hero { text-align: center; padding: 72px 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow b { width: 7px; height: 7px; border-radius: 50%; background: #3e6fd8; box-shadow: 0 0 0 4px rgba(62,111,216,.16); }
.hero h1, .apphero h1 { margin: 0 0 16px; font: 800 clamp(48px, 10vw, 96px)/.98 ui-rounded, -apple-system, "SF Pro Rounded", sans-serif; letter-spacing: -.045em;
  background: linear-gradient(110deg, #1b2340 20%, #3e6fd8 40%, #7a6ff0 52%, #4aa3c8 64%, #1b2340 82%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: glint 16s ease-in-out infinite; }
@keyframes glint { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.hero .lede { color: var(--muted); font-size: clamp(18px, 2.6vw, 23px); max-width: 620px; margin: 0 auto; }

.orbit { display: flex; justify-content: center; gap: clamp(10px, 3vw, 22px); margin: 44px auto 8px; flex-wrap: wrap; }
.orbit a { padding: 10px; border-radius: 30px; animation: float 7s ease-in-out infinite; }
.orbit a:nth-child(2) { animation-delay: -1.4s; } .orbit a:nth-child(3) { animation-delay: -2.8s; }
.orbit a:nth-child(4) { animation-delay: -4.2s; } .orbit a:nth-child(5) { animation-delay: -5.6s; }
.orbit img { width: clamp(52px, 12vw, 84px); height: auto; aspect-ratio: 1; border-radius: 23%; box-shadow: 0 10px 24px -6px rgba(38,48,90,.35); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.section-title { text-align: center; margin: 64px 0 22px; }
.section-title h2 { font: 800 clamp(28px, 5vw, 40px)/1.1 ui-rounded, -apple-system, "SF Pro Rounded", sans-serif; letter-spacing: -.03em; margin: 0 0 8px; }
.section-title p { color: var(--muted); margin: 0; }

.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.appcard { padding: 26px; display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.appcard .tintbar { position: absolute; inset: 0 0 auto 0; height: 120px; z-index: -1; opacity: .35; border-radius: var(--r) var(--r) 0 0;
  background: radial-gradient(90% 100% at 0% 0%, var(--tint2), transparent 70%); }
.appcard .head { display: flex; align-items: center; gap: 16px; }
.appcard img { width: 76px; height: 76px; border-radius: 23%; box-shadow: 0 8px 20px -8px rgba(0,0,0,.25); flex: none; }
.appcard h3 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.appcard .plat { color: var(--soft); font-size: 13px; font-weight: 600; margin-top: 3px; }
.appcard p { color: var(--muted); margin: 0; }
.appcard .actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.more { font-weight: 650; text-decoration: none; font-size: 15px; }
.more::after { content: " →"; transition: margin .2s; }
.more:hover::after { margin-left: 4px; }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 30px; }
.promise .ic { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.promise h3 { margin: 0 0 4px; font-size: 17px; }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- App overview page ---------- */
.apphero { overflow-x: clip; overflow-y: visible; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 0 24px; }
.apphero .icon { width: 112px; height: 112px; border-radius: 23%; margin-bottom: 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 20px 40px -14px rgba(0,0,0,.3); }
.apphero h1 { font-size: clamp(38px, 6vw, 62px); }
.apphero .kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tint); margin: 0 0 10px; }
.apphero .lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); margin: 0 0 26px; max-width: 520px; }
.apphero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.apphero .plat { color: var(--soft); font-size: 14px; font-weight: 600; }
.stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; filter: blur(46px); opacity: .55;
  background: radial-gradient(circle, var(--tint2), transparent 70%); }
.stage .phone { position: relative; width: min(230px, 50%); border-radius: 30px; padding: 6px; }
.stage .phone img { border-radius: 25px; }
.stage .phone.back { position: absolute; width: min(196px, 42%); opacity: .95; }
.stage .phone.back.l { transform: translateX(-62%) rotate(-8deg) scale(.92); }
.stage .phone.back.r { transform: translateX(62%) rotate(8deg) scale(.92); }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.feature { padding: 24px; }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px;
  background: linear-gradient(140deg, #ffffff, #e9effc);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px -6px rgba(0,0,0,.2); }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 18px 26px; margin: 0 -18px;
  scrollbar-width: thin; scrollbar-color: rgba(18,21,33,.2) transparent; }
.gallery figure { margin: 0; flex: none; width: clamp(200px, 26vw, 250px); scroll-snap-align: center; padding: 6px; border-radius: 28px; }
.gallery img { border-radius: 23px; width: 100%; height: auto; }

.band { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 30px; }
.band .big { font-size: 44px; line-height: 1; }
.band h3 { margin: 0 0 4px; font-size: 20px; }
.band p { margin: 0; color: var(--muted); }
.pricing { padding: 30px; text-align: center; }
.pricing h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.015em; }
.pricing p { margin: 0 auto 20px; color: var(--muted); max-width: 560px; }
.siblings { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.siblings a { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; }
.siblings img { width: 36px; height: 36px; border-radius: 23%; }

/* ---------- Support / privacy ---------- */
.subhead { display: flex; align-items: center; gap: 14px; padding: 40px 0 18px; }
.subhead img { width: 56px; height: 56px; border-radius: 23%; box-shadow: 0 8px 18px -8px rgba(0,0,0,.25); flex: none; }
.subhead .name { font-weight: 750; font-size: 19px; line-height: 1.2; }
.subhead .sub { color: var(--muted); font-size: 15px; }
.subhead .btn { margin-left: auto; }
.card { padding: 34px; margin-bottom: 20px; }
.card h1 { font: 800 clamp(30px, 6vw, 40px)/1.1 ui-rounded, -apple-system, "SF Pro Rounded", sans-serif; letter-spacing: -.03em; margin: 0 0 10px; }
.card h2 { font-size: 20px; margin: 30px 0 8px; letter-spacing: -.01em; }
.card h3 { font-size: 17.5px; margin: 22px 0 4px; }
.card > :first-child { margin-top: 0; }
.card li { margin: 4px 0; }
.muted { color: var(--muted); }
.summary { padding: 16px 20px; border-radius: 18px; font-weight: 600; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); }
details { border-top: 1px solid var(--line); padding: 15px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--tint); font-weight: 500; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 8px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
footer { margin: 72px 0 28px; padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }
footer p { margin: 6px 0; }
footer a { color: inherit; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
footer .fine { color: var(--soft); }

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .apphero { grid-template-columns: 1fr; padding-top: 36px; gap: 18px; text-align: center; }
  .apphero .icon { margin: 0 auto 18px; }
  .apphero .lede { margin-left: auto; margin-right: auto; }
  .apphero .cta { justify-content: center; }
  .stage { min-height: 360px; }
}
@media (max-width: 520px) {
  .hero { padding: 48px 0 16px; }
  .top .bar { padding-left: 14px; }
  .top nav a { padding: 7px 9px; font-size: 14px; }
  .top .bar { padding-right: 6px; }
  .brand { font-size: 17px; gap: 7px; }
  .card, .promise, .pricing, .band { padding: 22px; }
  .appcard, .feature { padding: 22px; }
  .band { grid-template-columns: 1fr; text-align: center; }
  .subhead { flex-wrap: wrap; padding-top: 28px; }
  .subhead .btn { margin-left: 0; }
  :root { --r: 24px; }
  .orbit { gap: 8px; flex-wrap: nowrap; }
  .orbit a { padding: 7px; border-radius: 22px; }
  .orbit img { width: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
