/* ------------------------------------------------
   Alba · "Amanecer cálido"
   Same palette and type as the App Store set (fastlane/frames):
   Lato, cream sky, orange sun, ink text, one word in deep orange.
   ------------------------------------------------ */

@font-face { font-family: 'Lato'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/Lato-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/Lato-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-weight: 900; font-style: normal; font-display: swap; src: url('fonts/Lato-Black.ttf') format('truetype'); }

:root {
    color-scheme: light;

    --bg: #FFFAF5;
    --cream: #FFF3EA;
    --peach-100: #FFEEE5;   /* primary100 */
    --peach-300: #FFCCB1;   /* primary300 */
    --apricot: #FCA679;     /* primary400 */
    --orange: #F07230;      /* primary500 */
    --deep: #C6531D;        /* primary600 */
    --deeper: #A9441A;
    --sun: #FFC44A;         /* secondary500 */
    --chip: #FFEFCE;        /* yellow100, the chips in "Review your tasks" */
    --ink: #2E2323;
    --ink-soft: #4A3F3F;    /* neutral700 */
    --muted: #7A6764;
    --line: #F1E5DE;
    --night: #241A19;
    --white: #FFFFFF;

    --shadow-sm: 0 1px 2px rgba(120, 50, 15, .05), 0 6px 18px rgba(120, 50, 15, .06);
    --shadow: 0 22px 44px rgba(120, 50, 15, .13), 0 6px 14px rgba(120, 50, 15, .07);
    --shadow-lg: 0 40px 80px rgba(120, 50, 15, .2), 0 12px 24px rgba(120, 50, 15, .09);

    --gutter: clamp(16px, 4vw, 32px);
    --max: 1160px;
    --nav-h: 68px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { color: var(--ink); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h1 b, h2 b, h3 b { color: var(--deep); font-weight: 900; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Icons. .ic = the dawn set (48 grid, filled); .g = small UI glyphs (24 grid, stroked) */
.ic { width: 1em; height: 1em; flex: none; }
.g {
    width: 1em; height: 1em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }


/* ------------------------------------------------
   MARK: - Buttons
   ------------------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: 999px;
    font-size: 15px; font-weight: 700; white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--deep); color: var(--white); box-shadow: 0 6px 16px rgba(198, 83, 29, .28); }
.btn-primary:hover { background: var(--deeper); transform: translateY(-1px); }
.btn-soft { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-soft:hover { color: var(--deep); transform: translateY(-1px); }
.btn .g { font-size: 18px; }

.store-badge { display: inline-block; transition: transform .2s ease, opacity .2s ease; }
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-2px); opacity: .88; }


/* ------------------------------------------------
   MARK: - Nav
   ------------------------------------------------ */

.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 250, 245, .78);
    -webkit-backdrop-filter: saturate(1.4) blur(18px);
    backdrop-filter: saturate(1.4) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(120, 50, 15, .05); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 22.5%; box-shadow: 0 2px 8px rgba(198, 83, 29, .22); }

.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 700; }
.nav-links a { color: var(--ink-soft); transition: color .2s ease; }
.nav-links a:hover { color: var(--deep); }
.nav .btn { margin-left: 8px; }

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav .btn { margin-left: auto; height: 40px; padding: 0 16px; }
}


/* ------------------------------------------------
   MARK: - Shared section bits
   ------------------------------------------------ */

.section { padding: clamp(72px, 10vw, 128px) 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    background: var(--ink); color: var(--white);
    font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.2;
}
.eyebrow .spark { color: var(--sun); }
.eyebrow.soft { background: var(--peach-100); color: var(--deep); }

.head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.head h2 { font-size: clamp(34px, 5vw, 56px); margin: 18px 0 16px; }
.head p { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 36em; margin-inline: auto; }

/* The three bars of the icon, as a mark */
.bars { display: inline-grid; gap: 5px; justify-items: center; }
.bars i { display: block; height: 7px; border-radius: 4px; }
.bars i:nth-child(1) { width: 42px; background: var(--deep); }
.bars i:nth-child(2) { width: 31px; background: var(--orange); }
.bars i:nth-child(3) { width: 20px; background: var(--apricot); }

.tile {
    display: grid; place-items: center; flex: none;
    width: 60px; height: 60px; border-radius: 18px;
    background: linear-gradient(180deg, #FFF6EF 0%, var(--peach-100) 100%);
    box-shadow: inset 0 0 0 1px rgba(240, 114, 48, .1);
    font-size: 38px;
}

.chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 9px; border-radius: 999px;
    background: var(--chip); color: var(--ink);
    font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.chip .g { font-size: 12px; stroke-width: 2.4; }
.chip.peach { background: var(--peach-100); color: var(--deep); }

/* Reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }


/* ------------------------------------------------
   MARK: - Hero
   ------------------------------------------------ */

.hero {
    position: relative;
    margin-top: calc(-1 * var(--nav-h));
    padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(72px, 9vw, 128px);
    background:
        radial-gradient(48% 62% at 76% 104%, rgba(240, 114, 48, .62) 0%, rgba(252, 166, 121, .42) 38%, rgba(255, 204, 177, 0) 72%),
        radial-gradient(30% 40% at 76% 92%, rgba(255, 196, 74, .45) 0%, rgba(255, 196, 74, 0) 70%),
        linear-gradient(180deg, var(--bg) 0%, #FFF4EB 45%, #FFE6D6 78%, #FFD9C3 100%);
    overflow: hidden;
}
/* the sky fades into the page at the bottom edge */
.hero::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 90px;
    background: linear-gradient(180deg, rgba(255, 250, 245, 0) 0%, var(--bg) 100%); pointer-events: none;
}
/* soft horizontal streaks, like the clouds in dawn-tall.png */
.hero::before {
    content: ''; position: absolute; inset: auto 0 0 0; height: 55%;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 46px, rgba(255, 255, 255, .16) 46px 70px);
    filter: blur(10px); pointer-events: none;
}

.hero .wrap { position: relative; display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: .98; letter-spacing: -0.035em; margin: 22px 0 22px; }
.lead { font-size: clamp(18px, 1.65vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 31em; }
.lead q { quotes: '“' '”'; color: var(--ink); font-weight: 700; }

.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.text-link .g { font-size: 18px; transition: transform .2s ease; }
.text-link:hover { color: var(--deep); }
.text-link:hover .g { transform: translateY(2px); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; list-style: none; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .g { color: var(--orange); font-size: 18px; stroke-width: 2.6; }

/* The demo: a message becomes a plan. Pieces float on the sky, like screenshots 1 and 3 */
.demo { position: relative; max-width: 540px; width: 100%; justify-self: end; }

.tabs {
    display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 30px;
    padding: 4px; border-radius: 999px;
    background: rgba(255, 255, 255, .62); box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-soft);
    white-space: nowrap; transition: background-color .25s ease, color .25s ease;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); }

.bubble {
    position: relative; display: flex; align-items: center; gap: 16px;
    padding: 24px 16px 22px 24px; border-radius: 28px;
    background: var(--white); box-shadow: var(--shadow-lg);
    transform: rotate(-1.5deg);
}
.bubble .tag {
    position: absolute; top: -13px; left: 22px;
    padding: 4px 11px; border-radius: 999px; background: var(--ink); color: var(--white);
    font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.bubble .tag span { color: var(--sun); }
.bubble .text { flex: 1; min-height: 3.9em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; color: var(--ink); }
.hl {
    color: var(--deep); font-weight: 700; background: var(--peach-100);
    border-radius: 6px; padding: 0 3px; margin: 0 -1px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.caret {
    display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em;
    background: var(--orange); border-radius: 1px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mic {
    position: relative; flex: none; display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--orange); color: var(--white);
    box-shadow: 0 8px 18px rgba(240, 114, 48, .45);
}
.mic .g { font-size: 24px; }
.mic::after {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--orange); opacity: 0;
}
.demo.thinking .mic::after { animation: ripple 1s ease-out infinite; }
@keyframes ripple { from { opacity: .7; transform: scale(.85); } to { opacity: 0; transform: scale(1.35); } }

.flow { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 14px; font-size: 13px; font-weight: 700; color: var(--deep); letter-spacing: .02em; transition: opacity .3s ease; }
.flow .g { font-size: 16px; }

.plan { display: grid; gap: 12px; list-style: none; }
.task {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 14px;
    padding: 14px 16px 14px 18px; border-radius: 22px;
    background: var(--white); box-shadow: var(--shadow);
    transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}
.task:nth-child(1) { transform: rotate(-1.2deg) translateX(-6px); }
.task:nth-child(2) { transform: rotate(1deg) translateX(8px); }
.task:nth-child(3) { transform: rotate(-.6deg) translateX(-2px); }
.task .meta { grid-column: 1 / 3; display: flex; gap: 6px; }
.task .glyph { color: var(--orange); font-size: 20px; }
.task .glyph .g { stroke-width: 2.2; }
.task .title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.task .check { grid-row: 1 / 3; grid-column: 3; width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--orange); }

.demo:not(.hide-plan) .task:nth-child(2) { transition-delay: .12s; }
.demo:not(.hide-plan) .task:nth-child(3) { transition-delay: .24s; }
.demo.hide-plan .task { opacity: 0; transform: translateY(14px) scale(.97); }
.demo.hide-plan .flow { opacity: .35; }

@media (max-width: 960px) {
    .hero .wrap { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { margin-inline: auto; max-width: 11em; }
    .lead { margin-inline: auto; }
    .cta-row, .facts { justify-content: center; }
    .demo { justify-self: center; margin-top: 12px; text-align: left; }
    .hero {
        background:
            radial-gradient(90% 46% at 50% 104%, rgba(240, 114, 48, .6) 0%, rgba(252, 166, 121, .4) 40%, rgba(255, 204, 177, 0) 75%),
            linear-gradient(180deg, var(--bg) 0%, #FFF4EB 40%, #FFE3D1 75%, #FFD6BE 100%);
    }
}
@media (max-width: 480px) {
    .bubble { padding: 22px 12px 18px 18px; gap: 12px; border-radius: 24px; }
    .mic { width: 48px; height: 48px; }
    .task { padding: 12px 14px; }
    .task .title { font-size: 16px; }
    .store-badge img { height: 50px; }
}


/* ------------------------------------------------
   MARK: - How it works
   ------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.step {
    display: flex; flex-direction: column;
    padding: 28px 28px 0; border-radius: 30px;
    background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    overflow: hidden;
}
.step .bars { justify-items: start; }
.step .bars i { opacity: .22; }
.step:nth-child(1) .bars i:nth-child(1),
.step:nth-child(2) .bars i:nth-child(2),
.step:nth-child(3) .bars i:nth-child(3) { opacity: 1; }
.step .num { margin-top: 18px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); }
.step h3 { font-size: 24px; margin: 6px 0 10px; }
.step p { color: var(--ink-soft); }
.step .visual {
    margin: 28px -28px 0; padding: 24px 22px 28px; flex: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--peach-100) 100%);
    min-height: 190px;
}

/* step 1: mini bubble */
.mini-bubble {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 10px 14px 16px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow);
    font-size: 16px; line-height: 1.35; color: var(--ink); transform: rotate(-1deg);
}
.mini-bubble .mic { width: 40px; height: 40px; box-shadow: 0 6px 12px rgba(240, 114, 48, .4); }
.mini-bubble .mic .g { font-size: 18px; }
.ways { display: flex; justify-content: center; gap: 8px; }
.ways .chip { background: var(--white); color: var(--ink-soft); box-shadow: var(--shadow-sm); padding: 5px 11px; font-size: 13px; }
.ways .chip .g { color: var(--orange); font-size: 14px; }

/* step 2: a task + an overlap line */
.mini-task {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm);
}
.mini-task .glyph { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #FFF1EA; color: var(--orange); font-size: 18px; }
.mini-task .t { font-weight: 700; color: var(--ink); line-height: 1.2; font-size: 15px; }
.mini-task .s { font-size: 13px; color: var(--muted); }
.mini-task .check { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--orange); display: grid; place-items: center; color: var(--white); }
.mini-task .check .g { font-size: 13px; stroke-width: 3.4; }
.mini-task.done .check { background: var(--orange); }
.mini-task.done .t { text-decoration: line-through; color: var(--muted); }
.warn { display: flex; align-items: flex-start; gap: 8px; padding: 0 6px; font-size: 13px; line-height: 1.4; color: var(--deep); font-weight: 700; }
.warn .g { flex: none; font-size: 16px; margin-top: 1px; }

/* step 3: progress */
.progress { display: flex; align-items: center; gap: 10px; padding: 0 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.progress .track { flex: 1; height: 6px; border-radius: 3px; background: rgba(240, 114, 48, .16); overflow: hidden; }
.progress .track i { display: block; width: 33%; height: 100%; border-radius: 3px; background: var(--orange); }

@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}


/* ------------------------------------------------
   MARK: - Screens (dark band, the store set)
   ------------------------------------------------ */

.screens {
    position: relative; color: #F3E6DF;
    background:
        radial-gradient(70% 55% at 50% 118%, rgba(240, 114, 48, .42) 0%, rgba(240, 114, 48, 0) 70%),
        var(--night);
    overflow: hidden;
}
.screens .head h2 { color: var(--white); }
.screens .head h2 b { color: var(--apricot); }
.screens .head p { color: #D8C5BD; }
.screens .eyebrow { background: rgba(255, 255, 255, .1); color: #FFE2D2; }

.rail-wrap { position: relative; }
.rail {
    display: flex; gap: clamp(14px, 2vw, 24px); list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2)) 40px;
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
    scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: 0 0 clamp(220px, 23vw, 290px); scroll-snap-align: start; }
.rail figure { border-radius: clamp(20px, 2.2vw, 28px); overflow: hidden; aspect-ratio: 1320 / 2868; background: #FBE7DA; box-shadow: 0 30px 60px rgba(0, 0, 0, .38), 0 8px 18px rgba(0, 0, 0, .2); }
.rail img { width: 100%; height: 100%; object-fit: cover; }

.rail-nav { display: flex; justify-content: center; gap: 12px; margin-top: 4px; }
.rail-nav button {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: var(--white); transition: background-color .2s ease, opacity .2s ease;
}
.rail-nav button:hover { background: rgba(255, 255, 255, .2); }
.rail-nav button:disabled { opacity: .3; cursor: default; }
.rail-nav .g { font-size: 22px; }


/* ------------------------------------------------
   MARK: - Features (bento)
   ------------------------------------------------ */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    position: relative; display: flex; flex-direction: column;
    padding: 28px; border-radius: 30px;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.card.wide { grid-column: span 2; }
.card h3 { font-size: 22px; margin: 20px 0 8px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card .visual { margin-top: 24px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.card.wide .split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; height: 100%; }
.card.wide .split .visual { margin-top: 0; justify-content: center; }

/* reminders */
.notifs { display: grid; gap: 10px; padding: 18px; border-radius: 24px; background: linear-gradient(180deg, #FFF4EC 0%, #FFE2D0 100%); }
.notif {
    display: flex; gap: 12px; align-items: center;
    padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm);
}
.notif img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.notif .body { flex: 1; min-width: 0; line-height: 1.3; }
.notif .h { display: flex; font-size: 12px; color: var(--muted); }
.notif .h b { color: var(--ink); margin-right: auto; }
.notif .t { font-size: 15px; font-weight: 700; color: var(--ink); }
.notif .s { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif + .notif { opacity: .9; transform: scale(.97); }
.alert-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* write, say, snap */
.ways-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ways-big div { display: grid; justify-items: center; gap: 8px; padding: 16px 6px 12px; border-radius: 20px; background: var(--cream); font-size: 14px; font-weight: 700; color: var(--ink); }
.ways-big .ic { font-size: 40px; }

/* repeat */
.quotes { display: flex; flex-wrap: wrap; gap: 8px; }
.quote { padding: 8px 13px; border-radius: 16px 16px 16px 4px; background: var(--cream); color: var(--ink); font-size: 14px; font-weight: 700; }
.quote:nth-child(2) { border-radius: 16px 16px 4px 16px; }
.card .mini-task { margin-top: 12px; box-shadow: var(--shadow); }

/* calendars */
.cals { border-radius: 20px; background: var(--cream); padding: 12px 16px 6px; }
.cals .grp { font-size: 12px; font-weight: 700; color: var(--muted); padding: 2px 0 6px; }
.cal { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 15px; color: var(--ink); border-top: 1px solid rgba(46, 35, 35, .07); }
.cals .grp + .cal { border-top: 0; }
.cal .dot { width: 9px; height: 9px; border-radius: 50%; }
.cal .tick { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--orange); display: grid; place-items: center; color: var(--white); }
.cal .tick.on { background: var(--orange); }
.cal .tick .g { font-size: 12px; stroke-width: 3.4; }

/* widget */
.widget-stage { display: grid; place-items: center; padding: 22px 0 8px; border-radius: 24px; background: linear-gradient(180deg, #FFF4EC 0%, #FFD9C3 100%); }
.widget {
    width: 156px; aspect-ratio: 1; padding: 16px; border-radius: 26px;
    background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); transform: rotate(-3deg);
    display: flex; flex-direction: column; line-height: 1.2;
}
.widget .top { display: flex; align-items: baseline; color: var(--orange); font-weight: 700; font-size: 14px; }
.widget .top b { margin-left: auto; font-size: 18px; font-weight: 900; }
.widget .name { margin-top: auto; font-size: 18px; font-weight: 900; color: var(--ink); }
.widget .time { font-size: 14px; color: var(--muted); margin-top: 4px; }
.widget .more { font-size: 12px; color: var(--muted); margin-top: 8px; }
.widget-label { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }

/* siri */
.siri { display: grid; gap: 10px; }
.siri .say {
    justify-self: end; max-width: 90%; padding: 10px 14px; border-radius: 18px 18px 4px 18px;
    background: var(--ink); color: var(--white); font-size: 15px; font-weight: 700;
}
.siri .ask {
    justify-self: start; max-width: 90%; display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--cream); color: var(--ink); font-size: 15px;
}
.siri .ask img { width: 26px; height: 26px; border-radius: 7px; }

/* month */
.month { padding: 16px 18px 14px; border-radius: 24px; background: var(--cream); }
.month .mh { display: flex; align-items: center; font-weight: 900; color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.month .mh span { margin-left: auto; display: flex; gap: 10px; color: var(--orange); }
.month .mh .g { font-size: 16px; stroke-width: 2.6; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; text-align: center; font-size: 13px; color: var(--ink); }
.days .wd { font-size: 11px; color: var(--muted); padding-bottom: 4px; }
.days span { position: relative; display: grid; place-items: center; height: 30px; font-weight: 700; }
.days span.d::after { content: ''; position: absolute; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.days span.today { color: var(--white); }
.days span.today::before { content: ''; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); z-index: -1; }
.days span.today { z-index: 0; }
.days span.today::after { bottom: -3px; }
.monday { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink); }
.monday .g { color: var(--orange); font-size: 18px; }
.monday b { font-weight: 700; }

@media (max-width: 960px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .card.wide .split { grid-template-columns: 1fr; }
    .card.wide .split .visual { margin-top: 8px; }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .card.wide { grid-column: auto; }
    .card { padding: 24px; }
}


/* ------------------------------------------------
   MARK: - Pro
   ------------------------------------------------ */

.pro {
    position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
    padding: clamp(32px, 5vw, 64px); border-radius: 36px;
    background:
        radial-gradient(60% 90% at 100% 100%, rgba(240, 114, 48, .35) 0%, rgba(240, 114, 48, 0) 70%),
        linear-gradient(135deg, #FFF5EE 0%, #FFE4D4 100%);
    border: 1px solid #FBDCCB;
    overflow: hidden;
}
.pro h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 22px 0 14px; }
.pro p { font-size: 18px; max-width: 28em; }
.pro .fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.perks { display: grid; gap: 12px; list-style: none; }
.perks li {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, .82); box-shadow: var(--shadow-sm);
    font-size: 17px; font-weight: 700; color: var(--ink);
}
.perks .tile { width: 48px; height: 48px; border-radius: 14px; font-size: 30px; }
.pro .store-badge { margin-top: 28px; }

@media (max-width: 860px) {
    .pro { grid-template-columns: 1fr; }
}


/* ------------------------------------------------
   MARK: - FAQ & support
   ------------------------------------------------ */

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side h2 { font-size: clamp(34px, 4.6vw, 52px); margin: 18px 0 16px; }
.faq-side > p { font-size: 18px; }
.support {
    margin-top: 32px; padding: 26px; border-radius: 28px;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.support h3 { font-size: 21px; margin: 16px 0 6px; }
.support p { font-size: 16px; }
.support .btn { margin-top: 18px; }
.support .links { display: flex; gap: 18px; margin-top: 18px; font-size: 14px; font-weight: 700; }
.support .links a { color: var(--muted); }
.support .links a:hover { color: var(--deep); }

.faq { display: grid; gap: 12px; }
.faq details {
    border-radius: 22px; background: var(--white); border: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 22px; cursor: pointer; list-style: none;
    font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; flex: none; margin-left: auto; width: 28px; height: 28px; border-radius: 50%;
    background:
        linear-gradient(var(--deep), var(--deep)) center / 12px 2.5px no-repeat,
        linear-gradient(var(--deep), var(--deep)) center / 2.5px 12px no-repeat,
        var(--peach-100);
    transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--ink-soft); }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--deep); font-weight: 700; }

@media (max-width: 860px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-side { text-align: center; }
    .faq-side > p { margin-inline: auto; max-width: 30em; }
    .support { text-align: left; }
}
@media (max-width: 480px) {
    .faq summary { font-size: 17px; padding: 18px; }
    .faq .answer { padding: 0 18px 18px; }
}


/* ------------------------------------------------
   MARK: - Final CTA (sunrise)
   ------------------------------------------------ */

.sunrise {
    position: relative; text-align: center; overflow: hidden;
    padding: clamp(88px, 11vw, 140px) 0 clamp(150px, 16vw, 220px);
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(255, 250, 245, 0) 34%),
        url('assets/dawn.jpg') center bottom / cover no-repeat,
        #FFD9C3;
}
.sunrise .app-icon { width: 104px; height: 104px; margin: 0 auto; border-radius: 22.5%; box-shadow: var(--shadow-lg); }
.sunrise h2 { font-size: clamp(38px, 6vw, 72px); margin: 28px auto 16px; max-width: 12em; letter-spacing: -0.03em; }
.sunrise p { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink-soft); max-width: 26em; margin: 0 auto 32px; }

/* ------------------------------------------------
   MARK: - Footer
   ------------------------------------------------ */

.footer { padding: 44px 0 40px; border-top: 1px solid var(--line); background: var(--bg); font-size: 15px; }
.footer .row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }
.footer .tagline { color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-left: auto; font-weight: 700; }
.footer nav a { color: var(--ink-soft); }
.footer nav a:hover { color: var(--deep); }
.footer .legal-line { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer .legal-line a:hover { color: var(--deep); }

@media (max-width: 760px) {
    .footer .row { flex-direction: column; text-align: center; }
    .footer nav { margin-left: 0; justify-content: center; }
    .footer .legal-line { justify-content: center; text-align: center; }
}


/* ------------------------------------------------
   MARK: - Legal pages (privacy, terms)
   ------------------------------------------------ */

.legal-hero {
    padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px);
    background: linear-gradient(180deg, var(--bg) 0%, #FFF0E5 100%);
}
.legal-hero .wrap, .prose { max-width: calc(760px + 2 * var(--gutter)); }
.legal-hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 18px 0 12px; letter-spacing: -0.03em; }
.legal-hero p { color: var(--muted); font-weight: 700; font-size: 15px; }

.prose { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(64px, 9vw, 112px); font-size: 17px; line-height: 1.7; }
.prose > p:first-child { font-size: 19px; color: var(--ink); }
.prose h2 { font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 12px; }
.prose h3 { font-size: 17px; letter-spacing: 0; margin: 22px 0 8px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 24px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 4px; border-radius: 2px; background: var(--orange); }
.prose a { color: var(--deep); font-weight: 700; }
.prose .contact { margin-top: 16px; padding: 22px 24px; border-radius: 24px; background: var(--cream); display: grid; gap: 6px; }
.prose .contact div { display: flex; gap: 10px; align-items: flex-start; }
.prose .contact .g { color: var(--orange); font-size: 18px; margin-top: 5px; }


@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
