:root {
  --paper: #EEF1EC;
  --paper-2: #E3E8E2;
  --ink: #17201C;
  --ink-soft: #4A5650;
  --jade: #0B7A61;
  --jade-deep: #075C49;
  --marigold: #E9B23A;
  --line: #C9D1CA;
  --white: #FBFCFA;
  --measure: 66ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}

a { color: var(--jade-deep); text-underline-offset: 3px; }
a:hover { color: var(--jade); }

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.brand svg { width: 34px; height: 34px; }

.head-links { display: flex; gap: 22px; font-size: 0.98rem; }
.head-links a { color: var(--ink); text-decoration: none; }
.head-links a:hover { color: var(--jade); text-decoration: underline; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 48px 88px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 85;
  max-width: 13ch;
}

.hero .lede {
  margin: 24px 0 32px;
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
}
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--jade-deep); border-color: var(--jade-deep); color: var(--white); }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--white); color: var(--ink); }

/* The chat moment: the one bold element on the page */
.chat {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px 20px 20px;
  max-width: 440px;
  justify-self: end;
  width: 100%;
}

.chat::before {
  /* the orbit ring behind the phone card */
  content: "";
  position: absolute;
  inset: -34px -40px auto auto;
  width: 220px;
  height: 220px;
  border: 2px solid var(--jade);
  border-radius: 50%;
  opacity: 0.35;
  z-index: -1;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--paper-2);
  font-size: 0.95rem;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper-2);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.85rem; color: var(--ink-soft);
}
.chat-top strong { display: block; line-height: 1.2; }
.chat-top span { color: var(--ink-soft); font-size: 0.85rem; }

.bubble {
  margin-top: 16px;
  padding: 12px 15px;
  border-radius: 18px;
  max-width: 85%;
  font-size: 0.98rem;
  line-height: 1.45;
}
.bubble.in { background: var(--paper-2); border-bottom-left-radius: 6px; }

.draft {
  margin-top: 18px;
  border: 2px dashed var(--jade);
  border-radius: 18px;
  padding: 14px 15px 15px;
}
.draft-label {
  font-size: 0.85rem;
  color: var(--jade-deep);
  font-weight: 700;
  margin-bottom: 6px;
}
.draft p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.price {
  background: var(--marigold);
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 700;
  white-space: nowrap;
}
.draft-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.send-chip {
  background: var(--jade);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.95rem;
}

/* Sections */
section.block { padding-block: 72px; border-top: 1px solid var(--line); }
.block h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.block .intro { color: var(--ink-soft); max-width: 58ch; margin: 14px 0 0; }

.steps {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--jade);
  color: var(--jade-deep);
  display: grid; place-items: center;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-soft); }

.rules {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  max-width: var(--measure);
}
.rules li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rules li:first-child { border-top: 1px solid var(--line); }
.rules strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.rules span { color: var(--ink-soft); }

.also { max-width: var(--measure); color: var(--ink-soft); margin: 0; }
.also strong { color: var(--ink); }

/* Company details, set like a letterhead */
.details {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin: 36px 0 0;
  max-width: 760px;
}
.details dt, .details dd {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.details dt { color: var(--ink-soft); }
.details dd { font-weight: 700; }

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 28px 40px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.site-foot a { color: var(--ink-soft); }

/* Privacy page */
.doc { max-width: var(--measure); padding-block: 40px 80px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.03em; }
.doc .updated { color: var(--ink-soft); margin: 12px 0 36px; }
.doc h2 { font-size: 1.45rem; letter-spacing: -0.01em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc .callout {
  background: var(--white);
  border-left: 4px solid var(--jade);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 24px 64px; }
  .chat { justify-self: start; }
  .chat::before { width: 160px; height: 160px; inset: -26px -12px auto auto; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .details { grid-template-columns: 1fr; }
  .details dd { border-top: 0; padding-top: 0; }
  section.block { padding-block: 56px; }
}

@media (max-width: 480px) {
  .head-links { gap: 14px; font-size: 0.92rem; }
  .brand { font-size: 1.25rem; }
  .brand svg { width: 28px; height: 28px; }
}
