:root {
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --ink: #0f172a;
  --muted: #526173;
  --line: #dbe4ea;
  --bg: #f6faf9;
  --card: #ffffff;
  --danger: #dc2626;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal);
}

.wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 250, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), #0ea5e9);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.hero {
  padding: 88px 0 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 18px 0 18px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 28px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
}

.button.primary:hover {
  color: #fff;
  background: var(--teal);
}

.button.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.phone-card {
  background: linear-gradient(160deg, #0f766e, #0e7490 55%, #1e3a8a);
  border-radius: 28px;
  padding: 26px;
  color: #fff;
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.mock-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.mock-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 6px 0 18px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.mock-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #0f172a;
  background: #99f6e4;
  flex: 0 0 auto;
}

.mock-row strong {
  display: block;
  font-size: 0.95rem;
}

.mock-row span {
  font-size: 0.8rem;
  opacity: 0.78;
}

.mock-note {
  font-size: 0.82rem;
  opacity: 0.78;
  position: relative;
  z-index: 1;
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

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

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.notice {
  border-left: 4px solid var(--teal);
  background: #ecfdf8;
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  color: #134e4a;
  margin: 22px 0;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal-dark);
}

/* Legal and content pages */
.page-head {
  padding: 60px 0 12px;
}

.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.page-head p {
  color: var(--muted);
  margin: 0;
}

.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
  margin: 32px 0 24px;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 36px 0 10px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin-top: 22px;
}

.legal p,
.legal li {
  color: #334155;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.94rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: #f1f7f5;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 50px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.delete-box {
  border: 1px solid #fecaca;
  background: #fff7f7;
  border-radius: 16px;
  padding: 20px;
  margin-top: 22px;
}

.delete-box h3 {
  color: #991b1b;
}

.centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.code-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #0f172a;
  color: #f8fafc;
  border-radius: 14px;
  padding: 14px 22px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1.7rem;
  letter-spacing: 0.14em;
  margin: 18px 0;
}

.store-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .legal {
    padding: 22px;
  }

  .code-box {
    font-size: 1.35rem;
  }
}
