/* ===== シフパカ landing page =====
   Standalone: the app (app.html) loads style.css and never this file. Shares
   the app's palette so the screenshots-in-markup below actually look like the
   product. Every animation is disabled by the reduced-motion block at the end. */
:root {
  --bg: #f7f5ee;
  --card: #ffffff;
  --soft: #faf8f2;
  --line: #e2ddce;
  --line-strong: #cec7b0;
  --ink: #2b2a1f;
  --muted: #6d6a58;
  --faint: #9a9581;
  --primary: #4f7d3f;
  --primary-dark: #3a5e2e;
  --primary-soft: #e6efdf;
  --secondary: #cc7c17;
  --orange: #f49c2e;
  --danger: #b5564a;
  --off-bg: #f0ece1;
  --off-ink: #8a8371;
  --alp-green: #93C59F;
  --alp-teal: #98C6BA;
  --alp-amber: #F6BA7B;
  --alp-coral: #F19B80;
  --r-lg: 16px; --r-md: 12px; --r-sm: 9px;
  --shadow-md: 0 8px 24px rgba(45,38,20,.09), 0 2px 6px rgba(45,38,20,.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lp-loading { overflow: hidden; }
img { max-width: 100%; }

/* ---- loader ---- */
.lp-loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--bg); transition: opacity .55s ease, visibility .55s; }
.lp-loader.is-done { opacity: 0; visibility: hidden; }
.lp-loader-inner { text-align: center; width: min(260px, 68vw); }
.lp-loader-tile { width: 100%; aspect-ratio: 1; background: #fff; border-radius: 23%; box-shadow: 0 30px 60px -26px rgba(45,38,20,.4); position: relative; }
.lp-loader-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Pieces start scattered and snap home as the count climbs. */
.lp-loader-svg .ap { transform-box: fill-box; transform-origin: center; opacity: 0; transform: translateY(-22px) scale(.5) rotate(-12deg); transition: opacity .34s, transform .44s cubic-bezier(.34,1.56,.64,1); }
.lp-loader-svg .ap.is-in { opacity: 1; transform: none; }
.lp-loader-count { margin-top: 26px; font-size: 40px; font-weight: 900; letter-spacing: -.05em; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.lp-loader-count small { font-size: 18px; margin-left: 2px; color: var(--faint); }
.lp-loader-bar { margin-top: 14px; height: 4px; border-radius: 999px; background: var(--off-bg); overflow: hidden; }
.lp-loader-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--alp-green), var(--primary)); }

.lp-wash { position: absolute; inset: 0 0 auto; height: 700px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(620px 380px at 80% 10%, rgba(147,197,159,.30), transparent 68%),
    radial-gradient(520px 340px at 98% 44%, rgba(246,186,123,.24), transparent 70%),
    radial-gradient(440px 300px at 4% 2%, rgba(152,198,186,.22), transparent 72%); }

/* ---- buttons ---- */
.lp-btn { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; font-family: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s; }
.lp-btn-primary { background: var(--primary); color: #fff; }
.lp-btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.lp-btn-sm { padding: 10px 19px; font-size: 13px; }
.lp-btn-lg { padding: 16px 30px; font-size: 16px; box-shadow: 0 12px 26px rgba(79,125,63,.28); }
.lp-text-link { color: var(--primary-dark); font-size: 13px; font-weight: 700; text-decoration: none; }

/* ---- header ---- */
.lp-header { position: relative; z-index: 5; max-width: 1140px; margin: 0 auto; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; }
.lp-brand { display: flex; align-items: center; gap: 9px; color: var(--primary-dark); text-decoration: none; font-size: 21px; font-weight: 900; letter-spacing: -.04em; }
.lp-brand-icon { width: 36px; height: 36px; }
.lp-brand .accent { color: var(--secondary); }
.lp-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 700; }
.lp-nav a { color: var(--muted); text-decoration: none; }
.lp-nav a:hover { color: var(--primary-dark); }
.lp-nav .lp-btn-primary { color: #fff; }
.lp-menu-toggle { display: none; background: none; border: 0; font-size: 20px; color: var(--ink); cursor: pointer; }

/* ---- hero ---- */
.lp-hero { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 46px 26px 84px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; margin-bottom: 20px; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--primary-dark); }
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.lp-hero h1 { font-size: 48px; line-height: 1.24; letter-spacing: -.045em; font-weight: 900; }
.lp-hero h1 em { font-style: normal; color: var(--primary); }
.lp-lead { margin: 20px 0 24px; font-size: 15.5px; line-height: 1.85; color: var(--muted); }
.lp-merits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; margin-bottom: 30px; }
.lp-merits li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.lp-merits i { color: var(--primary); font-size: 14px; }
.lp-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.lp-hero-visual { display: flex; justify-content: center; }
.lp-alpaca-stage { position: relative; width: min(370px, 84vw); aspect-ratio: 1; perspective: 1100px; }
.lp-alpaca-tile { position: relative; width: 100%; height: 100%; border-radius: 23%; background: #fff;
  box-shadow: 0 40px 70px -28px rgba(45,38,20,.42), 0 4px 12px rgba(45,38,20,.08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .28s cubic-bezier(.22,1,.36,1);
  animation: lpFloat 7s ease-in-out 1.4s infinite; }
.lp-alpaca-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes lpFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.lp-alpaca-svg .ap { transform-box: fill-box; transform-origin: center; opacity: 0;
  animation: lpAssemble .7s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: calc(var(--i) * 65ms + 80ms); }
@keyframes lpAssemble { 0% { opacity: 0; transform: translateY(-24px) scale(.55) rotate(-13deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.lp-alpaca-svg .ap-eye { animation: lpAssemble .7s cubic-bezier(.34,1.56,.64,1) forwards, lpBlink 5.4s ease-in-out 2.2s infinite; }
@keyframes lpBlink { 0%,92%,100% { scale: 1 1; } 95% { scale: 1 .12; } }

.lp-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); font-size: 11px; white-space: nowrap; opacity: 0; animation: lpChipIn .55s cubic-bezier(.22,1,.36,1) forwards; z-index: 2; }
.lp-chip b { display: block; font-size: 11.5px; }
.lp-chip small { color: var(--faint); font-size: 10px; }
.lp-chip-a { top: 5%; left: -13%; animation-delay: 1.05s; } .lp-chip-a i { color: var(--primary); }
.lp-chip-b { bottom: 24%; right: -15%; animation-delay: 1.25s; } .lp-chip-b i { color: var(--secondary); }
.lp-chip-c { bottom: -2%; left: 3%; animation-delay: 1.45s; } .lp-chip-c i { color: var(--danger); }
@keyframes lpChipIn { from { opacity: 0; transform: translateY(12px) scale(.93); } to { opacity: 1; transform: none; } }

/* ---- sections ---- */
.lp-section { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 82px 26px; }
.lp-section-alt { max-width: none; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-section-alt > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.lp-kicker { font-size: 11px; font-weight: 900; letter-spacing: .18em; color: var(--orange); margin-bottom: 11px; }
.lp-heading { text-align: center; margin-bottom: 38px; }
.lp-heading h2 { font-size: 33px; line-height: 1.35; letter-spacing: -.04em; font-weight: 900; }
.lp-heading h2 span { color: var(--primary); }

/* ---- phone ---- */
.lp-tabs { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; margin-bottom: 34px; }
.lp-tab { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.lp-tab i { margin-right: 6px; }
.lp-tab:hover { border-color: var(--primary); color: var(--primary-dark); }
.lp-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(79,125,63,.26); }
.lp-phone-wrap { display: flex; justify-content: center; perspective: 1400px; }
.lp-phone { position: relative; width: 306px; padding: 11px; background: #23221c; border-radius: 40px; box-shadow: 0 40px 70px -26px rgba(45,38,20,.48); transform: rotateY(-8deg) rotateX(3deg); }
.lp-phone-notch { position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 94px; height: 19px; background: #23221c; border-radius: 0 0 13px 13px; z-index: 3; }
.lp-phone-screen { position: relative; height: 452px; background: #f4f1e7; border-radius: 30px; overflow: hidden; }
.lp-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .32s, transform .32s, visibility .32s; }
.lp-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.lp-panel-bar { display: flex; align-items: flex-end; justify-content: space-between; padding: 38px 16px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.lp-panel-bar b { font-size: 14px; }
.lp-panel-bar span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.lp-panel-body { padding: 13px; }
.lp-panel-btn { width: 100%; padding: 11px; border: 0; border-radius: var(--r-md); background: var(--primary); color: #fff; font-family: inherit; font-size: 12.5px; font-weight: 700; margin-top: 12px; }
.lp-panel-btn.accent { background: var(--secondary); margin: 0 0 12px; }
.lp-panel-btn i { margin-right: 5px; }
.lp-panel-ok { margin-top: 12px; padding: 9px; border-radius: var(--r-sm); background: var(--primary-soft); color: var(--primary-dark); font-size: 10.5px; font-weight: 700; text-align: center; }
.lp-panel-ok i { margin-right: 4px; }

/* 希望シフト入力 — mirrors .request-row in the app: date, three pills, times */
.lp-req { padding: 10px 11px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 7px; }
.lp-req-date { font-size: 12px; font-weight: 900; margin-bottom: 7px; }
.lp-req-pills { display: flex; gap: 5px; }
.lp-req-pills span { padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 9.5px; font-weight: 700; color: var(--faint); }
.lp-req-pills .on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); }
.lp-req-pills .off { background: var(--off-bg); border-color: var(--line-strong); color: var(--off-ink); }
.lp-req-time { margin-top: 8px; font-size: 11px; color: var(--muted); }
.lp-req-time em { font-style: normal; font-weight: 700; color: var(--ink); padding: 3px 7px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }

/* 自動作成 — mirrors .schedule-table: staff rows × date columns, 出勤人数 footer */
.lp-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.lp-table { border-collapse: collapse; width: 100%; font-size: 9.5px; }
.lp-table th, .lp-table td { border: 1px solid var(--line); padding: 4px 3px; text-align: center; white-space: nowrap; }
.lp-table thead th { background: var(--soft); font-size: 9.5px; color: var(--muted); }
.lp-table thead th small { display: block; font-size: 8px; color: var(--faint); font-weight: 400; }
.lp-table tbody th { background: var(--soft); font-size: 10px; text-align: left; padding-left: 6px; }
.lp-table tbody td { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; line-height: 1.3; }
.lp-table tbody td.off { background: #fff; color: var(--faint); font-weight: 400; }
.lp-table tfoot th, .lp-table tfoot td { background: var(--soft); font-size: 9.5px; color: var(--muted); font-weight: 700; }

/* 人件費 — mirrors .summary-bar chips + the budget gauge */
.lp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.lp-stat { padding: 11px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.lp-stat small { display: block; font-size: 9px; color: var(--faint); margin-bottom: 4px; }
.lp-stat b { font-size: 16px; letter-spacing: -.03em; }
.lp-stat.accent { background: var(--primary-soft); border-color: #bcd4ac; }
.lp-stat.accent b { color: var(--primary-dark); }
.lp-budget { margin-top: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.lp-budget-top { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--muted); margin-bottom: 9px; }
.lp-budget-top .ok { color: var(--primary); font-weight: 700; }
.lp-budget-bar { position: relative; height: 8px; border-radius: 999px; background: var(--off-bg); }
.lp-budget-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7da667, var(--primary)); }
.lp-budget-bar u { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--danger); border-radius: 2px; }
.lp-budget-note { margin-top: 9px; font-size: 9.5px; color: var(--primary-dark); font-weight: 700; }
.lp-budget-note i { margin-right: 4px; }

/* ---- features ---- */
.lp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.lp-feature-grid article { padding: 24px 21px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s; }
.lp-feature-grid article:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lp-fi { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; font-size: 18px; margin-bottom: 14px; }
.lp-fi.green { background: var(--alp-green); color: #2f5b3a; }
.lp-fi.amber { background: var(--alp-amber); color: #7a4a09; }
.lp-fi.coral { background: var(--alp-coral); color: #8d3c31; }
.lp-fi.teal  { background: var(--alp-teal);  color: #2f5b50; }
.lp-feature-grid h3 { font-size: 15px; margin-bottom: 8px; }
.lp-feature-grid p { font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* ---- steps ---- */
.lp-step-grid { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.lp-step-grid > div { position: relative; }
.lp-step-grid > div:not(:last-child)::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 32px; right: -18px; color: var(--line-strong); font-size: 14px; }
.lp-step-grid b { display: block; font-size: 11px; letter-spacing: .16em; color: var(--orange); }
.lp-step-grid i { display: grid; place-items: center; width: 52px; height: 52px; margin: 12px auto 0; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-size: 19px; }
.lp-step-grid h3 { margin: 14px 0 6px; font-size: 15px; }
.lp-step-grid p { color: var(--muted); font-size: 12px; line-height: 1.75; }

/* ---- faq ---- */
.lp-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 11px; }
.lp-faq details { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { color: var(--faint); font-size: 12px; transition: transform .22s; flex-shrink: 0; }
.lp-faq details[open] summary { color: var(--primary-dark); }
.lp-faq details[open] summary i { transform: rotate(180deg); }
.lp-faq p { padding: 0 20px 19px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.lp-faq p b { color: var(--ink); }

/* ---- cta / footer ---- */
.lp-cta { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; padding: 84px 26px; display: flex; align-items: center; gap: 42px; }
.lp-cta-icon { width: 138px; height: 138px; border-radius: 28px; box-shadow: 0 26px 48px -20px rgba(45,38,20,.45); animation: lpFloat 7s ease-in-out infinite; }
.lp-cta h2 { font-size: 31px; line-height: 1.4; letter-spacing: -.04em; font-weight: 900; margin-bottom: 12px; }
.lp-cta h2 em { font-style: normal; color: var(--primary); }
.lp-cta > div > p { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.lp-footer { border-top: 1px solid var(--line); max-width: 1140px; margin: 0 auto; padding: 22px 26px 30px; display: flex; justify-content: space-between; color: var(--faint); font-size: 10.5px; position: relative; z-index: 2; }
.lp-footer a { color: var(--muted); text-decoration: none; }

/* ---- conditions ---- */
.lp-cond-lead { margin-top: 16px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.lp-cond-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-cond-card { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.lp-cond-card h3 { font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.lp-cond-card h3 i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--primary-soft); color: var(--primary-dark); font-size: 14px; }
.lp-cond-card ul { list-style: none; display: grid; gap: 9px; }
.lp-cond-card li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.lp-cond-card li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--primary); font-size: 11px; }
.lp-cond-note { margin-top: 20px; text-align: center; font-size: 12.5px; color: var(--faint); }
.lp-cond-note i { color: var(--secondary); margin-right: 5px; }

/* ---- sticky CTA ---- */
body { padding-bottom: 86px; }
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 11px 20px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(45,38,20,.07);
  transform: translateY(102%); transition: transform .34s cubic-bezier(.22,1,.36,1); }
.lp-sticky.is-shown { transform: none; }
.lp-sticky-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.lp-sticky-copy b { display: block; font-size: 13.5px; }
.lp-sticky-copy small { color: var(--muted); font-size: 11.5px; }
.lp-sticky .lp-btn { padding: 13px 26px; font-size: 14.5px; flex-shrink: 0; }

.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.lp-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .lp-feature-grid { grid-template-columns: 1fr 1fr; }
  .lp-cond-cols { grid-template-columns: 1fr; }
  .lp-br-pc { display: none; }
}
@media (max-width: 760px) {
  .lp-header { padding: 15px 18px; }
  .lp-nav { display: none; position: absolute; top: 66px; left: 14px; right: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-md); flex-direction: column; gap: 14px; align-items: stretch; text-align: center; }
  .lp-nav.open { display: flex; }
  .lp-menu-toggle { display: block; }

  /* Alpaca first on a phone: it is the thing worth looking at, and stacking
     it under six lines of text buries it below the fold. */
  .lp-hero { display: flex; flex-direction: column; padding: 20px 18px 56px; }
  .lp-hero-visual { order: -1; margin: 0 0 34px; }
  /* 30px, not larger: at 34px "毎月のシフト作成を、" overruns a 390px screen. */
  .lp-hero h1 { font-size: 30px; }
  /* The first sentence runs 25 characters; sized against the viewport so it
     holds its own line rather than wrapping a word or two onto a third. */
  .lp-lead { white-space: nowrap; font-size: min(14px, 3.5vw); }
  .lp-merits { gap: 8px 12px; margin-bottom: 26px; }
  .lp-merits li { font-size: 12.5px; }

  /* Chips still overlap the tile — stacked under it they read as a list, not
     as a scene. They are kept out of one band instead: the eyes sit at 50-58%
     of the tile's height and the mouth at 59-68%, so the middle is reserved
     for the face and the chips take the corners above and below it. */
  .lp-alpaca-stage { width: min(240px, 62vw); margin: 0 auto; }
  .lp-chip { padding: 8px 11px; font-size: 10px; max-width: 172px; white-space: normal; }
  .lp-chip b { font-size: 10.5px; line-height: 1.35; }
  .lp-chip small { font-size: 9px; }
  .lp-chip-a { top: -7%; left: -24%; }              /* above the ears */
  .lp-chip-b { top: 25%; bottom: auto; right: -26%; } /* clears the eyes at 50% */
  .lp-chip-c { bottom: -7%; left: -18%; }           /* below the mouth at 68% */

  .lp-section { padding: 62px 18px; }
  .lp-heading h2 { font-size: 25px; }
  .lp-feature-grid { grid-template-columns: 1fr; }

  /* Three tabs on one row: shrink rather than wrap, so the row still reads as
     one control instead of a stack. */
  .lp-tabs { flex-wrap: nowrap; gap: 6px; }
  .lp-tab { padding: 9px 10px; font-size: 11.5px; white-space: nowrap; }
  .lp-tab i { margin-right: 4px; font-size: 10px; }

  /* Steps stay in one row too — the arrows between them only make sense
     left-to-right. */
  .lp-step-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lp-step-grid > div:not(:last-child)::after { top: 26px; right: -6px; font-size: 10px; }
  .lp-step-grid b { font-size: 9.5px; letter-spacing: .1em; }
  .lp-step-grid i { width: 40px; height: 40px; font-size: 15px; margin-top: 9px; }
  .lp-step-grid h3 { margin: 10px 0 4px; font-size: 12.5px; }
  .lp-step-grid p { font-size: 10.5px; line-height: 1.65; }

  /* Single sentences that look broken when split. Sized against the viewport
     rather than a fixed px value so they hold one line on a 320px phone as
     well as a 430px one. The CTA rule lives further down with the rest of
     .lp-cta — a second .lp-cta h2 here would be overridden by it. */
  .lp-cond .lp-heading h2 { white-space: nowrap; font-size: min(25px, 5.7vw); }

  .lp-cond-card { padding: 22px 19px; }
  .lp-cond-card li { font-size: 12.5px; }
  .lp-faq summary { padding: 15px 16px; font-size: 13.5px; }
  .lp-faq p { padding: 0 16px 17px; font-size: 12.5px; }
  .lp-cta { display: block; padding: 62px 18px; text-align: center; }
  .lp-cta-icon { width: 104px; height: 104px; margin-bottom: 24px; }
  .lp-cta h2 { white-space: nowrap; font-size: min(24px, 4.7vw); }
  /* 27 characters — same treatment as the heading above it. */
  .lp-cta > div > p { white-space: nowrap; font-size: min(13px, 3.25vw); }
  .lp-footer { padding: 18px; flex-wrap: wrap; gap: 8px; justify-content: center; text-align: center; }

  body { padding-bottom: 76px; }
  .lp-sticky { padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); }
  .lp-sticky-inner { gap: 10px; }
  .lp-sticky-copy b { font-size: 11.5px; }
  .lp-sticky-copy small { display: none; }
  .lp-sticky .lp-btn { padding: 11px 17px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-alpaca-svg .ap, .lp-alpaca-svg .ap-eye, .lp-chip, .lp-alpaca-tile, .lp-cta-icon { animation: none !important; opacity: 1 !important; transform: none !important; }
  .lp-alpaca-tile { transition: none; }
  .lp-reveal { opacity: 1 !important; transform: none !important; transition: none; }
  /* Still hides and shows — just without sliding. */
  .lp-sticky { transition: none; }
}
