/* The signed-out product page. It keeps its own dark palette whatever theme was last used. */
body:has(.landing) { overflow: auto; background: #0a101d; }

.landing {
  --ink: #f2f7fb;
  --muted: #a6b6cb;
  --muted-2: #7d8da6;
  --bg: #0a101d;
  --surface: #121c2c;
  --surface-2: #17233a;
  --surface-3: #202e47;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .17);
  --teal: #17b897;
  --orange: #ef8354;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 8% -5%, rgba(23, 184, 151, .17), transparent 65%),
    radial-gradient(800px 520px at 100% 8%, rgba(143, 122, 234, .15), transparent 65%),
    #0a101d;
}

.landing h1, .landing h2, .landing h3 { font-family: 'Space Grotesk', 'DM Sans', sans-serif; letter-spacing: -.04em; margin: 0; }
.landing em { font-style: normal; color: #4fe0c1; }
.landing button { color: inherit; }

.lp-nav, .lp-hero, .lp-section, .lp-final, .lp-footer { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.lp-nav { display: flex; align-items: center; gap: 28px; padding: 22px 0; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
.lp-nav nav { display: flex; gap: 4px; margin-left: auto; }
.lp-nav nav button { border: 0; background: none; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.lp-nav nav button:hover { color: var(--ink); background: var(--line); }
.lp-nav-cta { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 14px; }
.lp-nav-cta:hover { border-color: var(--teal); }

/* hero */
.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 420px);
  grid-template-areas: 'copy signin' 'stage signin';
  column-gap: 64px;
  align-items: start;
  padding: 34px 0 70px;
}
.lp-hero-copy { grid-area: copy; }
.lp-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #4fe0c1; }
.landing .lp-hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -.065em; }
.lp-hero h1 em { display: block; }
.lp-lead { max-width: 560px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.lp-more { margin: 18px 0 0; padding: 4px 0; border: 0; background: none; font-weight: 700; font-size: 14px; }
.landing .lp-more { color: #4fe0c1; }

.lp-signin { grid-area: signin; position: sticky; top: 24px; scroll-margin-top: 24px; }
.landing .auth-card { width: 100%; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(18, 28, 44, .82); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.landing .auth-brand { font-size: 22px; margin-bottom: 26px; }
.landing .auth-card h2 { margin: 0 0 10px; font-size: 28px; }
.landing .auth-card > p { margin-bottom: 22px; line-height: 1.55; }
.landing .sso-btn { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; width: 100%; min-height: 48px; margin: 0; }
.landing a.primary-btn { color: #062b31; }
.landing a.secondary-btn { color: var(--ink); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: var(--muted-2); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ''; height: 1px; flex: 1; background: var(--line); }
/* Google's sign-in button, dark theme. */
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid #8e918f; border-radius: 10px; background: #131314; color: #e3e3e3; font-weight: 600; font-size: 14px; text-decoration: none; }
.google-btn:hover { background: #1f1f20; }
.auth-new { display: grid; gap: 9px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.auth-new > span { color: var(--muted); font-size: 14px; }
.auth-new small { color: var(--muted-2); font-size: 12px; line-height: 1.5; }

/* the animated board */
.lp-stage { grid-area: stage; position: relative; margin-top: 46px; max-width: 700px; }
.lp-board { padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(15, 24, 40, .9); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75); }
.lp-board-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 700; font-size: 14px; }
.lp-board-dot { width: 11px; height: 11px; border-radius: 4px; background: var(--teal); }
.lp-avatars { display: flex; margin-left: auto; }
.lp-avatars i { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -7px; border: 2px solid #0f1828; border-radius: 50%; background: #a85274; font: 700 9px 'DM Sans', sans-serif; }
.lp-avatars i:nth-child(2) { background: #5470c6; }
.lp-avatars i:nth-child(3) { background: #b8763a; }
.lp-columns { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-column { min-height: 214px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .045); }
.lp-column > b { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.lp-card { height: 76px; margin-bottom: 9px; padding: 10px; overflow: hidden; border-radius: 10px; background: #1c2b44; font-size: 12px; line-height: 1.35; }
.lp-card s { display: block; width: 30px; height: 5px; margin-bottom: 8px; border-radius: 4px; text-decoration: none; }
.lp-card s.teal { background: #17b897; }
.lp-card s.violet { background: #8f7aea; }
.lp-card s.amber { background: #f0ba41; }
.lp-card s.blue { background: #5494f5; }
.lp-card s.green { background: #4ac67a; }
.lp-card em { display: block; margin-top: 5px; font-size: 10px; }
.landing .lp-card em { color: var(--orange); }
.lp-card.done { opacity: .62; }
.lp-card-slot { background: transparent; border: 1px dashed var(--line-strong); }
/* The moving card sits over the empty slot in "Doing" and slides into "Done". */
.lp-card-moving { position: absolute; top: 34px; left: calc((100% - 20px) / 3 + 20px); width: calc((100% - 20px) / 3 - 20px); border: 1px solid rgba(23, 184, 151, .55); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); animation: lp-move 7s cubic-bezier(.65, 0, .35, 1) infinite; }
.lp-progress { height: 4px; border-radius: 4px; background: var(--line-strong); }
.lp-progress span { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--teal); transform-origin: left; animation: lp-fill 7s linear infinite; }
@keyframes lp-move {
  0%, 38% { transform: translate(0, 0) rotate(0); opacity: 1; }
  47% { transform: translate(55%, 40px) rotate(4deg); opacity: 1; }
  56%, 90% { transform: translate(calc(100% + 30px), 170px) rotate(0); opacity: 1; }
  95% { transform: translate(calc(100% + 30px), 170px); opacity: 0; }
  96% { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes lp-fill { 0% { transform: scaleX(.25); } 12% { transform: scaleX(.5); } 24% { transform: scaleX(.75); } 36%, 100% { transform: scaleX(1); } }
.lp-column:nth-child(3) { min-height: 262px; }
.lp-chip { position: absolute; display: grid; gap: 3px; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(23, 35, 58, .96); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .85); animation: lp-float 6s ease-in-out infinite; }
.lp-chip small { color: var(--muted-2); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.lp-chip strong { font: 700 17px 'Space Grotesk', sans-serif; }
.lp-chip-one { right: -22px; top: -48px; }
.lp-chip-two { left: -18px; bottom: -22px; animation-delay: -3s; }
@keyframes lp-float { 50% { transform: translateY(-8px); } }

/* sections */
.lp-section { padding: 70px 0; scroll-margin-top: 10px; }
.landing .lp-section h2, .landing .lp-final h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }

.lp-tour { --progress: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 40px; }
.lp-tabs { display: grid; gap: 4px; }
.lp-tabs button { position: relative; display: grid; gap: 0; padding: 14px 16px 14px 20px; border: 0; border-radius: 14px; background: none; text-align: left; }
.lp-tabs button:hover { background: rgba(255, 255, 255, .035); }
.lp-tabs button[aria-selected='true'] { background: rgba(255, 255, 255, .06); }
.lp-tab-bar { position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
.lp-tabs button[aria-selected='true'] .lp-tab-bar i { display: block; width: 100%; height: 100%; background: var(--teal); transform-origin: top; transform: scaleY(var(--progress)); }
.lp-tab-name { font-weight: 700; font-size: 15px; color: var(--muted); }
.lp-tabs button[aria-selected='true'] .lp-tab-name { color: var(--ink); }
.lp-tab-text { display: none; padding-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.lp-tab-text strong { display: block; margin-bottom: 2px; color: var(--ink); }
.lp-tabs button[aria-selected='true'] .lp-tab-text { display: block; }
.lp-frame { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 90px -40px rgba(23, 184, 151, .5); }
.lp-frame-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.lp-frame-bar > span:first-child { display: flex; gap: 6px; }
.lp-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.lp-address { margin: 0 auto; padding: 3px 24px; border-radius: 7px; background: rgba(0, 0, 0, .28); color: var(--muted-2); font-size: 11px; }
.lp-shots { position: relative; aspect-ratio: 8 / 5; }
.lp-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transform: translateX(18px); transition: opacity .55s ease, transform .55s ease; }
.lp-shots img.active { opacity: 1; transform: none; }

.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-grid article, .lp-promises article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .028); }
.lp-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 11px; background: rgba(23, 184, 151, .14); color: #4fe0c1; font-size: 17px; }
.landing .lp-grid h3, .landing .lp-promises h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.02em; }
.lp-grid p, .lp-promises p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: center; }
.lp-steps { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: step; }
.lp-steps li { position: relative; display: grid; gap: 5px; padding-left: 58px; counter-increment: step; }
.lp-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(23, 184, 151, .45); border-radius: 12px; color: #4fe0c1; font: 700 17px 'Space Grotesk', sans-serif; }
.lp-steps strong { font-size: 17px; }
.lp-steps span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.lp-phone { margin: 0; text-align: center; }
.lp-phone img { display: block; width: 100%; height: auto; border: 6px solid #26344d; border-radius: 34px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.lp-phone figcaption { margin-top: 14px; color: var(--muted-2); font-size: 13px; }

.lp-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }

.lp-final { margin-top: 40px; margin-bottom: 40px; padding: 70px 24px; border: 1px solid var(--line); border-radius: 26px; text-align: center; background: linear-gradient(135deg, #0f1c30 0%, #12333b 60%, #14504a 100%); }
.lp-final .primary-btn { margin-top: 28px; padding: 14px 34px; }
.landing .lp-final .primary-btn { color: #062b31; }

.lp-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.lp-footer .lp-brand { color: var(--ink); font-size: 16px; }

.landing button:focus-visible, .landing a:focus-visible { outline: 2px solid #4fe0c1; outline-offset: 2px; }

@media (max-width: 1040px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-tour { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .lp-tabs button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; }
  .lp-tabs button[aria-selected='true'] { border-color: var(--teal); }
  .lp-tab-bar, .lp-tabs button[aria-selected='true'] .lp-tab-text { display: none; }
}

@media (max-width: 900px) {
  .lp-nav nav { display: none; }
  .lp-nav-cta { margin-left: auto; }
  .lp-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'signin' 'stage'; row-gap: 34px; padding-top: 12px; }
  .lp-signin { position: static; width: min(460px, 100%); justify-self: center; }
  .lp-stage { margin-top: 20px; width: 100%; justify-self: center; }
  .lp-split { grid-template-columns: minmax(0, 1fr); }
  .lp-phone { width: min(280px, 100%); justify-self: center; }
  .lp-promises { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .landing .auth-card { padding: 24px 20px; }
  .lp-chip { display: none; }
  .lp-board { padding: 10px; }
  .lp-columns { gap: 6px; }
  .lp-column { padding: 6px; }
  .lp-card { padding: 7px; font-size: 10px; }
  .lp-card-moving { left: calc((100% - 12px) / 3 + 12px); width: calc((100% - 12px) / 3 - 12px); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-card-moving, .lp-progress span, .lp-chip { animation: none; }
  .lp-shots img { transition: none; transform: none; }
  .lp-tabs button[aria-selected='true'] .lp-tab-bar i { transform: none; }
}
