@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url(/assets/jakarta-Medium.woff) format('woff'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700 800; font-display: swap; src: url(/assets/jakarta-Bold.woff) format('woff'); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FDF1E8; color: #1A1A1A;
    line-height: 1.7; padding: 40px 24px;
}
.container { max-width: 680px; margin: 0 auto; }
.logo {
    font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
    background: linear-gradient(135deg, #F0926E, #E96B4B);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo a { text-decoration: none; -webkit-text-fill-color: transparent; }
h1 { font-size: 32px; font-weight: 800; margin: 32px 0 8px; }
h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: #2B2B2B; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; color: #2B2B2B; }
p, li { color: #4A4A4A; font-size: 15px; margin-bottom: 12px; }
ul, ol { padding-left: 20px; }
.date { color: #6E5F56; font-size: 13px; margin-bottom: 32px; }
.note {
    background: #FFFFFF; border: 1px solid #F3DCCB; border-left: 4px solid #E96B4B;
    border-radius: 12px; padding: 16px 20px; margin: 12px 0 24px;
}
.note p { margin-bottom: 6px; }
.license-block {
    background: #FFFFFF; border: 1px solid #F3DCCB;
    border-radius: 12px; padding: 20px; margin: 12px 0 24px;
}
.license-block p { font-size: 13px; color: #6E5F56; margin-bottom: 8px; }
.links { margin-top: 48px; padding-top: 24px; border-top: 1px solid #F3DCCB; font-size: 14px; }
.links a { margin-right: 16px; }
a { color: #A8432A; text-decoration: none; }
a:hover { text-decoration: underline; }
p a, li a { text-decoration: underline; text-underline-offset: 2px; }
code { background: #F7E3D4; padding: 2px 6px; border-radius: 4px; font-size: 13px; }

/* ---------- Landing page (index.html only, scoped to body.home) ---------- */
.home {
    --bg: #15101A; --surface: #211923; --line: rgba(255, 236, 224, .09);
    --text: #FBF3EC; --muted: #C9B9B3; --coral: #F08562; --coral-deep: #D96A45;
    --peach: #FDE3C8; --aubergine: #3D2438;
    background: var(--bg); color: var(--text);
    padding: 0; line-height: 1.55; font-weight: 500;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.home h1, .home h2 { color: var(--text); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
.home p, .home li { color: var(--muted); font-size: 17px; margin: 0; }
.home a { color: var(--coral); text-decoration: none; }
.home a:focus-visible { outline: 3px solid var(--peach); outline-offset: 4px; border-radius: 8px; }
.home img { max-width: 100%; height: auto; display: block; }
.home ul { list-style: none; padding: 0; }
.home .eyebrow {
    color: var(--coral); font-size: 13px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; margin-bottom: 16px;
}
.home .warm {
    background: linear-gradient(100deg, var(--peach), var(--coral) 70%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--peach); color: var(--aubergine) !important; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* nav */
.home .nav {
    position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
    padding: 14px clamp(20px, 5vw, 64px);
    background: rgba(21, 16, 26, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.home .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 22px; letter-spacing: -.03em; text-decoration: none; }
.home .brand img { border-radius: 22%; }
.home .nav nav { display: flex; gap: 24px; }
.home .nav nav a { color: var(--text); font-size: 15px; opacity: .85; }
.home .nav nav a:hover { opacity: 1; text-decoration: none; color: var(--coral); }

/* hero */
.hero {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
    max-width: 1240px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) clamp(20px, 5vw, 64px) 80px;
}
.home h1 { font-size: clamp(48px, 7.4vw, 104px); }
.lede { font-size: clamp(18px, 1.6vw, 21px) !important; max-width: 31em; margin-top: 28px !important; color: #E3D4CD !important; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 36px; }
.cta.center { justify-content: center; }
.badge { display: inline-block; padding: 0; border-radius: 10px; transition: transform .2s ease; }
.badge:hover { transform: translateY(-2px); }
.badge img { width: 150px; height: 50px; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px !important; color: var(--peach) !important; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(240, 133, 98, .6); animation: pulse 2.4s ease-out infinite; }
.small { margin-top: 18px !important; font-size: 14px !important; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.sun {
    position: absolute; width: min(520px, 90vw); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #F7A07F 0%, #E9764F 38%, rgba(217, 106, 69, .35) 62%, transparent 72%);
    filter: blur(6px); opacity: .9;
}

/* phone frame drawn in CSS around raw captures */
.phone {
    position: relative; width: 300px; max-width: 76vw; margin: 0; padding: 10px;
    background: #0B080C; border-radius: 50px;
    box-shadow: inset 0 0 0 1.5px #3B3039, 0 0 0 1px #2A2128, 0 50px 90px -30px rgba(0, 0, 0, .75);
}
.screen { position: relative; display: block; border-radius: 40px; overflow: hidden; }
.screen::after { /* Dynamic Island */
    content: ""; position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%);
    width: 30%; height: 3.4%; border-radius: 99px; background: #000;
}
.phone-hero { width: 320px; animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }

.chips li {
    position: absolute; display: flex; flex-direction: column; gap: 2px;
    padding: 12px 16px; border-radius: 18px; font-size: 13px; color: var(--muted);
    background: rgba(33, 25, 35, .82); border: 1px solid var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
    animation: rise .9s cubic-bezier(.2, .8, .2, 1) both, bob 7s ease-in-out infinite;
}
.chips b { color: var(--text); font-size: 15px; }
.chip::before { content: ""; width: 22px; height: 6px; border-radius: 9px; margin-bottom: 6px; background: var(--coral); }
.c1 { top: 13%; left: -6%; animation-delay: .25s, 1s !important; }
.c2 { top: 30%; right: -8%; animation-delay: .4s, 2s !important; }
.c2::before { background: #A8C8A0; }
.c3 { bottom: 14%; left: -10%; animation-delay: .55s, 3s !important; }
.c3::before { background: #9DBBD6; }
.c4 { bottom: 3%; right: -4%; animation-delay: .7s, 4s !important; }
.c4::before { background: #E8C46A; }

/* feature rows */
.feature, .privacy {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px);
    max-width: 1140px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
}
.feature h2, .privacy h2, .more h2 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 22px; }
.feature-copy p:not(.eyebrow), .privacy-copy > p { font-size: 19px; max-width: 30em; }
.feature .phone, .feature .paper, .privacy .phone { justify-self: center; }
.feature.flip .feature-copy { order: 2; }

/* coloured glow behind each phone, taken from the app's chip colours */
.feature figure { isolation: isolate; }
.feature figure::before {
    content: ""; position: absolute; inset: 10% -30%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, var(--glow), transparent); opacity: .55;
}
.tone-peach { --glow: #F08562; }
.tone-sage { --glow: #7FA878; }
.tone-sky { --glow: #7FA3C8; }
.tone-butter { --glow: #E8B64A; }
.tone-night { --glow: #6E3F62; }

.dark-panel {
    background: linear-gradient(160deg, #1E1620, #120D14);
    border: 1px solid var(--line); border-radius: 40px; max-width: 1140px;
}

.paper { position: relative; margin: 0; width: 100%; max-width: 480px; }
.paper img { border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transform: rotate(-2.5deg); }

/* extra features */
.more { max-width: 1140px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 64px); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.tiles li {
    display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 24px;
    background: var(--surface); border: 1px solid var(--line); font-size: 15px;
    transition: transform .25s ease, border-color .25s ease;
}
.tiles li:hover { transform: translateY(-3px); border-color: rgba(240, 133, 98, .45); }
.tiles b { color: var(--text); font-size: 18px; letter-spacing: -.01em; }

/* privacy: the loudest block on the page, in the icon's gradient */
.privacy {
    max-width: 1140px; margin: clamp(40px, 6vw, 80px) auto; border-radius: 44px;
    background: linear-gradient(150deg, #FDE7CF 0%, #F8B08F 45%, #F08562 100%);
    width: calc(100% - 2 * clamp(12px, 3vw, 40px));
}
.privacy h2 { color: var(--aubergine); }
.privacy .eyebrow { color: #8A3A22; }
.privacy-copy > p { color: #4A2A3C; }
.privacy a { color: var(--aubergine); text-decoration: underline; font-weight: 700; }
.nevers { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.nevers li {
    color: var(--aubergine); font-weight: 800; font-size: 16px; padding: 10px 16px; border-radius: 99px;
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(61, 36, 56, .12);
}
.nevers li::before { content: "✕"; margin-right: 8px; color: #C24E2B; }
.privacy .phone { box-shadow: inset 0 0 0 1.5px #3B3039, 0 50px 90px -30px rgba(61, 36, 56, .7); }

/* closing */
.final { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) 24px; }
.final-icon { margin: 0 auto 28px; border-radius: 22.5%; box-shadow: 0 30px 70px -20px rgba(240, 133, 98, .6); }
.final h2 { font-size: clamp(36px, 5vw, 64px); }
.disclaimer { margin: 48px auto 0 !important; max-width: 38em; font-size: 14px !important; }

.foot {
    border-top: 1px solid var(--line); padding: 36px clamp(20px, 5vw, 64px) 48px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.foot .brand { font-size: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--coral); }
.foot p { flex-basis: 100%; font-size: 12px; color: #9C8A86; }

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(240, 133, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 133, 98, 0); } }
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .home *, .home *::before { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* tablet and phone */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 40px; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .cta { justify-content: center; }
    .hero-visual { min-height: 0; padding: 40px 0 20px; }
    .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; width: 100%; }
    .chips li { position: static; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; text-align: left; }
    .hero-visual { display: flex; flex-direction: column; align-items: center; }
    .sun { top: 0; }
    .feature, .privacy { grid-template-columns: 1fr; text-align: center; }
    .feature.flip .feature-copy { order: 0; }
    .feature-copy p:not(.eyebrow), .privacy-copy > p { margin: 0 auto; }
    .nevers { justify-content: center; }
    .dark-panel { border-radius: 32px; margin: 0 12px; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .phone { width: 270px; border-radius: 44px; }
    .screen { border-radius: 35px; }
}
@media (max-width: 520px) {
    .home .nav nav { gap: 16px; }
    .chips { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: 1fr; }
    .home p, .home li { font-size: 16px; }
    .feature-copy p:not(.eyebrow), .privacy-copy > p { font-size: 17px; }
    .privacy { border-radius: 32px; }
}
/* glows may spill sideways; clip them so the page never scrolls horizontally */
.home main { overflow-x: clip; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 14px; background: #FFFFFF; border: 1px solid #F3DCCB; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #F3DCCB; color: #4A4A4A; vertical-align: top; }
th { color: #2B2B2B; font-weight: 700; }
