/* Brand: APP_DESIGN.md. Composition and 330ms motion: WEB_DESIGN.md.
   Independent from style.css so the icon archive keeps its existing design. */
:root {
    color-scheme: light;
    --background: #F6F8FC;
    --card: #FFFFFF;
    --text: #121722;
    --primary-text: #1F2A44;
    --secondary-text: #5B6A8A;
    --primary-blue: #2A6CF6;
    --blue-tint: #EAF1FF;
    --separator: #DDE4F6;
    --dark: #0D1118;
    --motion: 330ms;
    --ease: cubic-bezier(.5, 0, 0, .75);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--text); background: var(--card); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", "Malgun Gothic", sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--primary-blue); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2 { font-size: 40px; line-height: 1.3; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 700; word-break: keep-all; }
p { word-break: keep-all; overflow-wrap: anywhere; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 16px; padding: 12px 20px; border-radius: 14px; background: var(--card); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.landing-header { position: absolute; inset: 0 0 auto; z-index: 20; transition: background-color var(--motion) var(--ease); }
.landing-ready .landing-header { position: fixed; }
.landing-header.is-scrolled, .landing-header[data-menu-open] { background: rgb(250 251 255 / 94%); }
@supports (backdrop-filter: blur(16px)) { .landing-header.is-scrolled, .landing-header[data-menu-open] { background: rgb(250 251 255 / 85%); backdrop-filter: blur(16px); } }
.header-inner { max-width: 1384px; min-height: 76px; padding: max(8px, env(safe-area-inset-top)) max(40px, env(safe-area-inset-right)) 8px max(40px, env(safe-area-inset-left)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 22px; font-weight: 800; line-height: 1.5; }
.brand-app-icon { display: block; width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; }
.wordmark span { color: var(--secondary-text); font-size: 12px; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; font-size: 14px; font-weight: 600; border-radius: 14px; transition: background-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.site-nav .nav-download { margin-left: 16px; background: var(--text); color: white; padding-inline: 24px; }
.menu-toggle { min-height: 44px; border: 0; border-radius: 14px; padding: 8px 14px; background: var(--blue-tint); color: var(--primary-text); font-size: 14px; }
.menu-toggle span { margin-left: 8px; }
.section-inner { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.full-section { min-height: 100vh; min-height: 100svh; }
.hero { background: var(--background); padding: 112px 24px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { color: var(--secondary-text); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.hero .eyebrow { margin-bottom: 12px; }
.intro { color: var(--secondary-text); font-size: 16px; margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.button { min-width: 200px; min-height: 48px; padding: 12px 24px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 14px; font-weight: 600; line-height: 1.6; transition: background-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.button.primary { background: var(--primary-blue); color: white; }
.button.secondary { background: var(--blue-tint); color: var(--primary-text); }
.button.light { background: white; color: var(--primary-text); }
.hero-gallery { display: flex; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 80px); width: 100%; margin: 40px auto 28px; }
.device { width: min(100%, 256px); margin-inline: auto; }
/* Supplied screenshots include the device frame; keep their transparent edges unobstructed. */
.device img { width: 100%; height: auto; aspect-ratio: 49 / 100; object-fit: contain; }
.hero-gallery .device { margin: 0; width: auto; }
.hero-gallery .device img { height: clamp(300px, 39vh, 440px); width: auto; max-width: 100%; }
.hero-gallery .device-side img { height: clamp(252px, 33vh, 372px); }
.hero-gallery figcaption { margin-top: 12px; color: var(--secondary-text); font-size: 12px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: auto; font-size: 12px; color: var(--secondary-text); }
.feature-section { padding: 96px 0; display: flex; align-items: center; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.section-number { display: flex; align-items: center; gap: 20px; font-variant-numeric: tabular-nums; }
.section-number > span { color: var(--primary-text); }
.section-description { font-size: 16px; line-height: 1.8; color: var(--secondary-text); margin-top: 24px; }
.feature-copy { max-width: 480px; }
.feature-detail { margin-top: 28px; max-width: 400px; }
.feature-detail p, .flow-list p { margin-top: 8px; color: var(--secondary-text); font-size: 14px; line-height: 1.8; }
.view-switch { width: max-content; max-width: 100%; padding: 4px; margin-top: 32px; display: flex; background: var(--background); border-radius: 14px; gap: 4px; }
.view-switch button { color: var(--secondary-text); background: transparent; border: 0; border-radius: 11px; padding: 10px 20px; min-height: 44px; font-size: 14px; font-weight: 600; transition: background-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.view-switch [aria-selected="true"] { background: var(--blue-tint); color: #1852BE; }
.screen-stage { min-width: 0; width: 100%; padding: 48px 24px 32px; border-radius: 18px; background: var(--background); }
.screen-panel > figcaption { margin-top: 24px; font-size: 12px; color: var(--secondary-text); text-align: center; }
.screen-panel + .screen-panel:not([hidden]) { margin-top: 32px; }
.timetable-stage.has-tabs .screen-panel { margin-top: 0; animation: screen-enter var(--motion) var(--ease); }
@keyframes screen-enter { from { opacity: .45; } to { opacity: 1; } }
.memo-section { background: var(--background); }
.memo-section .screen-stage { background: #EAF1FF; }
.flow-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; }
.flow-list li { display: flex; gap: 16px; }
.step-index { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 11px; color: #1852BE; background: #E1EBFC; font-size: 13px; font-weight: 700; }
.small-note { font-size: 12px; line-height: 1.8; color: var(--secondary-text); margin-top: 28px; }
.centered, .center-heading { text-align: center; }
.center-heading .section-number { justify-content: center; }
.center-heading .section-description { margin-top: 16px; }
.live-section { background: var(--dark); color: #F4F7FB; }
.live-section .eyebrow, .live-section .section-description, .live-section figcaption, .live-requirements { color: #B6C2D4; }
.live-section .section-number span { color: #F4F7FB; }
.live-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.live-feature { display: flex; flex-direction: column; padding: 36px 40px; background: #1A2231; border-radius: 18px; }
.live-copy { max-width: 380px; margin: 0 auto 32px; }
.live-copy h3 { font-size: 22px; }
.live-copy > p:last-child { margin-top: 12px; font-size: 14px; line-height: 1.8; color: #B6C2D4; }
.live-feature .screen-panel { margin-top: auto; }
.live-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.live-details > div { padding-top: 24px; border-top: 1px solid #334155; }
.live-details h3 { font-size: 16px; }
.live-details p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: #B6C2D4; }
.live-requirements { margin-top: 40px; }
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.life-feature { padding: 36px 40px 40px; border-radius: 18px; background: #FFFBEB; }
.calendar-feature { background: var(--background); }
.life-copy { max-width: 360px; margin: auto auto 32px; }
.life-copy p { font-size: 14px; line-height: 1.8; margin-top: 12px; color: var(--secondary-text); }
.personalize-section { background: var(--dark); color: #F4F7FB; }
.personalize-section .eyebrow, .personalize-section .section-description { color: #B6C2D4; }
.personalize-section .section-number span { color: #F4F7FB; }
.personalize-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.personalize-feature { padding: 36px 32px 40px; background: #1A2231; border-radius: 18px; }
.personalize-copy { text-align: center; margin-bottom: 32px; }
.feature-tag { display: block; font-size: 12px; color: #B6C2D4; margin-bottom: 8px; }
.personalize-copy h3 { font-size: 22px; }
.personalize-copy p { font-size: 14px; color: #B6C2D4; line-height: 1.8; margin-top: 12px; }
.archive-invitation { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 32px; margin-top: 40px; }
.archive-invitation p { font-size: 14px; color: #B6C2D4; }
.start-section { padding-block: 112px; }
.onboarding-steps { padding: 0; margin: 64px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 920px; list-style: none; text-align: center; }
.onboarding-steps li > span { display: block; color: var(--secondary-text); font-size: 13px; margin-bottom: 12px; }
.onboarding-steps p { margin-top: 12px; color: var(--secondary-text); font-size: 14px; line-height: 1.8; }
.start-cta { text-align: center; }
.start-cta > p { color: var(--secondary-text); font-size: 14px; }
.landing-footer { padding: 48px max(40px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(40px, env(safe-area-inset-left)); background: var(--background); }
.footer-top, .footer-bottom { max-width: 1304px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top p, .footer-bottom { color: var(--secondary-text); font-size: 12px; }
.footer-bottom { margin-top: 32px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.back-to-top { gap: 12px; white-space: nowrap; }
[data-reveal] { transition: opacity var(--motion) var(--ease), transform var(--motion) var(--ease); }
.reveal-pending { opacity: 0; transform: translateY(16px); }
@media (hover: hover) {
    .site-nav a:hover { background: var(--blue-tint); color: var(--primary-text); }
    .site-nav .nav-download:hover { background: #273244; color: white; }
    .button.primary:hover { background: #1C55CC; }
    .button.secondary:hover, .button.light:hover { background: #DDE8FC; }
    .view-switch button:hover { color: #1852BE; background: #E1EBFC; }
    .footer-bottom a:hover, .scroll-cue:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
@media (max-width: 1100px) {
    .header-inner { padding-inline: 24px; }
    .wordmark span { display: none; }
    .site-nav { gap: 0; }
    .site-nav a { padding-inline: 12px; }
    .site-nav .nav-download { margin-left: 8px; padding-inline: 16px; }
    .split-layout { gap: 40px; }
    .section-inner { width: calc(100% - 64px); }
    h1, h2 { font-size: 36px; }
    .wide-only { display: none; }
}
@media (max-width: 767px) {
    html { scroll-padding-top: 84px; }
    h1, h2 { font-size: 28px; line-height: 1.4; }
    .header-inner { min-height: 68px; flex-wrap: wrap; gap: 8px 16px; padding-inline: max(20px, env(safe-area-inset-left)); }
    .wordmark { font-size: 20px; }
    .wordmark span { display: inline; }
    .landing-header { position: relative; background: var(--background); }
    .landing-ready .landing-header { position: fixed; }
    .site-nav { flex: 0 0 100%; flex-wrap: wrap; padding-block: 8px; gap: 4px; }
    .site-nav a { font-size: 13px; }
    .site-nav .nav-download { margin-left: 0; }
    .landing-ready .site-nav { display: none; max-height: calc(100svh - 84px); overflow-y: auto; }
    .landing-ready [data-menu-open] .site-nav { display: flex; flex-direction: column; align-items: stretch; }
    .landing-ready .site-nav a { padding: 12px 16px; }
    .landing-ready .site-nav .nav-download { margin-top: 4px; }
    .hero { padding: 40px 20px 24px; }
    .landing-ready .hero { padding-top: 100px; }
    .intro { font-size: 14px; margin-top: 16px; }
    .hero .actions { gap: 8px; }
    .actions { flex-direction: column; }
    .button { width: min(100%, 320px); }
    .hero-gallery { margin: 32px 0 24px; gap: 16px; }
    .hero-gallery .device-main { width: 180px; }
    .hero-gallery .device-side { width: 144px; }
    .hero-gallery .device img { width: 100%; height: auto; }
    .hero-weekly { display: none; }
    .hero-gallery figcaption { font-size: 11px; }
    .scroll-cue { margin-top: auto; }
    .feature-section { padding-block: 72px; }
    .full-section:not(.hero) { min-height: auto; }
    .section-inner { width: calc(100% - 40px); }
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .feature-copy { max-width: 100%; }
    .section-description { font-size: 14px; margin-top: 20px; }
    .feature-detail { max-width: 100%; }
    .feature-detail h3, .flow-list h3 { font-size: 16px; }
    .screen-stage { padding: 32px 20px 24px; }
    .media-first .feature-copy { grid-row: 1; }
    .view-switch button { padding-inline: 18px; }
    .life-grid, .personalize-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
    .live-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
    .live-feature { padding: 28px 24px; }
    .live-copy { max-width: 100%; margin-bottom: 28px; }
    .live-copy h3 { font-size: 20px; }
    .live-details { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
    .life-feature { padding: 28px 24px; }
    .life-copy { max-width: 100%; margin-bottom: 28px; }
    .personalize-feature { padding: 28px 20px; }
    .personalize-copy h3 { font-size: 20px; }
    .archive-invitation { text-align: center; gap: 20px; margin-top: 32px; }
    .onboarding-steps { grid-template-columns: 1fr; text-align: left; gap: 28px; margin: 40px auto; max-width: 320px; }
    .onboarding-steps li { position: relative; padding-left: 48px; }
    .onboarding-steps li > span { position: absolute; left: 0; top: 4px; }
    .onboarding-steps p { margin-top: 8px; }
    .onboarding-steps p br { display: none; }
    .landing-footer { padding: 32px 20px max(24px, env(safe-area-inset-bottom)); }
    .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-bottom { margin-top: 24px; }
    .footer-bottom nav { justify-content: flex-start; gap: 0 20px; }
}
@media (max-width: 360px) {
    .wordmark span { display: none; }
    .hero-gallery { gap: 12px; }
    .hero-gallery .device-main { width: 160px; }
    .hero-gallery .device-side { width: 120px; }
    .hero-gallery figcaption { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal-pending { opacity: 1; transform: none; }
}
@media print {
    .landing-header, .skip-link, .scroll-cue, .view-switch { display: none !important; }
    .full-section { min-height: 0; }
    .hero, .feature-section { padding-block: 32px; }
    .reveal-pending { opacity: 1; transform: none; }
    .screen-panel[hidden] { display: block !important; }
    .personalize-section { background: white; color: black; }
}
