:root {
  --navy: #0f2438;
  --navy-light: #16344f;
  --navy-deep: #081521;
  --teal: #1fa998;
  --teal-dark: #178a7c;
  --coral: #ef6a55;
  --coral-dark: #d6543f;
  --sand: #f6f4ee;
  --paper: #fbfaf7;
  --ink: #1c2b36;
  --muted: #5c6b76;
  --border: #e2e0d6;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(15, 36, 56, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 36, 56, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site {
  background: #fff;
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand .logo {
  display: block;
  height: 28px;
  width: auto;
}

nav.links {
  display: flex;
  gap: 30px;
}

nav.links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

nav.links a:hover, nav.links a.active {
  color: var(--navy);
  text-decoration: none;
  border-bottom-color: var(--teal);
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-light); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); text-decoration: none; }

.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

/* ---------- Hero ---------- */

.hero {
  background: var(--sand);
  padding: 64px 0 56px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(31,169,152,0.1);
  border: 1px solid rgba(31,169,152,0.3);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero h1 .line-ink { display: block; color: var(--ink); }
.hero h1 .line-accent { display: block; color: var(--teal-dark); }

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 28px;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.hero .fineprint {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.hero-visual .blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(31,169,152,0.25), transparent 60%),
              radial-gradient(circle at 75% 70%, rgba(239,106,85,0.18), transparent 55%);
  border-radius: 32px;
}

.hero-visual .panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .panel img { width: 200px; height: auto; }

.hero-visual .chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-visual .chip.chip-1 { top: 8%; left: -4%; }
.hero-visual .chip.chip-2 { bottom: 10%; right: -6%; }

.hero-visual .chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Trust strip ---------- */

.strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
}

.strip .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.strip .stat b {
  display: block;
  font-size: 1.6rem;
  color: var(--navy);
}

.strip .stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Sections ---------- */

main { padding: 68px 0; }

main > .wrap > section { margin-top: 88px; }
main > .wrap > section:first-child { margin-top: 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: block;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- Feature rows (Krystal-style alternating) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.feature-row.reverse { grid-template-columns: 1.15fr 0.85fr; }

.feature-icon {
  border-radius: 24px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
}

.feature-copy h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.feature-copy p.intro {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 1.02rem;
}

.feature-copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.feature-copy li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.96rem;
}

.feature-copy li .tick {
  color: var(--teal-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(31,169,152,0.12);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Quick plan cards (homepage) ---------- */

.quick-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quick-plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.quick-plan.featured { border-color: var(--teal); }

.ribbon-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.quick-plan .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(31,169,152,0.12);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 6px auto 14px;
}

.quick-plan h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.quick-plan .best-for {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.quick-plan .price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.quick-plan .price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Founder note ---------- */

.founder-note {
  background: var(--sand);
  border-radius: 20px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: flex-start;
}

.founder-note .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.founder-note p {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.6;
}

.founder-note .sign {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--teal-dark);
  font-weight: 400;
}

.faq details[open] summary::after { content: "\2212"; }

.faq p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.cta-banner p {
  color: #b9cbd6;
  margin: 0 0 24px;
}

/* ---------- Pricing page ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plan.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(31,169,152,0.18);
  position: relative;
}

.plan.featured .ribbon {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.plan h3 {
  margin: 6px 0 4px;
  font-size: 1.15rem;
}

.plan .trial {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--coral-dark);
  background: rgba(239,106,85,0.12);
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.plan .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.plan .price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.plan .best-for {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.plan ul li {
  padding: 7px 0;
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.plan ul li:first-child { border-top: none; }

.plan ul li b { color: var(--navy); font-weight: 600; }

.plan .btn { text-align: center; }

.addons-note {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Compare plans table ---------- */

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.compare-table th, .compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  text-align: center;
}

.compare-table td:first-child, .compare-table th:first-child {
  text-align: left;
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table thead th {
  padding-top: 22px;
  padding-bottom: 6px;
  border-bottom: none;
}

.compare-table thead th:first-child { background: transparent; }

.compare-table thead .plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.compare-table thead .badge-pop {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.compare-table .trial-row td {
  padding: 4px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table .trial-row .trial-chip {
  display: inline-block;
  background: rgba(239,106,85,0.12);
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
}

.compare-table col.featured-col, .compare-table td.featured-col, .compare-table th.featured-col {
  background: rgba(31,169,152,0.06);
}

.compare-table .tick { color: var(--teal-dark); font-weight: 700; }
.compare-table .dash { color: var(--border); }

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table .cta-row td {
  padding-top: 20px;
  padding-bottom: 22px;
}

/* ---------- Add-ons table ---------- */

.addons-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.addons-table th, .addons-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

.addons-table th {
  background: var(--sand);
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.addons-table tr:last-child td { border-bottom: none; }

.addons-table td.price { color: var(--navy); font-weight: 700; white-space: nowrap; }
.addons-table td.note { color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info .item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info .item .icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(31,169,152,0.12);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info .item h4 {
  margin: 0 0 3px;
  font-size: 0.98rem;
}

.contact-info .item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

form.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

form.contact-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--navy);
}

form.contact-form label:first-child { margin-top: 0; }

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--sand);
}

form.contact-form textarea { min-height: 110px; resize: vertical; }

form.contact-form .btn { margin-top: 20px; width: 100%; text-align: center; border: none; }

.notice {
  background: rgba(31,169,152,0.1);
  border: 1px solid rgba(31,169,152,0.3);
  color: var(--teal-dark);
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 16px;
}

/* ---------- Footer ---------- */

footer.site {
  background: var(--navy);
  color: #b9cbd6;
  padding: 52px 0 28px;
  margin-top: 40px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-grid .logo { height: 24px; margin-bottom: 14px; }

.footer-grid p { color: #8ea3b0; max-width: 320px; }

.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #cfe0e8; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: #7f93a1;
  font-size: 0.85rem;
}

.placeholder-flag {
  background: #fff4d6;
  border-bottom: 1px solid #e8cf8a;
  color: #6b5416;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
}

@media (max-width: 860px) {
  .grid-3, .plans, .quick-plans, .steps, .strip .grid-4, .contact-grid, .footer-grid,
  .hero .wrap, .feature-row, .feature-row.reverse, .founder-note {
    grid-template-columns: 1fr;
  }
  .hero-visual { display: none; }
  nav.links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .addons-table { display: block; overflow-x: auto; white-space: nowrap; }
}
