/* Kashui landing: the app's own palette and type. Mint glows and arcs like
   the app's banners, the deep brand green for type, the action green for
   buttons. Light only, like the app. */
:root {
  --brand: #0b4f34;
  --action: #3bb273;
  --action-press: #2f9a61;
  --ink: #12201a;
  --muted: #56645c;
  --line: #dfe9e3;
  --page: #f6faf8;
  --surface: #ffffff;
  --mint: #ddf4e8;
  --mint-soft: #ecf8f1;
  --pro: #6d28d9;
  --pro-soft: #f1ebfd;
  --font-display: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-display); color: var(--brand); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
p { margin: 0; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 780px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action-press);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--action);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--action-press); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.btn-small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-ghost { background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--mint-soft); }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(246, 250, 248, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(11, 79, 52, 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--brand); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 420px at 88% 8%, rgba(180, 235, 205, 0.85), transparent 70%),
    radial-gradient(460px 380px at 4% 40%, rgba(207, 242, 222, 0.8), transparent 70%),
    radial-gradient(circle at 96% 10%, rgba(255, 255, 255, 0.35) 0 230px, transparent 231px),
    linear-gradient(180deg, #ddf4e8 0%, #eaf7f0 60%, var(--page) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  padding-block: 72px 56px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
h1 { font-size: clamp(42px, 6.6vw, 72px); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; }
h1 span { color: var(--action-press); }
.lead { font-size: 19px; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 14px; color: var(--muted); }

.phone {
  margin: 0;
  border-radius: 38px;
  padding: 7px;
  background: #1b2320;
  box-shadow: 0 30px 60px -20px rgba(1, 46, 38, 0.35), 0 8px 18px rgba(1, 46, 38, 0.12);
}
.phone img { border-radius: 31px; width: 100%; height: auto; }
.hero-visual { position: relative; height: 650px; }
.hero-visual .phone { position: absolute; width: 258px; }
.phone-front { right: 32%; top: 0; z-index: 2; }
.phone-back { right: 0; top: 64px; transform: rotate(5deg); opacity: 0.96; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 22px; }
.strip p { font-size: 15px; color: var(--muted); text-align: center; }
.strip strong { color: var(--brand); font-weight: 600; }

/* Sections */
.section { padding-block: 88px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.section-lead { color: var(--muted); font-size: 17px; }

.icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--action-press);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature .icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--mint-soft); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

.screens { background: linear-gradient(180deg, var(--page), var(--mint-soft)); }
.screens-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 900px; margin: 0 auto; }
.screens-row .phone { display: flex; flex-direction: column; }
.screens-row figcaption {
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 0 4px;
}

/* Pro */
.pro .eyebrow { color: var(--pro); }
.pro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; }
.benefits .icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--pro-soft); stroke: var(--pro); }
.benefits p { color: var(--muted); font-size: 15px; }

.pricing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 50px -30px rgba(11, 79, 52, 0.35);
}
.currency-switch { align-self: center; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mint-soft); }
.currency-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.currency-switch button[aria-pressed='true'] { background: var(--surface); color: var(--brand); box-shadow: 0 1px 4px rgba(11, 79, 52, 0.15); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-best { border-color: var(--action); background: var(--mint-soft); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}
.plan h3 { font-size: 15px; color: var(--muted); font-weight: 700; }
.price { font-family: var(--font-display); font-weight: 900; font-size: 30px; color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.plan-note { font-size: 13px; color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); text-align: center; }

/* Security */
.security { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.mascot { width: 100%; height: auto; max-width: 300px; margin: 0 auto; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.checks li {
  position: relative;
  padding-left: 38px;
  color: var(--muted);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3L17 9' fill='none' stroke='%230b4f34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checks strong { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq { background: var(--surface); border-block: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { color: var(--muted); padding-bottom: 20px; max-width: 64ch; }

/* Closing call to action */
.cta { padding-block: 88px; }
.cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #ddf4e8, #c9eedb);
  border-radius: 32px;
  padding-block: 28px;
}
.cta-inner img { width: 120px; height: auto; }
.cta-inner p { color: var(--muted); margin-top: 6px; }

/* Footer */
.footer { padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--brand); }
.copy { font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 48px 24px; }
  .hero-visual { height: 540px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-visual .phone { width: 210px; }
  .phone-front { right: auto; left: 0; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-grid, .security { grid-template-columns: 1fr; }
  .mascot { max-width: 200px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 620px) {
  .section, .cta { padding-block: 64px; }
  .features { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; gap: 8px; }
  .screens-row { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; gap: 16px; }
  .screens-row .phone { scroll-snap-align: center; }
  .hero-visual { height: 470px; }
  .hero-visual .phone { width: 180px; }
  .phone-back { top: 48px; }
  .lead { font-size: 17px; }
}
@media (max-width: 440px) {
  .plans { grid-template-columns: 1fr; gap: 18px; }
  .pricing { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, summary::after { transition: none; }
}
