/* Taylr landing v2 (copy draft). Sits on top of home.css and reuses its app components. */

.center { text-align: center; margin-inline: auto; }
.section-lead.center { max-width: 34em; }
.hl { color: var(--cobalt); }
.hero-title { font-size: clamp(46px, 6vw, 80px); }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 27em; }
.learning-icon .lucide { stroke-width: 2.6; }
.nav-login { margin-left: auto; }
.footer b { color: var(--text); font-weight: 600; }

/* ── Inside the app ── */
.inside { background: var(--taylr-ink); color: #fff; position: relative; overflow: hidden; }
.inside::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(47,91,255,.28), transparent); pointer-events: none; }
.inside .wrap { position: relative; }
.inside-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.inside-item { margin: 0; text-align: center; }
.inside-phone { width: 250px; margin: 0 auto; }
.inside-phone img { border-radius: 36px; }
.mini-preview { width: 266px; margin: 0 auto; text-align: left; gap: 10px; box-shadow: 0 30px 60px -30px #000; }
.mini-preview .preview-photo { height: 150px; }
.mini-preview .preview-title { font-size: 21px; }
.mini-preview .p-row .thumb { width: 42px; height: 42px; }
.inside-item figcaption { margin-top: 22px; color: var(--taylr-slate-300); font-size: 15px; line-height: 1.5; }
.inside-item figcaption b { display: block; color: #fff; font: 700 20px Sora, sans-serif; letter-spacing: -.04em; margin-bottom: 4px; }

/* ── Responsive ── */
@media (max-width: 1040px) {
  .inside-phone, .mini-preview { width: 220px; }
}
@media (max-width: 880px) {
  .inside-row { grid-template-columns: 1fr; gap: 48px; }
  .inside-phone, .mini-preview { width: 250px; }
}
@media (max-width: 560px) {
}
.notice[hidden] { display: none; }
.mini-preview .p-row { animation: none; }

/* ── Code-built app screens (sharp at any size). Values follow the v2 renderings. ── */
.aphone { position: relative; aspect-ratio: 300 / 640; border: 7px solid #161923; border-radius: 44px; overflow: hidden; background: var(--bg); color: var(--text); box-shadow: 0 22px 55px #0b102030; container-type: inline-size; margin: 0; }
.ap-in { font-size: 4.1cqw; height: 100%; position: relative; }
.aphone .lucide { width: 1.2em; height: 1.2em; }
.aphone p { margin: 0; }
.ap-status { display: flex; justify-content: space-between; align-items: center; padding: .9em 1.6em 0; font-weight: 600; font-size: 1em; height: 2.4em; }
.ap-island { width: 6.4em; height: 1.8em; border-radius: 1em; background: #07090D; }
.ap-icons { display: flex; align-items: center; gap: .3em; }
.ap-icons .lucide { width: 1em; height: 1em; stroke-width: 2.4; }
.ap-bat { width: 1.8em; height: .85em; border-radius: .25em; background: currentColor; }
.ap-top { display: flex; justify-content: space-between; align-items: center; padding: 1em 1.4em 0; }
.ap-mark { width: 2.5em; height: 2.5em; display: block; }
.ap-avatar { width: 2.6em; height: 2.6em; border-radius: 50%; background: center 20% / cover; }
.ap-h1 { margin: .8em 1.4em 0 !important; font: 700 1.75em/1.1 Sora, sans-serif; letter-spacing: -.045em; }
.ap-h1.mt { margin-top: 1.4em !important; }
.ap-date { margin: .2em 1.4em 0 !important; color: var(--muted); font-size: 1.05em; }
.ap-hero { position: relative; overflow: hidden; margin: 1.1em 1em 0; padding: 1.4em 1.4em 1.5em; border-radius: 1.6em; background: var(--taylr-cobalt-500); color: #fff; }
.ap-hero-deco { position: absolute; right: -2.6em; top: -2.2em; width: 11em; height: 11em; }
.ap-hero-deco rect { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.5); stroke-width: 1.2; stroke-dasharray: 3.5 3; stroke-linecap: round; }
.ap-kicker { font-size: 1em; opacity: .9; position: relative; }
.ap-title { margin-top: .35em !important; font: 700 1.9em/1.05 Sora, sans-serif; letter-spacing: -.045em; position: relative; }
.ap-meta { margin-top: .6em !important; font-size: 1.05em; opacity: .92; }
.ap-start { display: inline-flex; align-items: center; gap: .4em; margin-top: 1.1em; padding: .75em 1.2em; border-radius: 999px; background: #fff; color: var(--text); font-weight: 600; font-size: 1.05em; }
.ap-start .lucide { width: 1.1em; height: 1.1em; }
.ap-h2 { margin: .95em 1.4em .5em !important; font: 700 1.3em Sora, sans-serif; letter-spacing: -.04em; }
.ap-week { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 1em; }
.ap-week span { display: grid; justify-items: center; gap: .35em; font-size: .85em; color: var(--muted); }
.ap-week i { width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--taylr-slate-200); }
.ap-week .done i { background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.ap-week .done { color: var(--text); }
.ap-week .now i { background: #fff; box-shadow: inset 0 0 0 .15em var(--cobalt), inset 0 0 0 .45em #fff, inset 0 0 0 1.05em var(--cobalt); }
.ap-week .now { color: var(--cobalt); font-weight: 600; }
.ap-row { display: flex; align-items: center; gap: .9em; margin: 0 1.2em; padding: .45em 0; border-bottom: 1px solid var(--taylr-slate-200); }
.ap-row b { display: block; font-weight: 600; font-size: 1.1em; }
.ap-row small { display: block; font-size: .9em; color: var(--muted); }
.ap-row > .lucide { margin-left: auto; color: var(--muted); }
.ap-thumb { flex: none; width: 3.2em; height: 3.2em; border-radius: .9em; background: var(--taylr-slate-200) center 25% / cover no-repeat; }
.ap-thumb.sm { width: 2.8em; height: 2.8em; border-radius: .7em; }
.ap-thumb.lg { width: 5.4em; height: 5.4em; border-radius: 1em; }
.ap-tabs { position: absolute; left: 1em; right: 1em; bottom: 1.3em; display: flex; justify-content: space-between; padding: .4em; border-radius: 999px; background: var(--taylr-ink); color: #fff; }
.ap-tabs span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .15em; padding: .45em 0; border-radius: 999px; font-size: .8em; font-weight: 500; }
.ap-tabs .on { background: #fff; color: var(--text); }
.ap-tabs .lucide { width: 1.5em; height: 1.5em; }
/* Ink workout screens */
.aphone.dark { background: var(--taylr-ink); color: #fff; }
.ap-prog { display: flex; align-items: center; gap: .8em; padding: 1em 1.4em 0; font-size: .95em; color: var(--taylr-slate-200); }
.ap-bar { flex: 1; height: .32em; border-radius: 1em; background: var(--taylr-ink-600); overflow: hidden; }
.ap-bar i { display: block; height: 100%; border-radius: 1em; background: var(--cobalt); }
.ap-video { margin: 1em 1.1em 0; aspect-ratio: 4 / 3.1; border-radius: 1.4em; background: var(--taylr-ink-600) center 30% / cover no-repeat; }
.ap-move { margin-top: 1em !important; text-align: center; font: 700 1.6em Sora, sans-serif; letter-spacing: -.04em; }
.ap-move.big { margin-top: .9em !important; font-size: 1.75em; }
.ap-timer { text-align: center; font: 600 3.9em/1.1 Sora, sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ap-next { display: flex; align-items: center; gap: .8em; margin: .8em 1.1em 0; padding: .8em 1em; border-radius: 1em; background: var(--taylr-ink-800); box-shadow: inset 0 0 0 1px var(--taylr-ink-600); font-weight: 500; font-size: 1.05em; }
.ap-next > .lucide { margin-left: auto; color: var(--taylr-slate-300); }
.ap-pause { display: flex; align-items: center; justify-content: center; gap: .5em; margin: .8em 1.1em 0; padding: .9em; border-radius: 999px; background: var(--cobalt); font-weight: 600; font-size: 1.15em; }
.ap-two { display: grid; grid-template-columns: 1.55fr 1fr; gap: .5em; margin: .7em 1.1em 0; }
.ap-two span, .ap-skip { display: flex; align-items: center; justify-content: center; gap: .3em; padding: .8em .4em; border-radius: 999px; background: var(--taylr-ink-800); box-shadow: inset 0 0 0 1px var(--taylr-ink-600); font-weight: 500; font-size: .9em; }
.ap-two .lucide { width: 1.1em; height: 1.1em; }
.ap-skip { margin: .7em 1.1em 0; font-size: 1.05em; }
.ap-breath { width: 9em; height: 9em; margin: 2.2em auto 0; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, var(--taylr-cobalt-800), var(--taylr-ink-800) 72%); box-shadow: 0 0 0 1px var(--taylr-ink-600), 0 0 4em rgba(47,91,255,.35); }
.ap-breath .lucide { width: 3.8em; height: 3.8em; stroke-width: 1.4; }
/* Progress screen */
.ap-card { margin: 1em 1.1em 0; padding: 1.1em; border-radius: 1.4em; background: #fff; box-shadow: var(--shadow); }
.ap-stat { display: flex; align-items: center; gap: .9em; }
.ap-big { font: 700 5em/.9 Sora, sans-serif; color: var(--cobalt); letter-spacing: -.05em; }
.ap-stat b { display: block; font: 700 1.35em/1.1 Sora, sans-serif; letter-spacing: -.04em; }
.ap-stat small { display: block; margin-top: .3em; font-size: .9em; color: var(--muted); }
.ap-card .ap-week { padding: 0; margin-top: 1em; }
.ap-gain { display: flex; align-items: center; gap: 1em; margin-top: 0; }
.ap-gain b { display: block; font: 700 1.2em Sora, sans-serif; letter-spacing: -.04em; }
.ap-reps { display: flex; align-items: center; gap: .15em; font: 500 2.6em/1.1 Sora, sans-serif; letter-spacing: -.04em; }
.ap-reps .lucide { width: .6em; height: .6em; }
.ap-gain small { display: block; font-size: .9em; color: var(--muted); }
.ap-learn { margin: .8em 1.1em 0; padding: .8em; border-radius: 1.2em; background: #fff; box-shadow: var(--shadow); border-bottom: 0; }
.ap-spark { flex: none; width: 2.8em; height: 2.8em; border-radius: .8em; display: grid; place-items: center; background: var(--tint); color: var(--cobalt); }
.inside-phone.aphone { width: 260px; margin: 0 auto; }
@media (max-width: 1040px) { .inside-phone.aphone { width: 220px; } }
@media (max-width: 880px) { .inside-phone.aphone { width: 260px; } }
@media (max-width: 560px) { .float-learn { top: 0; } }

/* ── Phone layout pass (founder: mobile looked sloppy) ── */
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 34px; line-height: 1.05; }
  .section-lead { font-size: 16.5px; }
  /* One alignment everywhere on phones: left */
  .center, .section-title.center, .section-lead.center, .eyebrow.center { text-align: left; margin-inline: 0; }
  .inside-item, .inside-item figcaption { text-align: left; }

  /* Hero: photo full width, phone centred in front, no floating card */
  .hero { padding-top: 20px; }
  .hero-title { font-size: 46px; }
  .hero-visual { min-height: 0; height: 520px; margin-top: 8px; }
  .hero-photo { inset: 40px 0 70px 0; border-radius: 24px; background-position: 70% 60%; }
  .hero-phone { left: calc(50% - 115px); width: 230px; bottom: 0; }
  .float-learn { display: none; }
  .visual-note { margin-top: 10px; }

  /* Card rows stack and scroll down, tighter so the page stays short */
  .steps, .inside-row, .journey { display: grid !important; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .inside-row { gap: 36px; }
  .inside-phone.aphone, .mini-preview { width: 100%; max-width: 250px; margin: 0 auto; }
  .inside-item figcaption { text-align: center; }
  .step { padding: 18px 18px 22px; }
  .jstep { padding: 22px 18px 24px; }
  .jstep h3 { font-size: 21px; }

  .beta-facts { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14.5px; }
  .visual-note.left { text-align: left; }
  .progress-phone { width: 250px; transform: none; }
  .final { padding: 40px 24px; }
}

/* ── Phone notes round 2 ── */
@media (max-width: 560px) {
  /* 2 · Bigger, front-and-centre headline */
  .hero-title { font-size: clamp(52px, 15.5vw, 62px); line-height: .98; letter-spacing: -.055em; }
  /* 1 · Even lines */
  .hero-lead { text-wrap: balance; font-size: 17px; }
  /* 3 · Facts on one line */
  .hero .facts { flex-wrap: nowrap; gap: 14px; font-size: 13px; white-space: nowrap; margin-top: 22px; }
  .hero .facts li { gap: 5px; }
  .hero .facts .lucide { width: 15px; height: 15px; }
  /* 4 · Phone sits to the left; she stays visible on the right */
  .hero-visual { height: 470px; }
  .hero-photo { inset: 0 0 56px 64px; background-position: 82% 55%; }
  .hero-phone { left: 0; width: 186px; }
  /* 5 · Closing card: photo fills the top, cobalt fades in over it, words sit on the solid part */
  .final { display: block; min-height: 0; padding: 318px 0 32px; }
  .final-photo { position: absolute; inset: 0 0 auto 0; width: 100%; height: 360px; opacity: 1; -webkit-mask-image: none; mask-image: none; background-size: cover; background-position: 50% 24%; }
  .final-photo::after { content: ""; position: absolute; inset: 0 0 -2px 0; background: linear-gradient(to bottom, rgba(47,91,255,0) 0%, rgba(47,91,255,0) 66%, rgba(47,91,255,.6) 82%, var(--taylr-cobalt-500) 96%, var(--taylr-cobalt-500) 100%); }
  .final-copy { position: relative; padding: 0 24px; }
  .final-title { font-size: 32px; }
}
@media (max-width: 380px) { .hero .facts { font-size: 12px; gap: 10px; } .hero .facts .lucide { width: 13px; height: 13px; } }

/* ── Phone notes round 3 (2026-11-04): mobile only ── */
.m-only, .nav-menu-btn, .nav-menu { display: none; }
@media (max-width: 560px) {
  .d-only { display: none; }
  .m-only { display: inline; }

  /* Floating pill nav: stays at the top, light blur */
  .nav { top: max(10px, env(safe-area-inset-top)); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; padding: 10px 0 0; }
  .nav.scrolled { border-bottom: 0; }
  .nav-inner { position: relative; height: 56px; padding: 0 8px 0 18px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(11,16,32,.04), 0 8px 24px -12px rgba(11,16,32,.22); }
  .nav-logo img { height: 28px; }
  .nav-login { display: none; }
  .nav-menu-btn { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
  .nav-menu-btn .lucide { width: 24px; height: 24px; }
  .nav-menu:not([hidden]) { display: flex; flex-direction: column; gap: 8px; position: absolute; right: 0; top: calc(100% + 8px); width: min(240px, 100%); padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 16px 40px -16px rgba(11,16,32,.35); }
  .nav-menu .btn-p { min-height: 48px; justify-content: center; }
  .nav-menu-login { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; color: var(--cobalt-600); font-weight: 600; text-decoration: none; }
  .hero { padding-top: 28px; }

  /* Hero: centred */
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero .facts { justify-content: center; flex-wrap: wrap; row-gap: 8px; }


  /* Inside the app: room between the mockups and the words */
  .inside-item figcaption { margin-top: 36px; }

  .example-note { display: none; }
}

/* ── Phone notes round 4 (2026-11-04): mobile only ── */
@keyframes taylr-pulse { 0% { box-shadow: 0 0 0 0 rgba(47,91,255,.55); } 70% { box-shadow: 0 0 0 9px rgba(47,91,255,0); } 100% { box-shadow: 0 0 0 0 rgba(47,91,255,0); } }
@media (max-width: 560px) {
  .hero .fact-card, .hero-note { display: none; }
  /* Badge: flat text with a glowing, pulsing dot (no pill) */
  .hero .pill { background: none; box-shadow: none; padding: 0; color: var(--text); font-weight: 600; gap: 10px; }
  .hero .pill-dot { box-shadow: 0 0 0 0 rgba(47,91,255,.55); animation: taylr-pulse 2s ease-out infinite; }
}
@media (max-width: 560px) and (prefers-reduced-motion: reduce) { .hero .pill-dot { animation: none; box-shadow: 0 0 0 4px var(--sel); } }
