/* laidfit.com. Light, minimal, the app's blue used sparingly. System font (SF Pro on Apple devices). Mobile first. */
:root {
  --bg: #fff;
  --alt: #f3f5f9;
  --ink: #0b0f17;
  --mut: #4b5567;
  --line: #e3e7ee;
  --blue: #2f6feb;
  --blue-d: #1f5ad1;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, 1080px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(227, 231, 238, .7); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { color: var(--ink); font-weight: 800; letter-spacing: -.02em; font-size: 21px; }
.logo:hover { text-decoration: none; }
.links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.links a { color: var(--ink); }
.links .hide-sm { display: none; }
.links .get { background: var(--ink); color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 600; }
.links .get:hover { text-decoration: none; background: #262c38; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.04; font-weight: 800; }
h1 { font-size: clamp(44px, 11.5vw, 88px); }
h2 { font-size: clamp(36px, 9vw, 68px); }
/* No lone word on a last line: headlines balance their lines, paragraphs and list items avoid a single-word last line. */
h1, h2, h3, summary { text-wrap: balance; }
p, li, figcaption, small { text-wrap: pretty; }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--blue); letter-spacing: .01em; margin-bottom: 14px; }
.lead { font-size: clamp(19px, 4.6vw, 24px); line-height: 1.4; color: var(--mut); max-width: 34ch; margin: 18px auto 0; font-weight: 500; letter-spacing: -.01em; }
.blue { color: var(--blue); }
.kicker { margin: 0 0 14px; font-size: clamp(19px, 4.8vw, 24px); font-weight: 700; color: var(--mut); letter-spacing: -.015em; }
.pill { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 18px; padding: 6px 13px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.pill svg { width: 13px; height: 16px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h3 { font-size: clamp(30px, 7vw, 44px); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--alt); }
.center { text-align: center; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.feature > * { min-width: 0; }
.feature .copy { text-align: center; }
.feature .copy .lead { margin-inline: auto; }
.points { list-style: none; padding: 0; margin: 26px auto 0; display: grid; gap: 12px; max-width: 30rem; text-align: left; }
.points li { position: relative; padding-left: 30px; color: var(--mut); }
.points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.points b { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 84px; text-align: center; }
.cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.badge img { height: 54px; width: auto; }
.badge:hover { opacity: .85; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
/* Primary button: our blue (hsl 220 82% 55%) as a soft vertical gradient (+/-8% lightness), a 1px light top edge
   and a blue-tinted shadow. Static: no hover or press effects. */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 999px; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.01em;
  background: var(--blue) linear-gradient(180deg, hsl(220 82% 63%), hsl(220 82% 47%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(31, 90, 209, .28), 0 8px 20px -6px rgba(47, 111, 235, .55); }
.btn:hover, .btn:active { text-decoration: none; }
.btn { -webkit-tap-highlight-color: transparent; } /* no grey tap flash on iPhone */
.band { padding: 72px 0; }
.band .cta { margin-top: 24px; }

/* ---------- how it works ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; text-align: left; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps .n { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 10px 0 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.steps p { margin: 6px 0 0; color: var(--mut); line-height: 1.45; }

/* ---------- comparison ---------- */
.cmp-wrap { margin: 40px auto 0; max-width: 860px; overflow-x: auto; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { font-size: 15px; font-weight: 700; line-height: 1.2; vertical-align: bottom; border-bottom-color: #cfd6e2; }
.cmp thead td { border-bottom-color: #cfd6e2; }
.cmp small { display: block; font-size: 12px; font-weight: 500; color: var(--mut); margin-top: 3px; }
.cmp tbody th { text-align: left; font-weight: 600; padding-left: 0; }
.cmp td { color: var(--mut); }
.cmp .us { background: rgba(47, 111, 235, .07); color: var(--ink); }
.cmp thead .us { color: var(--blue); font-size: 17px; border-radius: 14px 14px 0 0; }
.cmp tbody tr:last-child .us { border-radius: 0 0 14px 14px; }
.yes { color: var(--blue); font-weight: 800; font-size: 18px; }
.note { max-width: 760px; margin: 18px auto 0; font-size: 14px; color: var(--mut); }
#compare .cta { margin-top: 34px; }

/* ---------- pricing extras ---------- */
.tagline { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 0 0 20px; }
/* Pricing: Yearly | Monthly switch (two radio buttons, no script) and one card that follows it. */
.pricing { position: relative; max-width: 460px; margin: 40px auto 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); }
.seg label { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--mut); cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.seg .save { font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--blue); background: #e6eefd; padding: 3px 8px; border-radius: 999px; }
#bill-y:checked ~ .seg label[for=bill-y], #bill-m:checked ~ .seg label[for=bill-m] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 15, 23, .12); }
#bill-y:focus-visible ~ .seg label[for=bill-y], #bill-m:focus-visible ~ .seg label[for=bill-m] { outline: 3px solid var(--blue); outline-offset: 2px; }
#bill-y:checked ~ .price-card .m, #bill-m:checked ~ .price-card .y { display: none; }
.price-card { margin-top: 20px; background: #fff; border: 2px solid var(--blue); border-radius: var(--radius); padding: 30px 26px 28px; text-align: left; }
.price { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { font-size: 19px; font-weight: 600; color: var(--mut); letter-spacing: -.01em; }
.price-card .per { margin: 8px 0 0; color: var(--mut); }
.price-card .points { margin: 24px 0 0; max-width: none; }
.price-card .btn { display: flex; width: 100%; margin-top: 28px; }
.pricing .fine { margin-top: 18px; }
.fine { font-size: 15px; color: var(--mut); margin: 0; }
.hero .phone { margin-top: 52px; }
.hero .cta { margin-top: 30px; }

/* ---------- iPhone frame (screen 393 x 852 points: 54 status bar + the app) ---------- */
.phone, .pair { margin-block: 0; }
/* iPhone 17 Pro Max in Apple's product bezel (website/img/iphone-frame-*.webp, 1470 x 3000 at full size). The screen
   sits exactly in the bezel's opening: 1320 x 2868 at x 75, y 66, corner radius 193; the bezel draws the Dynamic Island. */
.phone { position: relative; width: min(76vw, 312px); aspect-ratio: 1470 / 3000; margin-inline: auto; }
.phone::before { content: ""; position: absolute; inset: 1.2% 3.5% .8% 3.5%; border-radius: 16% / 7.8%; box-shadow: 0 34px 50px -22px rgba(11, 15, 23, .42), 0 14px 26px -16px rgba(11, 15, 23, .28); }
.phone .bezel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; user-select: none; }
.screen { position: absolute; z-index: 1; left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%; border-radius: 14.62% / 6.73%; overflow: hidden; container-type: inline-size; background: #f3f5f9; }
.sb { position: relative; aspect-ratio: 393 / 54; display: flex; align-items: center; justify-content: space-between; padding: 0 7.5% 0 12.5%; color: var(--ink); font-weight: 600; font-size: 13px; font-size: 4.2cqw; letter-spacing: -.01em; }
.sb .isl { display: none; } /* the bezel has the Dynamic Island */
.sb svg { height: 12px; height: 3.1cqw; width: auto; }
/* App content (screenshot or video) fills the screen below the status bar (54 of 852 points). */
.screen > img, .screen > video { position: absolute; left: 0; top: 6.338%; width: 100%; height: 93.662%; object-fit: cover; object-position: top; }
/* Hero demo video: over its poster, a hair smaller (under a pixel) so the poster stays the page's main paint. */
.demo .screen { background: #eff1f5; } /* the recording's own background, so the status bar meets the video seamlessly */
.demo .screen > video { left: .1%; width: 99.8%; height: 93.5%; opacity: 0; transition: opacity .5s ease; }
.demo .screen > video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .demo .screen > video { display: none; } }
.screen::after { content: ""; position: absolute; z-index: 1; left: 32.5%; bottom: 1.1%; width: 35%; height: .55%; min-height: 4px; border-radius: 9px; background: rgba(11, 15, 23, .82); }
.pair { display: flex; justify-content: center; gap: 12px; }
.pair .phone { flex: none; width: calc((100% - 12px) / 2); max-width: 300px; margin: 0; }
.pair .phone:last-child { transform: translateY(8%); }

/* ---------- pricing ---------- */
.trial { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---------- maker ---------- */
.maker { max-width: 640px; margin-inline: auto; text-align: center; }
.maker .lead { margin-inline: auto; }
.ig { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; font-size: 18px; color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 12px 20px; border-radius: 999px; }
.ig:hover { text-decoration: none; border-color: #c9d0dc; }
.ig svg { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--mut); }

/* ---------- final CTA ---------- */
.final { text-align: center; }
.final .cta { margin-top: 32px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 46px; font-size: 14px; color: var(--mut); background: var(--bg); }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 18px; }
footer nav a { color: var(--ink); font-size: 15px; }
footer p { margin: 6px 0 0; }

/* ---------- documents (privacy, terms, support) ---------- */
.doc { width: min(100% - 40px, 720px); margin: 0 auto; padding: 48px 0 80px; }
.doc h1 { font-size: clamp(40px, 10vw, 60px); }
.doc .updated { color: var(--mut); font-size: 15px; margin: 14px 0 34px; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; line-height: 1.25; margin: 42px 0 12px; }
.doc p, .doc li { color: #2a3140; }
.doc ul { padding-left: 22px; }
.doc p a, .doc li a, .faq p a { text-decoration: underline; text-underline-offset: 2px; }
.doc li { margin: 8px 0; }
.callout { background: var(--alt); border-radius: 18px; padding: 20px 22px; margin: 26px 0; }
.mail { display: inline-block; font-size: clamp(22px, 6vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 18px; }
.doc .faq { margin-top: 14px; }

/* ---------- motion: gentle fade / slide in, only if the visitor allows motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv.d1 { transition-delay: .12s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cmp { font-size: 16px; }
  .cmp th, .cmp td { padding: 16px 14px; }
  .links .hide-sm { display: inline; }
  section { padding: 120px 0; }
}
@media (min-width: 960px) {
  .hero { padding-top: 84px; }
  .phone { width: 332px; }
  .hero .phone { width: 352px; }
  .hero { padding-bottom: 120px; }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .feature .copy { text-align: left; }
  .feature .copy .lead, .feature .points { margin-left: 0; }
  .feature.flip .copy { order: 2; }
  h2 { font-size: clamp(44px, 4.6vw, 60px); }
  .pair .phone { max-width: 292px; }
}
