/* Palmview website */
:root {
  --ink: #10171c; --ink-2: #44515b; --muted: #6b7782; --line: #e3e8ec; --bg: #ffffff; --soft: #f4f8f8;
  --teal: #19c3b1; --teal-ink: #0b7a6f; --teal-bg: #e7f8f5; --night: #0d1a19;
  --radius: 16px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav .links { display: flex; gap: 24px; margin-left: auto; }
.nav .links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav .links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav .links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary, .nav .links a.btn.primary { background: linear-gradient(180deg, #1fcdb9 0%, #12a998 55%, #0d8f81 100%); color: #fff; text-shadow: 0 1px 1px rgba(3,60,53,.35); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 22px rgba(18,169,152,.42), 0 2px 6px rgba(11,122,111,.25); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn.primary:hover, .nav .links a.btn.primary:hover { transform: translateY(-1px); filter: brightness(1.06) saturate(1.08); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 30px rgba(18,169,152,.5), 0 3px 8px rgba(11,122,111,.28); color: #fff; }
.btn.primary:active { transform: translateY(0); }
.btn.primary .chrome-ic { width: 22px; height: 22px; flex: none; }
.btn.big { height: 58px; padding: 0 28px 0 22px; font-size: 18px; gap: 10px; }
.btn.ghost:hover { border-color: #c5ced4; }
.btn.teal { background: var(--teal-ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 85% 20%, #d4f6f1 0%, rgba(212,246,241,0) 60%), radial-gradient(60% 60% at 0% 100%, #eef7f6 0%, rgba(238,247,246,0) 70%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(16,60,56,.16) 1.1px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 80%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--teal-ink); background: var(--teal-bg); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -.04em; margin: 18px 0 18px; font-weight: 850; }
h1 em, h2 em { font-style: normal; color: var(--teal-ink); }
.lead { font-size: 20px; color: var(--ink-2); max-width: 34ch; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.hero .phone { justify-self: center; max-height: 560px; filter: drop-shadow(0 30px 50px rgba(12,60,55,.22)); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; } .hero .phone { max-height: 420px; } }

/* Sections */
section { padding: 88px 0; }
section.soft { background: var(--soft); }
section.night { background: radial-gradient(90% 80% at 10% 0%, #12423e 0%, var(--night) 60%); color: #e8f2f1; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
.night h2 em { color: #5fe3d4; }
.section-lead { font-size: 19px; color: var(--ink-2); max-width: 60ch; margin: 0 0 40px; }
.night .section-lead { color: #a9bdba; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-bg); color: var(--teal-ink); margin-bottom: 16px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

.shot { border-radius: 18px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 30px 80px rgba(16,40,38,.18); border: 1px solid var(--line); margin-top: 48px; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; grid-template-rows: auto; } .gallery img:first-child { grid-row: auto; } }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 36px; padding: 0; list-style: none; color: #cfe1de; font-size: 15px; }
.ticks li::before { content: "✓"; color: #5fe3d4; font-weight: 800; margin-right: 8px; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: #fff; }
.plan.pro { border: 2px solid var(--teal-ink); box-shadow: 0 20px 50px rgba(11,122,111,.12); }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 44px; font-weight: 850; letter-spacing: -.03em; margin: 8px 0 2px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { padding: 0; margin: 20px 0 24px; list-style: none; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--ink-2); font-size: 16px; border-top: 1px solid #f0f3f5; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 14px; height: 8px; border-left: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(-45deg); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--teal-ink); font-weight: 800; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* Plain pages */
.page { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); }
.page h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -.01em; }
.page p, .page li { color: var(--ink-2); }
.note { background: var(--teal-bg); border-radius: 12px; padding: 16px 18px; color: var(--ink-2); }
.steps { counter-reset: s; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
form.survey label { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; cursor: pointer; }
form.survey label:has(input:checked) { border-color: var(--teal-ink); background: var(--teal-bg); }
form.survey textarea { width: 100%; min-height: 110px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; margin: 10px 0 16px; }
input[type=radio] { accent-color: var(--teal-ink); }

footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { color: var(--ink-2); text-decoration: none; }

/* Live demo */
section.demo { padding: 72px 0 88px; position: relative; background: linear-gradient(180deg, #fff 0%, #f4f8f8 100%); }
section.demo::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(16,60,56,.12) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.demo-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: 56px; align-items: center; }
.demo-copy h2 { margin-top: 14px; }
.demo-copy .section-lead { margin-bottom: 28px; }
.demo-frame { display: block; width: 100%; height: clamp(560px, calc(100vh - 120px), 900px); border: 0; background: transparent; }
.demo-controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.dc-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dc-group button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.dc-group button:hover { border-color: #b9c4cb; color: var(--ink); }
.dc-group button.on { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.dc-group button:disabled { opacity: .4; cursor: default; }
.dc-tabs span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.dc-tabs button { height: 34px; padding: 0 13px; font-size: 14px; }
.demo-readout { display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(16,40,38,.06); min-width: 280px; }
.dr-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dr-size { font-size: 34px; font-weight: 850; letter-spacing: -.02em; color: var(--teal-ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.dr-size.pulse { animation: drpulse .5s ease; }
@keyframes drpulse { 0% { transform: scale(1.06); } 100% { transform: none; } }
.dr-note { font-size: 14px; color: var(--ink-2); }
.demo-hint { font-weight: 600; color: var(--teal-ink); transition: opacity .4s; }
.demo-hint.done { opacity: .45; }
@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  .demo-copy { text-align: center; }
  .demo-controls, .dc-group { align-items: center; justify-content: center; }
  .demo-frame { max-width: 480px; margin: 0 auto; height: clamp(520px, calc(100vh - 100px), 820px); }
}

/* Everything in the box */
.lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 18px; }
.list h3 { margin: 0 0 12px; font-size: 18px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.list h3 .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-bg); color: var(--teal-ink); flex: none; }
.list ul { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 8px 0 8px 26px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; border-top: 1px solid #f0f3f5; }
.list li:first-child { border-top: 0; }
.list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(-45deg); }
.list li b { color: var(--ink); font-weight: 650; }
.pro-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--teal-ink); padding: 2px 7px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.cta-band { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; text-align: center; }
.cta-band p { margin: 0; color: var(--muted); font-size: 14px; flex-basis: 100%; }
@media (max-width: 960px) { .lists { grid-template-columns: 1fr; } }
