:root {
  --ocean-top: #1b6e8c;
  --ocean-deep: #0a1f3a;
  --kelp: #2e8b3a;
  --kelp-light: #8fd45a;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #15202b;
  --muted: #5b6673;
  --line: #e3e7ec;
  --radius: 18px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1520;
    --surface: #152131;
    --text: #e8eef4;
    --muted: #9aa8b6;
    --line: #233245;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--kelp); }
a:hover { color: var(--kelp-light); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--ocean-deep) 82%, transparent);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 30px; height: 30px; }
.site-header nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.site-header nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: #fff; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--kelp); color: #fff; border: 1px solid transparent; transition: transform .15s, background .15s;
}
.button:hover { background: #379a44; color: #fff; transform: translateY(-1px); }
.button.secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.button.secondary:hover { background: rgba(255, 255, 255, .1); }
.button.small { padding: 7px 16px; font-size: 14px; }
/* Before launch: looks like a button but does nothing. */
.button.soon, .button.soon:hover { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .25);
  cursor: default; transform: none; }
.plan .button.soon, .plan .button.soon:hover, .plan .button.ghost.soon, .plan .button.ghost.soon:hover { background: var(--line); color: var(--muted); border-color: transparent; }
.hero .fineprint a { color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(180deg, var(--ocean-top) 0%, var(--ocean-deep) 78%);
  padding: 72px 0 0;
}
.hero-icon { width: 112px; height: 112px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 20px auto 16px; max-width: 760px; letter-spacing: -.02em; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { font-size: 14px; color: rgba(255, 255, 255, .62); margin: 14px 0 0; }
.hero .shot { position: relative; margin: 48px auto 0; max-width: 960px; }
.hero .shot img {
  display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
}
/* Before/after slider */
.compare { position: relative; margin: 48px auto 0; max-width: 960px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1); user-select: none; }
.compare img { display: block; width: 100%; height: auto; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .before img { width: 100%; height: auto; }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .35); pointer-events: none; }
.compare .divider span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1f3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.compare .divider .handle { pointer-events: auto; cursor: ew-resize; touch-action: none; }
.compare:has(input:focus-visible) .divider .handle { outline: 3px solid var(--kelp-light); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Numbered tool hints on the "With Kelp" image; the before layer covers them as it slides over. */
.hotspots { list-style: none; margin: 0; padding: 0; }
.spot { position: absolute; transform: translate(-50%, -50%); }
.spot button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: var(--kelp); color: #fff;
  font: 700 14px/1 -apple-system, BlinkMacSystemFont, sans-serif; cursor: help; padding: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35); animation: pulse 2.4s ease-out infinite; }
.spot button:focus-visible { outline: 3px solid var(--kelp-light); outline-offset: 2px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143, 212, 90, .7), 0 3px 10px rgba(0, 0, 0, .35); }
  70% { box-shadow: 0 0 0 10px rgba(143, 212, 90, 0), 0 3px 10px rgba(0, 0, 0, .35); } 100% { box-shadow: 0 3px 10px rgba(0, 0, 0, .35); } }
@media (prefers-reduced-motion: reduce) { .spot button { animation: none; } }
.spot .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 240px;
  padding: 10px 12px; border-radius: 10px; background: rgba(10, 31, 58, .96); color: #fff; font-size: 13.5px; line-height: 1.45;
  text-align: left; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 3; }
.spot .tip kbd { font: 600 11.5px/1 -apple-system, BlinkMacSystemFont, sans-serif; padding: 2px 6px; border-radius: 5px;
  background: rgba(255, 255, 255, .16); margin-left: 4px; }
.spot.right .tip { left: auto; right: -8px; transform: none; }
.spot.below .tip { bottom: auto; top: calc(100% + 10px); }
.spot:hover .tip, .spot:focus-within .tip, .spot.open .tip { opacity: 1; visibility: visible; }
.spot:hover, .spot:focus-within, .spot.open { z-index: 2; }
.compare .tag { position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(10, 31, 58, .78); color: #fff; pointer-events: none; }
.compare .tag-before { left: 14px; }
.compare .tag-after { right: 14px; background: var(--kelp); }
.compare-hint { color: rgba(255, 255, 255, .65); font-size: 14px; margin: 14px 0 44px; }
.hint-narrow { display: none; }
.legend { display: none; text-align: left; color: rgba(255, 255, 255, .85); font-size: 14.5px; margin: 0 0 40px; padding-left: 26px; }
.legend li { margin: 9px 0; padding-left: 4px; }
.legend .desc { display: block; color: rgba(255, 255, 255, .72); }
.legend li::marker { color: var(--kelp-light); font-weight: 700; }
.legend kbd { font: 600 11.5px/1 -apple-system, BlinkMacSystemFont, sans-serif; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .16); }

.editor-section .editor-shot { display: block; width: 100%; max-width: 960px; height: auto; margin: 0 auto; border-radius: 12px;
  box-shadow: 0 24px 60px rgba(10, 31, 58, .22), 0 0 0 1px var(--line); }

.fronds { position: absolute; bottom: 0; width: 260px; opacity: .22; pointer-events: none; }
.fronds.left { left: -30px; }
.fronds.right { right: -30px; transform: scaleX(-1); }

/* Sections */
section { padding: 84px 0; }
section h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; text-align: center; }
section .sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 44px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .glyph {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--kelp) 14%, transparent); color: var(--kelp);
}
.feature .glyph svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(10, 31, 58, .18); }
.split h2, .split .sub { text-align: left; margin-left: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--kelp) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat; }

.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.alt .plan { background: var(--bg); }
.plan.featured { border: 2px solid var(--kelp); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 44px; font-weight: 800; margin: 10px 0 0; letter-spacing: -.02em; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .note { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.plan ul { padding-left: 20px; margin: 0 0 24px; color: var(--text); flex: 1; }
.plan li { margin: 6px 0; }
.plan .button { width: 100%; }
.plan .button.ghost { background: transparent; color: var(--kelp); border-color: var(--kelp); }
.plan .button.ghost:hover { background: color-mix(in srgb, var(--kelp) 10%, transparent); }
.pricing-foot { text-align: center; color: var(--muted); font-size: 15px; margin-top: 26px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { background: var(--ocean-deep); color: rgba(255, 255, 255, .7); padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; letter-spacing: -.015em; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }

@media (max-width: 760px) {
  .compare .tag { bottom: 8px; font-size: 11px; padding: 3px 9px; }
  .compare .tag-before { left: 8px; }
  .compare .tag-after { right: 8px; }
  .compare .divider span { width: 34px; height: 34px; margin: -17px 0 0 -17px; background-size: 18px; }
  /* Phones: the numbers stay on the image and the key below explains them; pop-ups would cover it. */
  .spot button { width: 20px; height: 20px; font-size: 11px; border-width: 1.5px; pointer-events: none; animation: none; }
  .spot .tip { display: none; }
  .compare-hint { margin-bottom: 18px; }
  .legend { display: block; }
  .hint-wide { display: none; }
  .hint-narrow { display: inline; }
  .site-header nav a:not(.button) { display: none; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split h2, .split .sub { text-align: center; }
  section { padding: 64px 0; }
  .hero { padding-top: 52px; }
  .fronds { display: none; }
}
