:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --card: #ffffff;
  --text: #121826;
  --muted: #5d6677;
  --line: #e3e8ef;
  /* The app's own accent: a blue-to-teal sweep. */
  --brand-start: #3378ff;
  --brand-end: #14b8be;
  --brand: linear-gradient(120deg, var(--brand-start), var(--brand-end));
  --accent: #1f6fe5;
  --accent-text: #ffffff;
  --glow-a: rgba(51, 120, 255, 0.16);
  --glow-b: rgba(20, 184, 190, 0.14);
  --shadow: 0 1px 2px rgba(18, 24, 38, 0.04), 0 8px 24px rgba(18, 24, 38, 0.06);
  --shadow-hover: 0 2px 4px rgba(18, 24, 38, 0.05), 0 16px 36px rgba(18, 24, 38, 0.1);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1017;
    --bg-soft: #131824;
    --card: #161c29;
    --text: #eef2f8;
    --muted: #9aa4b5;
    --line: #252d3c;
    --brand-start: #5b93ff;
    --brand-end: #2fd3d0;
    --accent: #6ea2ff;
    --accent-text: #ffffff;
    --glow-a: rgba(91, 147, 255, 0.18);
    --glow-b: rgba(47, 211, 208, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.3), 0 16px 36px rgba(0, 0, 0, 0.35);
  }
}

* { 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", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 6.5vw, 3.6rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
.gradient-text { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 20px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head p { color: var(--muted); margin: 0; }
.band { background: var(--bg-soft); }

.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-family: ui-rounded, -apple-system, sans-serif; font-size: 18px; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 24px; font-size: 15px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Hero, with a soft glow in the brand colours behind it. */
.hero-wrap { position: relative; overflow: hidden; }
.hero-wrap::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, var(--glow-a), transparent 70%),
    radial-gradient(40% 50% at 72% 40%, var(--glow-b), transparent 70%);
}
.hero { text-align: center; padding-top: 84px; padding-bottom: 88px; }
.hero-icon { display: block; width: 120px; height: 120px; margin: 0 auto 22px; filter: drop-shadow(0 18px 30px rgba(31, 111, 229, 0.25)); }
.eyebrow {
  display: inline-block; max-width: 100%; color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line);
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }

.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text);
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--brand); border-color: transparent; color: var(--accent-text); box-shadow: 0 8px 22px color-mix(in srgb, var(--brand-start) 35%, transparent); }
.btn.primary:hover { filter: brightness(1.05); box-shadow: 0 12px 28px color-mix(in srgb, var(--brand-start) 40%, transparent); }
.btn:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid .card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.grid .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.grid p, .dev p { color: var(--muted); margin: 0; font-size: 15px; }
.icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff;
}
.icon svg { width: 22px; height: 22px; }
.i-blue { background: linear-gradient(135deg, #4f8bff, #2f62e8); }
.i-teal { background: linear-gradient(135deg, #22c7c2, #129aa6); }
.i-violet { background: linear-gradient(135deg, #9b7bff, #6c4ce6); }
.i-orange { background: linear-gradient(135deg, #ffad4d, #f27a1a); }
.i-pink { background: linear-gradient(135deg, #ff7aa8, #e2457d); }
.i-green { background: linear-gradient(135deg, #4cd18a, #23a866); }
.dev { margin-top: 16px; display: flex; gap: 18px; align-items: flex-start; }
.dev .icon { flex: none; margin: 2px 0 0; background: linear-gradient(135deg, #5d6677, #2b3240); }
.tag {
  font-size: 12px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px;
}

/* How it works */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px;
}
.steps strong { display: block; font-family: ui-rounded, -apple-system, sans-serif; font-size: 1.08rem; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }

.privacy { text-align: center; }
.privacy p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.shield { width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.shield svg { width: 28px; height: 28px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 840px; margin: 0 auto; align-items: stretch; }
.price-card {
  max-width: 400px; width: 100%; margin: 0 auto; text-align: center; padding: 36px 32px; position: relative; display: flex; flex-direction: column;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand) border-box;
}
.price { font-family: ui-rounded, -apple-system, sans-serif; font-size: 3.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.price-sub { color: var(--muted); margin-bottom: 22px; }
.price-card.plain { background: var(--card); border-color: var(--line); }
.price-card .cta { margin-top: auto; }
.price-name { font-weight: 700; margin: 0 0 4px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.price-tag { font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--brand); padding: 2px 9px; border-radius: 999px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; text-align: left; justify-content: center; }
.price-card li { position: relative; padding-left: 30px; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 50%; margin-top: -10px; width: 20px; height: 20px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.2l3 3 6-6.4'/%3E%3C/svg%3E") center / 11px no-repeat, var(--brand);
}

/* Suggestion teaser on the home page */
.suggest-teaser { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30px 32px; }
.suggest-teaser h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: 6px; }
.suggest-teaser p { color: var(--muted); margin: 0; max-width: 560px; }

/* Suggestion page */
.focus-note { color: var(--muted); font-size: 15px; border-left: 3px solid; border-image: var(--brand) 1; padding: 2px 0 2px 14px; margin: 20px 0 32px; }
.ideas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.ideas li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.ideas li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--brand); }

.form { display: grid; gap: 20px; }
.form label, .form .field-label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.form textarea, .form select {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form textarea { resize: vertical; min-height: 130px; }
/* Our own chevron, with room on the right instead of the browser's arrow at the edge. */
.form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235d6677' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px;
}
.form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* Segmented control instead of radio buttons. */
.segmented { border: 0; margin: 0; padding: 0; min-width: 0; }
.segmented legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 8px; }
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.segments input { position: absolute; opacity: 0; pointer-events: none; }
.segments label {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.segments label:hover { color: var(--text); }
.segments input:checked + label { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.segments input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }

.form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; cursor: pointer; }
.form .check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.form .btn { justify-self: start; }
.form .fine { margin: 0; }

/* Questions */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.footer { padding: 36px 20px 52px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); text-align: center; }
.footer a { color: var(--muted); }

.page { padding-top: 56px; padding-bottom: 72px; max-width: 760px; }
.page > p, .page li { color: var(--muted); }

@media (max-width: 560px) {
  .nav-inner { gap: 12px; }
  .nav nav { gap: 16px; font-size: 14px; }
  .nav nav a[href$="#features"] { display: none; }
  .hero { padding-top: 56px; padding-bottom: 60px; }
  .section { padding: 56px 20px; }
  .suggest-teaser { padding: 24px; }
  .segments { grid-template-columns: 1fr; }
  .ideas { grid-template-columns: 1fr; }
}

.thanks .key {
  display: block; margin: 12px 0 20px; padding: 14px 16px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; user-select: all;
}
.cta.left { justify-content: flex-start; }
[hidden] { display: none !important; }
.soon { color: var(--accent); font-weight: 700; margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.lead.left { margin-left: 0; }
.section.tight { padding-top: 0; padding-bottom: 24px; }

/* AI tools highlight: the site's own colours, with a soft glow of the brand gradient. */
.ai-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center;
  padding: 44px; border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 0% 0%, var(--glow-a), transparent 65%),
    radial-gradient(60% 80% at 100% 100%, var(--glow-b), transparent 65%),
    var(--bg-soft);
  box-shadow: var(--shadow);
}
.ai-copy p { color: var(--muted); margin-bottom: 24px; }
.pill-new {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ai-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ai-list .icon { flex: none; margin: 0; }
.ai-list h3 { margin-bottom: 4px; }
.ai-list p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 820px) { .ai-panel { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 560px) { .nav nav a[href$="#ai"] { display: none; } }
.page h2 { font-size: 1.45rem; margin-top: 40px; }
.page h1 + h2, .page h1 + p + h2 { margin-top: 24px; }
.price-sub strong { color: var(--text); font-weight: 700; }

/* Feedback page: two big tabs choose between a suggestion and a problem report. */
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 24px; }
.mode-tabs button {
  display: flex; gap: 14px; align-items: center; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 18px; font: inherit; color: var(--text);
  background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.mode-tabs button:hover { transform: translateY(-1px); }
.mode-tabs button[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand) border-box;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--brand-start) 18%, transparent);
}
.mode-tabs button[aria-selected="false"] { opacity: 0.75; }
.mode-tabs button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.mode-tabs .icon { flex: none; margin: 0; }
.mode-tabs strong { display: block; font-family: ui-rounded, -apple-system, sans-serif; font-size: 1.05rem; }
.mode-tabs small { display: block; color: var(--muted); font-size: 14px; }
.form input[type="text"] {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input[type="text"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optional { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 4px; }
.feedback .focus-note { margin-top: 0; }
.suggest-teaser .cta { justify-content: flex-start; }
@media (max-width: 560px) { .mode-tabs, .field-row { grid-template-columns: 1fr; } }
