/* =========================================================
   Seafold landing
   ========================================================= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b1630;
  --ink-2: #3c4760;
  --ink-3: #6b7488;
  --navy: #071233;
  --navy-2: #0c2a6b;
  --blue: #2457d6;
  --blue-2: #2a86ff;
  --sky: #6f98f5;
  --teal: #14b8a6;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 48, 0.06), 0 4px 14px rgba(11, 22, 48, 0.05);
  --shadow-lg: 0 30px 80px -20px rgba(11, 22, 48, 0.35), 0 10px 30px -10px rgba(11, 22, 48, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
.ic { width: 1em; height: 1em; flex: none; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 48px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 inherit; font-family: inherit; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ic { font-size: 17px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 20px -6px rgba(36, 87, 214, .7); }
.btn-primary:hover { background: #1d4bc4; }
.btn-ghost { color: inherit; opacity: .85; }
.btn-ghost:hover { opacity: 1; }
.btn-glass {
  height: 52px; padding: 0 24px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-glass .ic { transition: transform .25s var(--ease); }
.btn-glass:hover .ic { transform: translateX(3px); }

.store-badge { display: inline-block; height: 52px; transition: transform .25s var(--ease), filter .25s; border-radius: 11px; }
.store-badge svg { height: 100%; width: auto; display: block; }
.store-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s, color .3s, backdrop-filter .3s; }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 32px; }
.nav-logo { position: relative; display: block; height: 30px; }
.nav-logo img { height: 30px; width: auto; transition: opacity .3s; }
.nav-logo .logo-on-light { position: absolute; inset: 0; opacity: 0; }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav.scrolled, .nav.nav-solid {
  color: var(--ink);
  background: rgba(246, 248, 252, .78);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled .logo-on-dark, .nav.nav-solid .logo-on-dark { opacity: 0; }
.nav.scrolled .logo-on-light, .nav.nav-solid .logo-on-light { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 80% 0%, #1b4fd1 0%, #0c2a6b 42%, var(--navy) 78%);
  padding: 140px 0 190px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.orb-1 { width: 520px; height: 520px; background: #2a86ff; top: -160px; right: -80px; }
.orb-2 { width: 420px; height: 420px; background: #14b8a6; bottom: -120px; left: -120px; opacity: .35; animation-duration: 22s; }
.orb-3 { width: 300px; height: 300px; background: #8b5cf6; top: 30%; left: 38%; opacity: .25; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 13.5px; font-weight: 550; text-decoration: none; color: #dbe6ff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.pill .ic { font-size: 13px; opacity: .7; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .22); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }

.hero h1 { font-size: clamp(46px, 6.4vw, 84px); font-weight: 750; margin: 26px 0 22px; letter-spacing: -0.04em; }
.grad-text {
  background: linear-gradient(92deg, #9cc2ff 0%, #6ee7f9 45%, #a7f3d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: rgba(226, 234, 255, .82); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-actions.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(226, 234, 255, .75); }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points .ic { color: #6ee7b7; font-size: 15px; }

.hero-visual { position: relative; height: 640px; }
.hero-visual .phone-front { position: absolute; left: 50%; top: 0; transform: translateX(-38%) rotate(-2deg); animation: float 7s ease-in-out infinite; z-index: 2; }
.hero-visual .phone-back { position: absolute; left: 50%; top: 70px; transform: translateX(-112%) rotate(-9deg); opacity: .9; filter: saturate(.9); animation: float2 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateX(-38%) rotate(-2deg) translateY(-14px); } }
@keyframes float2 { 50% { transform: translateX(-112%) rotate(-9deg) translateY(10px); } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  color: var(--ink); background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg);
}
.notif { top: 120px; right: -10px; width: 290px; animation: notif 9s var(--ease) infinite; }
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.notif-top b { color: var(--ink-2); font-weight: 650; }
.notif-title { font-weight: 650; font-size: 14.5px; margin-top: 1px; }
.notif-sub { font-size: 13px; color: var(--ink-3); }
.notif > div { flex: 1; }
@keyframes notif {
  0%, 4% { opacity: 0; transform: translateY(-24px) scale(.96); }
  10%, 70% { opacity: 1; transform: none; }
  78%, 100% { opacity: 0; transform: translateY(-16px) scale(.97); }
}
.invite { bottom: 70px; left: -6px; animation: float 6s ease-in-out infinite reverse; animation-name: bob; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.invite-title { font-weight: 650; font-size: 14.5px; }
.invite-sub { font-size: 13px; color: var(--ink-3); }
.invite-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; margin-left: 6px; font-size: 16px; }

.avatar {
  --c: #2457d6;
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  font: 700 13px/1 inherit; font-family: inherit; font-style: normal; color: #fff; letter-spacing: .02em;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c));
}

.waves { position: absolute; left: 0; bottom: -1px; width: 200%; height: 170px; }
.waves path { animation: wave 16s linear infinite; }
.waves .w1 { fill: rgba(111, 152, 245, .25); animation-duration: 22s; }
.waves .w2 { fill: rgba(110, 231, 249, .18); animation-duration: 16s; animation-direction: reverse; }
.waves .w3 { fill: var(--bg); animation-duration: 12s; }
@keyframes wave { to { transform: translateX(-50%); } }

/* ---------- strip ---------- */
.strip { position: relative; margin-top: -40px; z-index: 2; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip-inner > div {
  display: flex; align-items: center; gap: 18px; background: var(--card); border-radius: 20px; padding: 22px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.strip b { font-size: 44px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(160deg, var(--blue-2), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip span { color: var(--ink-2); font-size: 15px; line-height: 1.4; }

/* ---------- sections ---------- */
.section { padding: 130px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2, .show-copy h2, .cta h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 720; letter-spacing: -0.035em; }
.section-head p { margin-top: 20px; font-size: 18.5px; color: var(--ink-3); }
.eyebrow {
  --accent: var(--blue);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.light { color: #9cc2ff; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(226, 234, 255, .75); }
.section-head.light .eyebrow { color: #6ee7f9; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  --accent: var(--blue);
  position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.tile::after {
  content: ''; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  pointer-events: none; transition: transform .6s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(11, 22, 48, .25); }
.tile:hover::after { transform: scale(1.25); }
.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, #fff); margin-bottom: 20px;
}
.tile h3 { font-size: 21px; font-weight: 680; letter-spacing: -0.02em; }
.tile-lg h3 { font-size: 28px; }
.tile p { margin-top: 10px; color: var(--ink-3); font-size: 15.5px; max-width: 460px; }

.mini-week { flex: 1; margin-top: auto; padding-top: 34px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; min-height: 330px; }
.mw-col { position: relative; border-radius: 14px; background: #f3f5fa; padding-top: 34px; }
.mw-col span { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.mw-col.today { background: color-mix(in srgb, var(--blue) 9%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--blue) 30%, transparent); }
.mw-col.today span { color: var(--blue); }
.mw-col i {
  position: absolute; left: 6px; right: 6px; top: calc(34px + var(--t) * .85); height: calc(var(--h) * .85);
  border-radius: 8px; background: color-mix(in srgb, var(--c) 22%, #fff); border-left: 3px solid var(--c);
  transform-origin: top; transform: scaleY(0); transition: transform .8s var(--ease);
}
.in .mw-col i { transform: scaleY(1); }
.mw-col i b { display: block; font-style: normal; padding: 6px 7px; font-size: 11.5px; font-weight: 650; line-height: 1.2; color: color-mix(in srgb, var(--c) 70%, #000); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw-col:nth-child(2) i { transition-delay: .08s; } .mw-col:nth-child(3) i { transition-delay: .16s; } .mw-col:nth-child(4) i { transition-delay: .24s; }
.mw-col:nth-child(5) i { transition-delay: .32s; } .mw-col:nth-child(6) i { transition-delay: .4s; } .mw-col:nth-child(7) i { transition-delay: .48s; }

.mini-checks { margin-top: 24px; display: grid; gap: 8px; }
.mc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f5f6fa; font-size: 14px; font-weight: 550; }
.mc em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #d97706; font-weight: 650; }
.cb {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c3c9d4; display: grid; place-items: center; flex: none; color: #fff; font-size: 12px;
}
.cb .ic { opacity: 0; transform: scale(.4); }
.mc.done { color: var(--ink-3); text-decoration: line-through; }
.mc.done .cb { background: #22c55e; border-color: #22c55e; }
.mc.done .cb .ic { opacity: 1; transform: none; }
.mc.anim .cb { animation: cbFill 4s var(--ease) infinite; }
.mc.anim .cb .ic { animation: cbTick 4s var(--ease) infinite; }
@keyframes cbFill { 0%, 35% { background: transparent; border-color: #c3c9d4; } 45%, 85% { background: #22c55e; border-color: #22c55e; } 100% { background: transparent; border-color: #c3c9d4; } }
@keyframes cbTick { 0%, 38% { opacity: 0; transform: scale(.4); } 48%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.mini-map {
  position: relative; margin-top: 24px; height: 130px; border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(170deg, transparent 62%, #b9d7f0 62.5%),
    linear-gradient(8deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(98deg, transparent 47%, #fff 47%, #fff 52%, transparent 52%),
    #eef1ec;
}
.mp {
  position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -30px 0 0 -15px;
  border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--c); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .4s var(--d), translate .6s var(--ease) var(--d); translate: 0 -16px;
}
.mp .ic { transform: rotate(45deg); font-size: 14px; }
.in .mp { opacity: 1; translate: 0 0; }

.avatars { display: flex; margin-top: 24px; }
.avatars .avatar { width: 44px; height: 44px; margin-right: -10px; border: 3px solid #fff; font-size: 13px; }
.avatars .more { background: #eef1f6; color: var(--ink-2); }

.prio { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.prio span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: color-mix(in srgb, var(--c) 78%, #000); background: color-mix(in srgb, var(--c) 13%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }

/* ---------- showcase ---------- */
.showcase { padding-top: 40px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.show-row + .show-row { margin-top: 140px; }
.show-row.flip .show-copy { order: 2; }
.show-copy p { margin-top: 20px; font-size: 18px; color: var(--ink-3); max-width: 500px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 550; color: var(--ink-2); }
.ticks .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; color: #fff; background: linear-gradient(150deg, var(--blue-2), var(--blue)); }
.show-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.glow { position: absolute; width: min(440px, 100vw); height: min(440px, 100vw); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 35%, transparent), transparent); filter: blur(10px); }
.show-visual::before {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--ink) 12%, transparent); animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tilt-l { transform: perspective(1400px) rotateY(10deg) rotateX(4deg) rotate(-2deg); }
.tilt-r { transform: perspective(1400px) rotateY(-10deg) rotateX(4deg) rotate(2deg); }
.show-row .phone { transition: transform .9s var(--ease); }
.show-row:hover .phone { transform: perspective(1400px) rotateY(0) rotateX(0) rotate(0) translateY(-6px); }

/* ---------- widgets ---------- */
.widgets-sec {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(80% 70% at 20% 0%, #1b3fa8 0%, transparent 60%), radial-gradient(70% 60% at 100% 100%, #0e6b7a 0%, transparent 55%), var(--navy);
}
.widgets-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.lock, .home {
  position: relative; border-radius: 40px; padding: 34px; min-height: 480px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.lock { background: linear-gradient(170deg, #0f2f6e 0%, #19428f 40%, #0d7a8a 100%); text-align: center; }
.lock::after, .home::after {
  content: ''; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(closest-side, rgba(110, 231, 249, .3), transparent); pointer-events: none;
}
.lock-date { font-size: 18px; font-weight: 600; opacity: .85; margin-top: 10px; }
.lock-time { font-size: 104px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.lock-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; text-align: left; }
.lw-rect { padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .14); }
.lw-k { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; opacity: .8; }
.lw-k .bar { width: 3px; height: 12px; border-radius: 3px; background: var(--c); }
.lw-t { font-weight: 700; font-size: 15px; margin-top: 3px; }
.lw-s { font-size: 12.5px; opacity: .7; }

.home { background: linear-gradient(200deg, #2a86ff 0%, #2457d6 45%, #13307f 100%); display: flex; flex-direction: column; gap: 18px; }
.w-med, .w-small {
  color: var(--ink); background: rgba(255, 255, 255, .94); border-radius: 26px; padding: 16px 18px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
}
.w-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.w-head span { display: flex; align-items: center; gap: 7px; }
.w-head img { width: 18px; height: 18px; border-radius: 5px; }
.w-head em { font-style: normal; color: var(--ink-3); font-weight: 600; }
.w-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.w-row + .w-row { border-top: 1px solid var(--line); }
.w-row i { width: 4px; align-self: stretch; border-radius: 4px; background: var(--c); }
.w-row i.ring { width: 12px; height: 12px; align-self: center; border-radius: 50%; background: none; border: 2.5px solid var(--c); }
.w-row b { display: block; font-size: 14.5px; font-weight: 650; }
.w-row span { display: block; font-size: 12.5px; color: var(--ink-3); }
.home-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.w-small { aspect-ratio: 1; display: flex; flex-direction: column; }
.ws-day { font-size: 12px; font-weight: 800; color: #ef4444; letter-spacing: .06em; }
.ws-num { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.ws-ev { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; }
.ws-ev i { width: 4px; height: 16px; border-radius: 4px; background: var(--c); }
.ws-more { font-size: 12px; color: var(--ink-3); }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 6px; }
.app-ic { aspect-ratio: 1; border-radius: 24%; background: var(--c); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); overflow: hidden; }
.app-ic.seafold { background: #fff; }
.app-ic img { width: 100%; height: 100%; }

/* ---------- devices ---------- */
.devices { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-right: 130px; }
.browser { width: min(940px, 100%); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.br-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.br-bar > i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.br-bar > i:nth-child(2) { background: #febc2e; } .br-bar > i:nth-child(3) { background: #28c840; }
.br-url { margin: 0 auto; display: flex; align-items: center; gap: 6px; padding: 5px 16px; border-radius: 8px; background: #fff; font-size: 12.5px; color: var(--ink-3); min-width: 280px; justify-content: center; }
.br-url .ic { color: #16a34a; }
.br-body { display: grid; grid-template-columns: 190px 1fr; height: 520px; }
.br-side { border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; background: #fafbfd; }
.br-side img { height: 24px; width: auto; margin: 0 8px 18px; }
.br-side span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.br-side span .ic { font-size: 17px; color: var(--ink-3); }
.br-side span.on { background: color-mix(in srgb, var(--blue) 10%, #fff); color: var(--blue); }
.br-side span.on .ic { color: var(--blue); }
.br-main { padding: 18px 20px; display: flex; flex-direction: column; min-width: 0; }
.br-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.br-head b { font-size: 18px; letter-spacing: -0.02em; }
.br-btns { display: flex; gap: 6px; align-items: center; }
.br-btns i, .br-btns em { display: grid; place-items: center; height: 30px; min-width: 30px; border-radius: 8px; border: 1px solid var(--line); font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 0 10px; }
.br-btns i { padding: 0; }
.br-btns em.pri { display: flex; gap: 5px; background: var(--blue); color: #fff; border-color: transparent; }
.wk { flex: 1; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.wk-h { display: grid; grid-template-columns: 38px repeat(7, 1fr); font-size: 12px; font-weight: 650; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.wk-h span { padding: 9px 6px; text-align: center; }
.wk-h span.t { color: var(--blue); }
.wk-g { flex: 1; display: grid; grid-template-columns: 38px 1fr; }
.wk-times { display: flex; flex-direction: column; justify-content: space-around; font-size: 10.5px; color: var(--ink-3); text-align: center; border-right: 1px solid var(--line); }
.wk-cols { display: grid; grid-template-columns: repeat(7, 1fr); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 14.28%; }
.wk-cols > div { position: relative; border-left: 1px solid var(--line); }
.wk-cols > div:first-child { border-left: 0; }
.wk-cols > div.t { background: color-mix(in srgb, var(--blue) 4%, transparent); }
.wk-cols b {
  position: absolute; left: 4px; right: 4px; top: var(--t); height: var(--h); overflow: hidden;
  padding: 5px 7px; border-radius: 7px; font-size: 11.5px; font-weight: 650; line-height: 1.25;
  color: color-mix(in srgb, var(--c) 70%, #000); background: color-mix(in srgb, var(--c) 16%, #fff); border-left: 3px solid var(--c);
}
.wk-cols b em { display: block; font-style: normal; font-weight: 500; opacity: .75; font-size: 10.5px; }
.wk-cols s { position: absolute; left: 0; right: 0; top: var(--t); height: 2px; background: #ef4444; }
.wk-cols s::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.devices .phone-dark { position: absolute; right: max(0px, calc(50% - 600px)); bottom: -50px; transform: rotate(3deg); }

.mini-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 110px; }
.mini-feats > div { display: flex; flex-direction: column; gap: 6px; }
.mini-feats .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, #fff); margin-bottom: 8px; }
.mini-feats b { font-size: 16.5px; }
.mini-feats span { color: var(--ink-3); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding: 20px 0 120px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 36px; padding: 90px 30px;
  background: linear-gradient(140deg, #2a86ff 0%, #2457d6 40%, #0c2a6b 100%);
}
.cta-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 20 Q 15 8 30 20 T 60 20 T 90 20 T 120 20' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='3'/%3E%3C/svg%3E"); animation: slide 20s linear infinite; }
@keyframes slide { to { background-position: 240px 0; } }
.cta-card > * { position: relative; }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); animation: bob 5s ease-in-out infinite; }
.cta p { margin: 18px auto 0; max-width: 520px; font-size: 18.5px; color: rgba(226, 234, 255, .85); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(226, 234, 255, .7); padding: 70px 0 30px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand .store-badge { height: 46px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.footer-cols a { text-decoration: none; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2) { transition-delay: .08s; } .bento .reveal:nth-child(3) { transition-delay: .16s; }
.bento .reveal:nth-child(4) { transition-delay: .1s; } .bento .reveal:nth-child(5) { transition-delay: .18s; } .bento .reveal:nth-child(6) { transition-delay: .26s; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Phone mockup — screens are laid out at real iPhone size
   (393 × 852 pt) and scaled with --s.
   ========================================================= */
.phone {
  --s: .7;
  --bez: 11px;
  position: relative; flex: none;
  width: calc(393px * var(--s) + var(--bez) * 2);
  padding: var(--bez);
  border-radius: calc(55px * var(--s) + var(--bez));
  background: linear-gradient(145deg, #2b2f38, #0b0d12 40%, #1d2028);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12), inset 0 0 0 4px #000;
}
.phone::before, .phone::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #1a1d24; }
.phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(110px * var(--s)) 0 #1a1d24; }
.phone::after { right: -3px; top: 28%; height: 14%; }
.screen { position: relative; width: calc(393px * var(--s)); height: calc(852px * var(--s)); border-radius: calc(55px * var(--s)); overflow: hidden; background: #f2f3f7; isolation: isolate; }

.ui {
  --p: #2457d6; --bg: #f2f3f7; --sf: #fff; --sf2: #f0f2f5; --tx: #0e1525; --tx2: #5d6677; --tx3: #98a0ae; --bd: rgba(15, 23, 42, .09);
  position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform: scale(var(--s)); transform-origin: 0 0;
  background: var(--bg); color: var(--tx); font-size: 17px; line-height: 1.3; letter-spacing: -0.01em;
  font-family: -apple-system, 'SF Pro Text', 'Inter', sans-serif; overflow: hidden;
}
.ui.dark { --p: #6f98f5; --bg: #000; --sf: #151820; --sf2: #1c2029; --tx: #e7eaf0; --tx2: #8e97a8; --tx3: #5f6878; --bd: rgba(148, 163, 184, .14); }
.ui .ic { width: 1em; height: 1em; }

.sb { position: relative; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 46px; font-weight: 600; font-size: 17px; z-index: 5; }
.island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.sb-icons { display: flex; align-items: center; gap: 6px; }
.sb-icons svg { height: 12px; width: auto; fill: currentColor; }
.batt { width: 26px; height: 12.5px; border-radius: 4px; border: 1.2px solid color-mix(in srgb, currentColor 45%, transparent); padding: 1.5px; position: relative; }
.batt i { display: block; height: 100%; width: 78%; border-radius: 2px; background: currentColor; }
.batt::after { content: ''; position: absolute; right: -3.5px; top: 3.5px; width: 1.5px; height: 4px; border-radius: 1px; background: color-mix(in srgb, currentColor 45%, transparent); }

.ui-scroll { padding: 4px 16px 120px; }
.ui-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 6px 4px 12px; }
.ui-large { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.ui-sub { font-size: 15px; color: var(--tx2); font-weight: 500; margin-top: -1px; }
.ui-head-btns { display: flex; gap: 10px; margin-top: 4px; }
.round { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sf); color: var(--p); font-size: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.round.pri { background: var(--p); color: #fff; }
.round .badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: #ef4444; color: #fff; font-family: inherit; font-weight: 700; font-size: 11px; line-height: 18px; font-style: normal; text-align: center; padding: 0 4px; }

.card { background: var(--sf); border-radius: 14px; overflow: hidden; }
.cal { padding: 10px 8px 6px; }
.cal-wd, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-wd span { font-size: 12px; font-weight: 600; color: var(--tx3); padding-bottom: 4px; }
.cal-grid span { position: relative; height: 44px; font-size: 16px; font-weight: 500; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.cal-grid span.out { color: var(--tx3); opacity: .6; }
.cal-grid span.sel::before { content: ''; position: absolute; top: 2px; left: 50%; width: 32px; height: 32px; margin-left: -16px; border-radius: 50%; background: var(--p); z-index: -1; }
.cal-grid span.sel { color: #fff; font-weight: 700; z-index: 0; }
.cal-grid em { display: flex; gap: 2.5px; margin-top: auto; padding-bottom: 5px; }
.cal-grid em i { width: 5px; height: 5px; border-radius: 50%; background: var(--c); }
.cal-grid em i.ring { background: none; border: 1.4px solid #d97706; }

.ui-section-title { font-size: 13px; font-weight: 600; color: var(--tx2); text-transform: uppercase; letter-spacing: .02em; margin: 22px 16px 7px; }
.ui-section-title.red { color: #dc2626; }
.list > div { display: flex; align-items: center; gap: 12px; padding: 11px 14px; position: relative; }
.list > div + div::before { content: ''; position: absolute; top: 0; left: 14px; right: 0; height: .5px; background: var(--bd); }
.ev-bar { width: 4px; align-self: stretch; border-radius: 4px; background: var(--c); }
.ev-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev-main b, .rm-main b, .fr-main b { font-size: 16px; font-weight: 600; }
.ev-main span, .rm-main span, .fr-main span { font-size: 13.5px; color: var(--tx2); display: flex; align-items: center; gap: 5px; }
.ev-main span .ic { font-size: 12px; }
.ev-flag { font-size: 15px; }
.chev { color: var(--tx3); font-size: 13px; }
.ui .due { color: #d97706; font-weight: 600; }
.ui .over { color: #dc2626; font-weight: 600; }
.chip-s {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 3px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; font-style: normal; color: color-mix(in srgb, var(--c) 75%, #000);
  background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}
.ui.dark .chip-s { color: color-mix(in srgb, var(--c) 50%, #fff); }
.chip-s .ic { font-size: 10px; }
.ppl { margin-top: 3px; }
.avatar.xs { width: 20px; height: 20px; font-size: 8.5px; margin-right: -6px; border: 1.5px solid var(--sf); }
.ppl .avatar.xs:last-of-type { margin-right: 4px; }
.cb.ring { border-color: #d97706; }
.rem { padding-left: 16px !important; }
.ui .cb { width: 22px; height: 22px; border-color: color-mix(in srgb, var(--tx3) 70%, transparent); }
.rm .cb { align-self: flex-start; margin-top: 1px; }
.rm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rm.checking .cb { animation: cbFill 4s var(--ease) infinite; }
.rm.checking .cb .ic { animation: cbTick 4s var(--ease) infinite; }
.rm.checking b { animation: strike 4s var(--ease) infinite; }
@keyframes strike { 0%, 40% { color: var(--tx); } 50%, 85% { color: var(--tx3); } 100% { color: var(--tx); } }

.seg { display: flex; background: color-mix(in srgb, var(--tx3) 20%, transparent); border-radius: 9px; padding: 2px; margin: 0 4px 2px; }
.seg span { flex: 1; text-align: center; font-size: 13.5px; font-weight: 600; padding: 6px; border-radius: 7px; color: var(--tx2); }
.seg span.on { background: var(--sf); color: var(--tx); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 11px; background: color-mix(in srgb, var(--tx3) 18%, transparent); color: var(--tx3); font-size: 16px; margin: 0 4px; }

.invite-card { padding: 14px; }
.ic-top { display: flex; gap: 12px; font-size: 15px; color: var(--tx2); }
.ic-top b { color: var(--tx); }
.ic-ev { display: flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 700; color: var(--tx); margin: 3px 0 1px; }
.ic-ev i { width: 4px; height: 18px; border-radius: 3px; background: var(--c); }
.ic-top .muted { font-size: 13.5px; }
.ic-btns { display: flex; gap: 8px; margin-top: 14px; }
.btn-s { flex: 1; text-align: center; padding: 9px; border-radius: 10px; font-size: 15px; font-weight: 600; background: var(--sf2); color: var(--p); }
.btn-s.pri { background: var(--p); color: #fff; }
.btn-s.sm { flex: none; padding: 6px 14px; font-size: 14px; border-radius: 999px; }
.fr .avatar { width: 40px; height: 40px; }
.fr-main { flex: 1; display: flex; flex-direction: column; }

.tabbar {
  position: absolute; left: 14px; right: 14px; bottom: 26px; height: 64px; border-radius: 32px;
  display: flex; justify-content: space-around; align-items: center; padding: 0 6px;
  background: color-mix(in srgb, var(--sf) 82%, transparent); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: .5px solid var(--bd); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .25);
}
.tabbar span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--tx2); padding: 6px 8px; border-radius: 22px; min-width: 64px; }
.tabbar span .ic { font-size: 22px; }
.tabbar span.on { color: var(--p); background: color-mix(in srgb, var(--p) 12%, transparent); }
.tb-badge { position: absolute; top: 1px; right: 12px; min-width: 16px; height: 16px; border-radius: 8px; background: #ef4444; color: #fff; font-family: inherit; font-weight: 700; font-size: 10px; line-height: 16px; font-style: normal; text-align: center; }

/* community screen */
.cm-top { display: flex; align-items: center; gap: 10px; margin: 0 4px; }
.cm-top .search { flex: 1; margin: 0; border-radius: 19px; }
.cm-me { width: 38px; height: 38px; font-size: 14px; }
.cm-seg { margin: 12px 4px 14px; }
.post { padding: 13px 14px 6px; margin-bottom: 12px; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head .avatar { width: 38px; height: 38px; font-size: 13.5px; }
.post-head b { display: block; font-size: 15.5px; font-weight: 650; }
.post-head span { font-size: 12.5px; color: var(--tx2); }
.post p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.35; }
.poll { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.opt { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; padding: 8px 11px; border-radius: 10px; border: 1.5px solid var(--bd); font-size: 14.5px; }
.opt::before { content: ''; position: absolute; inset: 0; width: var(--w); background: color-mix(in srgb, var(--p) 9%, transparent); }
.opt.mine { border-color: var(--p); }
.opt.mine::before { background: color-mix(in srgb, var(--p) 20%, transparent); }
.opt b, .opt em { position: relative; font-style: normal; }
.opt b { display: flex; align-items: center; gap: 5px; font-weight: 550; }
.opt.mine b { font-weight: 700; color: var(--p); }
.opt em { font-weight: 700; font-variant-numeric: tabular-nums; }
.post-meta { text-align: right; font-size: 12px; color: var(--tx2); margin-top: 8px; }
.post-actions { display: flex; justify-content: space-around; border-top: .5px solid var(--bd); margin: 8px -14px 0; padding: 8px 0 3px; }
.post-actions span { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; color: var(--tx2); }
.post-actions span.on { color: var(--p); }
.post-actions .ic { font-size: 16px; }
.idea { display: flex; gap: 12px; align-items: center; margin-top: 11px; padding: 11px; border-radius: 12px; background: var(--sf2); }
.idea-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--p); background: color-mix(in srgb, var(--p) 14%, transparent); font-size: 22px; flex: none; }
.idea-ic .ic { width: 22px; height: 22px; }
.idea b { display: block; font-size: 16px; font-weight: 750; }
.idea span { font-size: 13px; color: var(--tx2); }
.idea-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 8px; font-size: 12.5px; color: var(--tx2); font-weight: 600; }
.idea-btns { display: flex; gap: 6px; }
.idea-btns em { font-style: normal; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 9px; background: var(--sf2); color: var(--tx); }
.idea-btns em.on { background: var(--p); color: #fff; }

/* ---------- Android (Play Store images): status bar, punch-hole camera, Material navigation bar ---------- */
.sb-android { padding: 4px 26px 0 30px; height: 44px; font-size: 15px; font-weight: 500; font-family: 'Roboto', 'Inter', sans-serif; }
.punch { position: absolute; left: 50%; top: 13px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #000; }
.sb-android .sb-icons svg { height: 13px; }
.batt-a { width: 9px; height: 15px; border-radius: 2px; border: 1.3px solid currentColor; padding: 1.2px; display: flex; align-items: flex-end; position: relative; }
.batt-a i { display: block; width: 100%; height: 76%; border-radius: 1px; background: currentColor; }
.batt-a::before { content: ''; position: absolute; top: -3.2px; left: 50%; width: 4px; height: 2px; margin-left: -2px; border-radius: 1px 1px 0 0; background: currentColor; }
.ui.android { font-family: 'Roboto', 'Inter', sans-serif; letter-spacing: 0; }
.ui.android .tabbar { left: 0; right: 0; bottom: 0; height: 92px; border-radius: 0; padding: 0 4px 22px; border: none; box-shadow: none; background: var(--sf2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ui.android .tabbar span { background: none; min-width: 60px; padding: 4px 0; gap: 5px; font-size: 11.5px; color: var(--tx); font-weight: 500; }
.ui.android .tabbar span .ic { box-sizing: content-box; padding: 4px 18px; border-radius: 16px; font-size: 21px; color: var(--tx2); }
.ui.android .tabbar span.on { color: var(--tx); font-weight: 700; }
.ui.android .tabbar span.on .ic { background: color-mix(in srgb, var(--p) 20%, transparent); color: var(--p); }
.ui.android .tb-badge { top: 0; right: 10px; }
.ui.android::after { content: ''; position: absolute; left: 50%; bottom: 8px; width: 108px; height: 4px; margin-left: -54px; border-radius: 2px; background: color-mix(in srgb, var(--tx) 45%, transparent); z-index: 6; }
.ui.android .sheet { padding-bottom: 120px; }
.phone.android { --bez: 7px; border-radius: calc(38px * var(--s) + var(--bez)); background: linear-gradient(145deg, #3a3d44, #15171c 45%, #2a2d33); }
.phone.android .screen { border-radius: calc(38px * var(--s)); }
.phone.android::before { display: none; }
.phone.android::after { right: -3px; top: 24%; height: 18%; }

/* map screen */
.map-ui { background: #eef1ec; }
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-search {
  position: relative; z-index: 3; margin: 4px 16px 0; height: 46px; border-radius: 23px; display: flex; align-items: center; gap: 8px; padding: 0 16px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); color: var(--tx3); font-size: 16px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .3);
}
.map-search .ic { color: var(--p); }
/* Map markers, as in the app: a flat circle in the place's colour with a hairline white edge. */
.pin {
  position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center;
  border: 1.2px solid rgba(255, 255, 255, .95); box-shadow: 0 2px 6px -1px rgba(0, 0, 0, .25);
  animation: drop .9s var(--ease) both; animation-delay: var(--d);
}
.pin .ic { font-size: 14px; }
.pin b { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pin.big { width: 34px; height: 34px; margin: -17px 0 0 -17px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent), 0 2px 6px -1px rgba(0, 0, 0, .25); }
.pin.big b { font-size: 15px; }
@keyframes drop { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }
.me { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: #2a86ff; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(42, 134, 255, .5); animation: me 2.4s infinite; }
@keyframes me { 70% { box-shadow: 0 0 0 22px rgba(42, 134, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(42, 134, 255, 0); } }
.sheet {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 8px 16px 110px; border-radius: 30px 30px 0 0;
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(20px); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .25);
}
.grab { display: block; width: 38px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--tx3) 60%, transparent); margin: 0 auto 12px; }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 0 4px 12px; }
.sheet-head b { display: block; font-size: 20px; font-weight: 700; }
.sheet-head span { font-size: 14px; color: var(--tx2); }
.sheet-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--c); font-size: 19px; }

/* =========================================================
   Legal pages
   ========================================================= */
.legal-hero { position: relative; overflow: hidden; color: #fff; padding: 150px 0 80px; background: radial-gradient(120% 100% at 85% 0%, #1b4fd1 0%, #0c2a6b 45%, var(--navy) 85%); }
.legal-hero-bg { position: absolute; inset: 0; }
.legal-hero .container { position: relative; }
.legal-hero h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 740; max-width: 900px; letter-spacing: -0.03em; }
.legal-updated { margin-top: 18px; color: rgba(226, 234, 255, .7); font-size: 15px; }
.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; padding: 64px 0 120px; align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.toc-inner { max-height: calc(100vh - 120px); overflow: auto; padding-right: 8px; }
.toc-title { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.legal-toc nav { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.legal-toc nav a { text-decoration: none; font-size: 14px; color: var(--ink-3); padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; transition: color .2s, border-color .2s; }
.legal-toc nav a:hover { color: var(--ink); }
.legal-toc nav a.active { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.toc-switch { margin-top: 26px; }
.toc-switch a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--blue); text-decoration: none; }
.legal-body { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 56px 60px; box-shadow: var(--shadow-sm); min-width: 0; }
.legal-body.solo { margin: -40px 0 120px; position: relative; }
.legal-body section { scroll-margin-top: 100px; }
.legal-body section + section { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 18px; line-height: 1.3; }
.legal-body h3 { font-size: 16.5px; font-weight: 680; margin: 26px 0 10px; letter-spacing: -0.01em; }
.legal-body p { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 12px 0 14px; padding-left: 0; list-style: none; display: grid; gap: 7px; }
.legal-body li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.legal-body li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: .7; }
.legal-body a { color: var(--blue); font-weight: 550; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-body th { text-align: left; background: #f4f6fb; font-weight: 650; padding: 12px 16px; color: var(--ink); }
.legal-body td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.legal-body td:last-child { white-space: nowrap; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { height: 620px; margin-top: 30px; }
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .show-row.flip .show-copy { order: 0; }
  .show-copy p { margin-inline: auto; }
  .ticks { justify-items: center; }
  .devices { padding-right: 0; }
  .devices .phone-dark { display: none; }
  .mini-feats { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .toc-inner { max-height: none; }
  .legal-toc nav { display: grid; grid-template-columns: repeat(2, 1fr); border: 0; gap: 2px 16px; }
  .legal-toc nav a { border-left: 0; padding-left: 0; margin: 0; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-lg, .tile-wide { grid-column: span 2; }
  .tile-lg { grid-row: auto; }
  .mini-week { min-height: 240px; }
  .strip-inner { grid-template-columns: 1fr; }
  .widgets-stage { grid-template-columns: 1fr; max-width: 460px; }
  .br-body { grid-template-columns: 1fr; height: 440px; }
  .br-side { display: none; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { height: 38px; padding: 0 14px; font-size: 14px; }
  .hero { padding: 116px 0 150px; }
  .hero-visual { height: 520px; }
  .hero-visual .phone-front { --s: .62 !important; }
  .hero-visual .phone-back { display: none; }
  .hero-visual .phone-front { transform: translateX(-50%) rotate(-2deg); animation-name: floatM; }
  @keyframes floatM { 50% { transform: translateX(-50%) rotate(-2deg) translateY(-10px); } }
  .notif { right: 50%; margin-right: -150px; width: 270px; top: 60px; }
  .invite { left: 50%; margin-left: -160px; bottom: 20px; }
  .section { padding: 90px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile-lg, .tile-wide { grid-column: auto; }
  .tile { padding: 24px; }
  .show-visual { min-height: 540px; }
  .show-visual .phone { --s: .6 !important; }
  .show-visual::before { width: 360px; height: 360px; }
  .lock, .home { padding: 24px; border-radius: 32px; min-height: 0; }
  .lock-time { font-size: 80px; }
  .lock-widgets { grid-template-columns: 1fr; }
  .mini-feats { grid-template-columns: 1fr; margin-top: 70px; }
  .wk-h { font-size: 10px; }
  .wk-cols b { font-size: 9.5px; padding: 3px 4px; }
  .wk-cols b em { display: none; }
  .br-url { min-width: 0; }
  .cta-card { padding: 64px 22px; border-radius: 28px; }
  .footer-cols { gap: 40px; }
  .legal-body { padding: 30px 22px; border-radius: 20px; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-body td:last-child { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .mw-col i { transform: none; }
  .mp { opacity: 1; translate: 0 0; }
}

/* ---------- cookie consent ---------- */
.link-btn { all: unset; cursor: pointer; transition: color .2s; }
.link-btn:hover { color: #fff; }
.link-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.cookie {
  position: fixed; z-index: 100; left: 20px; bottom: 20px; width: min(420px, calc(100% - 40px));
  padding: 20px; border-radius: 20px; color: var(--ink);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cookie p b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.cookie a { color: var(--blue); font-weight: 550; }
.cookie-btns { display: flex; gap: 10px; margin-top: 16px; }
.cookie-btns .btn { flex: 1; justify-content: center; cursor: pointer; border: 0; }
.btn-soft { background: #eef1f6; color: var(--ink); }
.btn-soft:hover { background: #e3e7ef; }
@media (max-width: 600px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; } }

/* App Store badge before the app is live */
.store-badge.no-link { cursor: default; }
.store-badge.no-link:hover { transform: none; filter: none; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions.center .store-badges, .center .store-badges { justify-content: center; }
.footer-brand .store-badges { gap: 10px; }

/* 404 */
.page-404 .legal-hero { min-height: 70vh; display: grid; align-items: center; }
.page-404 .hero-actions { margin-top: 28px; }

/* ---------- Teams & Outlook ---------- */
.teams-sec { background: linear-gradient(180deg, transparent, color-mix(in srgb, #5b5fc7 6%, transparent) 30%, transparent); }
.sync-stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; max-width: 980px; margin: 56px auto 0; }
.sync-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-lg); display: grid; gap: 10px; position: relative;
}
.sync-card.ms { border-top: 4px solid #5b5fc7; }
.sync-card.sf { border-top: 4px solid var(--blue); }
.sync-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sync-head b { font-size: 15px; }
.sync-head em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-3); }
.sync-head img { border-radius: 6px; }
.ms-dot { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #7b83eb, #4b53bc); }
.sync-ev {
  position: relative; padding: 11px 14px 11px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 9%, #fff); display: grid; gap: 2px;
}
.sync-ev::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--c); }
.sync-ev b { font-size: 14.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.sync-ev span { font-size: 13px; color: var(--ink-3); }
.sync-ev .tag { font-style: normal; font-size: 11px; font-weight: 700; color: #4b53bc; background: color-mix(in srgb, #5b5fc7 16%, #fff); padding: 2px 8px; border-radius: 99px; }
.sync-ev .join {
  justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #7b83eb, #4b53bc); padding: 6px 12px; border-radius: 99px;
}
.sync-ev .join .ic { width: 15px; height: 15px; }
.sync-ev.moving { animation: sync-glow 3.2s var(--ease) infinite; }
@keyframes sync-glow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); } }
.sync-arrows { display: grid; justify-items: center; gap: 8px; color: #5b5fc7; }
.sync-arrows small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sync-pulse {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #7b83eb, var(--blue)); box-shadow: 0 12px 30px -8px rgba(75, 83, 188, .6);
  animation: sync-spin 6s linear infinite;
}
.sync-pulse .ic { width: 28px; height: 28px; animation: sync-counter 6s linear infinite; }
@keyframes sync-spin { 0% { box-shadow: 0 0 0 0 rgba(91, 95, 199, .35), 0 12px 30px -8px rgba(75, 83, 188, .6); } 50% { box-shadow: 0 0 0 16px rgba(91, 95, 199, 0), 0 12px 30px -8px rgba(75, 83, 188, .6); } 100% { box-shadow: 0 0 0 0 rgba(91, 95, 199, 0), 0 12px 30px -8px rgba(75, 83, 188, .6); } }
@keyframes sync-counter { 0%, 40% { transform: none; } 50%, 90% { transform: scaleX(-1); } 100% { transform: none; } }
.sync-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.sync-feats > div { display: flex; flex-direction: column; gap: 6px; }
.sync-feats .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: #5b5fc7; background: color-mix(in srgb, #5b5fc7 11%, #fff); margin-bottom: 8px; }
.sync-feats b { font-size: 16.5px; }
.sync-feats span { color: var(--ink-3); font-size: 15px; }

@media (max-width: 1080px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .sync-feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .strip-inner { grid-template-columns: 1fr; }
  .sync-stage { grid-template-columns: 1fr; gap: 18px; }
  .sync-arrows { grid-auto-flow: column; align-items: center; justify-content: center; gap: 12px; }
  .sync-pulse { width: 52px; height: 52px; transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .sync-feats { grid-template-columns: 1fr; margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sync-pulse, .sync-pulse .ic, .sync-ev.moving { animation: none; }
}
