*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #222222;
  --text: #f0f0f0;
  --muted: #888888;
  --accent: #4ade80;
  --accent-dim: #16a34a;
  --grad-white: linear-gradient(to right, #ffffff 0%, #aaaaaa 100%);
  --grad-green: linear-gradient(to right, #4ade80 0%, #16a34a 100%);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.logo { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.logo a, .logo a:hover { text-decoration: none; }
/* Gradient text lives here, and only here. An element must be as wide as its text (inline, or align-self /
   width: fit-content), otherwise the gradient is spread over the whole row and looks flat. */
.logo-text, .by-statiq, h1, .nav-links a {
  background: var(--grad-white);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-tld, .by-cloud, .card h3, .card .inherit, .form-card label, .nav-links a:hover, .nav-links a.on {
  background: var(--grad-green);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links { display: flex; gap: 1.5rem; font-size: 1rem; font-weight: 700; }
.nav-links a:hover, .nav-links a.on { text-decoration: none; }

.hero-wrap {
  background: linear-gradient(to right, #3a3a3a 0%, #141414 100%);
  border-bottom: 1px solid var(--border);
}
.hero-wrap.flush { border-bottom: none; }   /* no line between the heading band and the grey band below it */
/* grey band behind a form, so its black box stands out like on /try-demo */
.grey-band { background: linear-gradient(to right, #3a3a3a 0%, #141414 100%); }
.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
}
.badge {
  display: inline-block;
  background: #0f2a1a;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.lead { font-size: 1.1rem; color: #cccccc; max-width: 600px; margin: 0 auto; }

section { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
section > h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.5rem;
}
section > .sub { color: var(--muted); text-align: center; margin-bottom: 2rem; }

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.card.featured { border-color: var(--accent-dim); }
.card h3 {
  align-self: flex-start;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.card .for { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.card .inherit { align-self: flex-start; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; }
.card ul { list-style: none; margin-bottom: 1.25rem; }
.card ul li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: #cccccc;
  position: relative;
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 700; }
.card p { font-size: 0.93rem; color: #cccccc; }
.card .btn { margin-top: auto; }

.btn {
  display: block;
  text-align: center;
  background: var(--grad-green);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn.ghost { background: none; border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); }

.note {
  max-width: 760px;
  margin: 0 auto;
  background: #0f2a1a;
  border: 1px solid var(--accent-dim);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.note strong { color: var(--accent); }

.form-card { max-width: 420px; margin: 0 auto; padding: 1.25rem; }
.form-card label {
  display: block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.form-card .opt { -webkit-text-fill-color: var(--muted); font-weight: 400; }
.form-card input, .form-card select, .form-card textarea {
  display: block;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0.5rem 0.75rem;
  outline: none;
  margin-bottom: 0.75rem;
}
.form-card textarea { min-height: 96px; resize: vertical; }
.form-card option.grp { font-weight: 700; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--accent); }
.form-card input::placeholder { color: #555; }
.form-card .btn { width: 100%; border: none; cursor: pointer; font-family: inherit; padding: 0.65rem 1rem; }
.form-card .btn:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-msg { margin-top: 0.75rem; font-size: 0.9rem; }
#form-msg:empty { display: none; }
#form-msg.error { color: #fca5a5; }
/* thank-you after a message is sent: the same look as on /try-demo */
.done {
  font-size: 1.5rem; font-weight: 800; line-height: 1.4; text-align: center; margin: 0;
  background: linear-gradient(to right, #4ade80 0%, #16a34a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.switch { text-align: center; color: var(--muted); font-size: 0.95rem; }

footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 560px) {
  nav { padding: 0.5rem 1rem; }
  .menu-btn { display: flex; position: relative; z-index: 2; }
  /* the links slide in from the right as a panel; the open panel dims the page behind it */
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1;
    width: min(80vw, 300px);
    flex-direction: column; gap: 0;
    padding: 4rem 1.5rem 1.5rem;
    background: var(--bg);
    border-left: 1px solid var(--border);
    font-size: 1.25rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.open { transform: translateX(0); visibility: visible; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.6); }
  /* each link is only as wide as its text, so the gradient runs across the words, not the whole row */
  .nav-links a { align-self: flex-start; padding: 0.9rem 0; }
}
