/* Colours and type follow the Lana Figma (Website and web app). */
:root {
  --font-sans: "Open Sauce One", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --black: #000000;
  --ink: #000014;
  --gray-600: #545454;
  --gray-500: #888888;
  --gray-400: #a1a4a5;
  --line: #cbcbcb;
  --line-soft: #eaeaea;
  --surface: #f2f2f2;
  --surface-soft: #f7f7f7;
  --surface-card: #fafafa;
  --blue: #82a4ff;
  --green: #70d496;
  --green-dark: #197342;

  --content: 1160px;
  --gutter: 24px;
  --radius: 8px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code { font-family: var(--font-mono); font-size: 0.9em; }
p code, .hint code {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }

/* The page reads as a bordered grid, like the Figma. */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--content) + 60px);
  margin-inline: auto;
  padding-inline: 30px;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

/* Beta bar */
.beta-bar {
  background: var(--black);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 10px var(--gutter);
}
.beta-bar a { color: var(--blue); text-decoration: none; margin-left: 6px; white-space: nowrap; }
.beta-bar a:hover { text-decoration: underline; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 64px;
  border: 0;
}
.logo img { width: 72px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; flex: 1; }
.nav-links a { text-decoration: none; color: var(--black); }
.nav-links a:hover { color: var(--gray-500); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--black); color: #fff; border-color: var(--line-soft); }
.btn-primary:hover { background: #222; }
.btn-secondary { background: #fff; color: var(--black); border-color: var(--gray-500); }
.btn-secondary:hover { border-color: var(--black); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions.center { justify-content: center; }
.text-link { color: var(--black); font-weight: 500; text-underline-offset: 3px; }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 64px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--gray-600);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 61px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 820px;
}
.lead { color: var(--gray-500); max-width: 715px; margin: 24px 0 0; font-size: 17px; line-height: 1.55; }

/* Copyable command blocks */
.install, .code {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(136, 136, 136, 0.1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.install { max-width: 689px; margin-top: 40px; padding: 16px 16px 16px 22px; }
.install pre { margin: 0; overflow-x: auto; }
.install code { font-size: 17px; line-height: 1.7; color: var(--gray-600); }
.code { padding: 10px 10px 10px 16px; margin-top: 10px; max-width: 520px; }
.code code { font-size: 15px; color: var(--gray-600); overflow-x: auto; white-space: nowrap; }
.prompt { color: var(--gray-400); user-select: none; }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font: 500 13px var(--font-sans);
  color: var(--gray-600);
  cursor: pointer;
}
.copy:hover { border-color: var(--line); color: var(--black); }
.copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy.small { padding: 7px; }
.copy.copied { color: var(--green-dark); border-color: var(--green); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--line-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 39px); line-height: 1.15; }
.section-head p { color: var(--gray-500); margin: 14px 0 0; }
.section-head:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.split .section-head { margin-bottom: 0; }

/* Features */
.grid.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}
.card { padding: 32px 28px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--black); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--gray-500); margin: 12px 0 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.steps li { display: flex; gap: 18px; padding: 32px 28px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); min-width: 0; }
.steps li > div { min-width: 0; flex: 1; }
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.steps h3 { font-size: 20px; font-weight: 600; margin-top: 3px; }
.steps p { color: var(--gray-500); margin: 10px 0 0; }
.steps .text-link { display: inline-block; margin-top: 12px; }
.hint { font-size: 14px; }

/* Pricing */
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}
.price-main { padding: 36px; border-right: 1px solid var(--line-soft); background: var(--surface-card); }
.plan { font-size: 24px; margin: 0; color: var(--ink); }
.price { font-size: 48px; font-weight: 600; margin: 12px 0 0; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.price .was { display: block; font-size: 18px; font-weight: 400; color: var(--gray-500); text-decoration: line-through; letter-spacing: 0; margin-bottom: 4px; }
.price .per { font-size: 15px; font-weight: 400; color: var(--gray-600); letter-spacing: 0; margin-left: 4px; }
.badge {
  display: inline-block;
  margin: 16px 0 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef8f2;
  border: 1px solid #d9eee1;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 500;
}
.checks { list-style: none; margin: 0; padding: 36px; display: grid; gap: 14px; align-content: center; }
.checks li { position: relative; padding-left: 30px; color: var(--gray-600); }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 1.8px solid var(--black);
  border-bottom: 1.8px solid var(--black);
  transform: rotate(-45deg);
}
.note { color: var(--gray-500); margin: 24px 0 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--black);
  border-bottom: 1.8px solid var(--black);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: 0 0 22px; color: var(--gray-600); max-width: 620px; }

/* Final call to action */
.cta { padding-top: 112px; padding-bottom: 112px; text-align: center; border-top: 1px solid var(--line-soft); }
.cta h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; max-width: 760px; margin: 0 auto; }
.cta p { color: var(--gray-500); margin: 18px 0 0; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: 40px; padding-bottom: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; flex: 1; font-size: 14px; }
.footer-links a { color: var(--gray-600); text-decoration: none; }
.footer-links a:hover { color: var(--black); }
.copyright { margin: 0; font-size: 14px; color: var(--gray-500); }

/* Tablet */
@media (max-width: 900px) {
  .grid.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .split, .price-card { grid-template-columns: minmax(0, 1fr); }
  .price-main { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .wrap { width: 100%; padding-inline: var(--gutter); border-left: 0; border-right: 0; }
  .hero { padding-top: 64px; padding-bottom: 48px; }
  .lead { font-size: 16px; }
  .install { align-items: flex-start; padding: 14px; }
  .install code { font-size: 14px; }
  .copy span { display: none; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .grid.features { grid-template-columns: minmax(0, 1fr); }
  .card, .steps li { padding: 24px 20px; }
  .price-main, .checks { padding: 24px; }
  .price { font-size: 40px; }
  .faq summary { font-size: 17px; }
  .cta { padding-top: 72px; padding-bottom: 72px; }
  .beta-bar { font-size: 13px; }
}
