/* Home page (2026-10-28 redesign): AuraWeb leads, the other apps and IT services follow.
   Builds on home.css (colour tokens, top bar, footer, FAQ, menu sheet, phone action bar). */

.lp {
  --wrap: 1200px;
  --sec-y: 64px;
  --r-card: 16px;
  --shadow-1: 0 1px 1px rgb(40 20 10 / calc(.06 * var(--shadow-k))), 0 2px 4px rgb(40 20 10 / calc(.06 * var(--shadow-k)));
  --shadow-3: 0 2px 4px rgb(40 20 10 / calc(.08 * var(--shadow-k))), 0 8px 16px rgb(40 20 10 / calc(.08 * var(--shadow-k))),
              0 24px 48px -8px rgb(40 20 10 / calc(.22 * var(--shadow-k)));
  --ok: #2f7d4f;
  --wait: #a05a00;
}
html[data-theme='dark'] .lp { --ok: #6fcf97; --wait: #f2b25c; }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .lp { --ok: #6fcf97; --wait: #f2b25c; } }
@media (min-width: 900px) { .lp { --sec-y: 96px; } }

.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- top bar: sticks, with a hairline once the page scrolls ---------- */
.lp .top {
  position: sticky; top: 0; padding-top: calc(env(safe-area-inset-top) + 12px); padding-bottom: 12px;
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.lp .top.scrolled { border-bottom-color: var(--line); }
.top-cta {
  display: none; height: 40px; padding: 0 18px; align-items: center; border-radius: 999px;
  background: var(--accent); color: var(--on-acc); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: filter .2s;
}
.top-cta:hover { filter: brightness(1.06); }
@media (min-width: 900px) {
  .lp #menuBtn { display: none; }
  .top-cta { display: inline-flex; }
}

/* ---------- buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  background: var(--accent); color: var(--on-acc);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22);
  transition: filter .2s, transform .2s var(--ease-out), border-color .2s, background .2s;
}
.lp-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.lp-btn:hover { filter: brightness(1.06); }
.lp-btn:hover svg { transform: translateX(2px); }
.lp-btn:active { transform: scale(.98); }
.lp-btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.lp-btn.ghost:hover { filter: none; border-color: var(--text); }

/* ---------- section heads ---------- */
.lp-sec { padding: var(--sec-y) 0; }
.lp-alt { background: var(--surface); border-block: 1px solid var(--line); }
.lp-head { margin-bottom: 40px; max-width: 640px; }
@media (min-width: 900px) { .lp-head { margin-bottom: 48px; } }
.lp-kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
.lp-head h2, .lp-contact h2 {
  margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; text-wrap: balance;
}
.lp-head p:not(.lp-kicker), .lp-contact p:not(.lp-kicker) { margin: 16px 0 0; color: var(--muted); font-size: 16px; max-width: 56ch; text-wrap: pretty; }
.lp-head a, .lp-fine a, .lp-cap a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.lp-head a:hover, .lp-fine a:hover, .lp-cap a:hover { text-decoration-color: var(--accent); }
.lp h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }

/* ---------- hero ---------- */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding: 32px 0 48px; }
.lp-hero::before {   /* the one glow on the page, behind the example websites */
  content: ""; position: absolute; z-index: -1; right: -10%; top: 0; width: 900px; height: 700px; max-width: 120%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 16%, transparent), transparent);
}
.lp-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .lp-hero { padding-top: 56px; }
  .lp-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
}
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px 4px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: color-mix(in oklab, var(--bg) 70%, transparent);
  font-size: 13px; color: var(--muted); transition: border-color .2s;
}
.lp-badge:hover { border-color: var(--text); }
.lp-badge img { width: 26px; height: 24px; object-fit: contain; }
.lp-badge b { color: var(--text); font-weight: 600; }
.lp-hero h1 {
  margin: 24px 0 0; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600;
  max-width: 12ch; text-wrap: balance;
}
.lp-hero h1 span { color: var(--accent); }
.lp-lede { margin: 20px 0 0; max-width: 48ch; color: var(--muted); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-proof { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.lp-proof li { display: flex; align-items: center; gap: 8px; }
.lp-proof svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 599px) {
  .lp-actions .lp-btn { flex: 1 1 100%; }
  .lp-lede { font-size: 16px; }
}

/* example websites: a browser window with a phone in front */
.lp-show { margin: 0; min-width: 0; }
.lp-stage { position: relative; padding: 0 0 40px; margin-right: 12px; }
@media (min-width: 1000px) { .lp-stage { margin-right: 32px; } }
.lp-browser {
  border-radius: 14px; overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-3);
}
.lp-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.lp-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex: none; }
.lp-url {
  margin-left: 12px; min-width: 0; flex: 1; max-width: 320px; height: 24px; padding: 0 10px; border-radius: 6px;
  display: flex; align-items: center; font: 12px var(--mono); color: var(--muted); background: var(--bg);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.lp-screen { display: block; aspect-ratio: 16 / 10; background: var(--bg); }
.lp-screen img, .lp-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .25s var(--ease-out); }
.lp-phone {
  position: absolute; right: -12px; bottom: 0; width: 24%; min-width: 92px; aspect-ratio: 390 / 844;
  border-radius: 20px; overflow: hidden; border: 5px solid #1a1411; background: #1a1411;
  box-shadow: var(--shadow-3);
}
@media (min-width: 1000px) { .lp-phone { right: -32px; border-radius: 26px; border-width: 6px; } }
.lp-show.is-fading .lp-screen img, .lp-show.is-fading .lp-phone img { opacity: 0; }

.lp-show figcaption { margin-top: 20px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips button {
  height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--muted);
  border: 1px solid var(--line-2); transition: color .2s, border-color .2s, background .2s;
}
.lp-chips button:hover { color: var(--text); border-color: var(--text); }
.lp-chips button[aria-pressed="true"] {
  color: var(--text); font-weight: 600; border-color: color-mix(in oklab, var(--accent) 60%, transparent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
}
.lp-cap { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- how it works ---------- */
.lp-steps { display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.lp-steps li { padding-top: 24px; border-top: 1px solid var(--line-2); }
.lp-n {
  display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; border-radius: 50%;
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, transparent);
}
.lp-steps h3 { font-size: 19px; }
.lp-steps p { margin: 8px 0 0; color: var(--muted); }

/* ---------- features ---------- */
.lp-feats { display: grid; gap: 24px 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .lp-feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-feats { grid-template-columns: repeat(4, 1fr); } }
.lp-feats li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-content: start; }
@media (min-width: 640px) { .lp-feats li { grid-template-columns: 1fr; gap: 12px; } }
.lp-feats svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-feats p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.lp-plans { display: grid; gap: 16px; }
@media (min-width: 700px) { .lp-plans { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .lp-plans { grid-template-columns: repeat(4, 1fr); } }
.lp-plan {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-card);
  background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.lp-plan h3 { font-size: 15px; font-weight: 500; color: var(--muted); }
.lp-amt { margin: 16px 0 0; font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lp-amt small { margin-left: 6px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.lp-amt small.pre { margin: 0 6px 0 0; }
.lp-year { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.lp-what { margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; flex: 1; }
.lp-custom { background: transparent; box-shadow: none; border-color: var(--line-2); }
.lp-fine { margin: 24px 0 0; max-width: 72ch; font-size: 14px; color: var(--muted); }

/* ---------- two-column sections (questions, IT services) ---------- */
.lp-split { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .lp-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .lp-split .lp-head { margin-bottom: 0; position: sticky; top: 104px; }
}
.lp .faq summary { font-size: 16px; }

/* ---------- other apps ---------- */
.lp-apps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .lp-apps { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .lp-apps { grid-template-columns: repeat(3, 1fr); } }
.lp-apps a {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px 16px; align-items: center; height: 100%;
  padding: 20px; border-radius: var(--r-card); border: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}
.lp-apps a:hover { background: var(--surface); border-color: var(--line-2); }
.lp-logo { width: 48px; height: 48px; display: grid; place-items: center; }
.lp-logo img { max-width: 48px; max-height: 48px; object-fit: contain; }
.lp-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.lp-app b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lp-app em {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px;
  font-style: normal; font-size: 12px; color: var(--muted); border: 1px solid var(--line-2);
}
.lp-app em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wait); }
.lp-app em.live::before { background: var(--ok); }
.lp-desc { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }

/* ---------- IT services ---------- */
.lp-serv { display: grid; gap: 0 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .lp-serv { grid-template-columns: repeat(2, 1fr); } }
.lp-serv li { padding: 20px 0; border-top: 1px solid var(--line); }
.lp-serv p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.lp-contact {
  display: grid; gap: 32px; padding: 32px 24px; border-radius: 24px;
  background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
@media (min-width: 900px) { .lp-contact { grid-template-columns: 1fr auto; align-items: end; padding: 48px; } }
.lp-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.lp-mail {
  font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -.02em; word-break: break-word;
  border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .2s;
}
.lp-mail:hover { border-color: var(--accent); }

/* ---------- menu sheet (links, not app buttons) ---------- */
.sheet-apps a {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0; min-height: 56px;
  font-size: 28px; font-weight: 600; letter-spacing: -.03em; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--i) * 40ms + 80ms);
}
.sheet.open .sheet-apps a { opacity: 1; transform: none; }
.sheet-apps a small { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* phones: home.css puts the theme toggle in the menu and pushes Sign in right */
/* footer lines up with the sections above */
.lp .foot-inner { max-width: var(--wrap); }
@media (max-width: 899px) {
  .lp .foot-inner { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-screen img, .lp-phone img, .sheet-apps a { transition: none; }
}
html.motion-off .rv { opacity: 1; transform: none; transition: none; }

/* =====================================================================
   App pages (PantrySum, Platewell, Home Kitchen): same layout as home,
   each app in its own colours (dark and light), with its own logo.
   ===================================================================== */
html[data-app='pantrysum'] { --bg: #071d17; --bg2: #11402f; --accent: #ff7a3d; --on-acc: #2a0e00; }
html[data-app='platewell'] { --bg: #05191b; --bg2: #0f3c3d; --accent: #ff6f7d; --on-acc: #2b0509; }
html[data-app='kitchen']   { --bg: #170f0c; --bg2: #3d2619; --accent: #b8e36a; --on-acc: #142003; }
html[data-app='pantrysum'][data-theme='light'] { --bg: #f2f7f3; --bg2: #cfe6d7; --accent: #b8400c; --on-acc: #fff7f2; }
html[data-app='platewell'][data-theme='light'] { --bg: #f0f7f6; --bg2: #cce6e2; --accent: #b4183a; --on-acc: #fff5f6; }
html[data-app='kitchen'][data-theme='light']   { --bg: #f8f3ee; --bg2: #ead8c6; --accent: #4a7410; --on-acc: #f8fff0; }
@media (prefers-color-scheme: light) {
  html[data-app='pantrysum']:not([data-theme]) { --bg: #f2f7f3; --bg2: #cfe6d7; --accent: #b8400c; --on-acc: #fff7f2; }
  html[data-app='platewell']:not([data-theme]) { --bg: #f0f7f6; --bg2: #cce6e2; --accent: #b4183a; --on-acc: #fff5f6; }
  html[data-app='kitchen']:not([data-theme])   { --bg: #f8f3ee; --bg2: #ead8c6; --accent: #4a7410; --on-acc: #f8fff0; }
}

/* header: the app's logo and name, "by AuraPier" underneath */
.lp-appbrand { gap: 10px; letter-spacing: 0; }
.lp-logo { width: 36px; height: 36px; flex: none; display: grid; place-items: center; }
.lp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lp-logo.sm { width: 24px; height: 24px; }
.lp-appname { display: grid; line-height: 1.15; }
.lp-appname b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.lp-appname small { font-size: 12px; color: var(--muted); font-weight: 400; }
.lp-appage .lp-hero::before { right: auto; left: 40%; }

/* the sample card beside the hero */
.lp-sample { margin: 0; min-width: 0; }
.lp-card {
  padding: 24px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-3);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1000px) { .lp-card { padding: 28px 32px; margin-left: 24px; } }
.lp-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lp-card-top b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.lp-card-top span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.lp-card-big { text-align: right; }
.lp-card-big b { color: var(--accent); font-size: 22px; }
.lp-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lp-row span { min-width: 0; }
.lp-row b { flex: none; font-weight: 600; }
.lp-row.sub { color: var(--muted); font-size: 14px; border-bottom: 0; }
.lp-row.total { padding-top: 16px; border-top: 2px solid var(--text); border-bottom: 0; font-size: 18px; }
.lp-row.total span, .lp-row.total b { font-weight: 600; }
.lp-row b.ok { color: var(--ok); }
.lp-sample figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 1000px) { .lp-sample figcaption { margin-left: 24px; } }

/* six features: three across on wide screens */
@media (min-width: 1000px) { .lp-feats-3 { grid-template-columns: repeat(3, 1fr); gap: 40px 48px; } }

/* contact form */
.lp-form { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
@media (min-width: 900px) { .lp-form { padding: 32px; } }
.lp-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.lp-form input, .lp-form textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
}
.lp-form textarea { resize: vertical; min-height: 120px; }
.lp-form input:focus, .lp-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
.lp-form .lp-btn { justify-self: start; }
.lp-form .lp-btn:disabled { opacity: .7; cursor: progress; }
.lp-form .lp-fine { margin: 0; font-size: 13px; }
.lp-form .lp-fine a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lp-form-err { margin: 0; min-height: 0; font-size: 14px; color: #c62828; }
.lp-form-err:empty { display: none; }
html[data-theme='dark'] .lp-form-err { color: #ff8a8a; }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .lp-form-err { color: #ff8a8a; } }
.lp-form-ok { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; background: color-mix(in oklab, var(--ok) 14%, transparent); border: 1px solid color-mix(in oklab, var(--ok) 35%, transparent); }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-mail-sm { font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.lp-contact .lp-fine { margin-top: 12px; font-size: 14px; }

/* footer: the other AuraPier apps */
.lp-others { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 16px 0 4px; padding: 0; list-style: none; }
.lp-others a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; color: var(--muted); transition: color .2s; }
.lp-others a:hover { color: var(--text); }
.lp-card .lp-row:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-badge { border-radius: 18px; }
.lp-appage .lp-badge { padding-left: 14px; }
