:root {
  --bg: #fbf8f4;
  --surface: #fff;
  --border: #eee7de;
  --text: #050505;
  --muted: #687080;
  --accent: #1473ff;
  --accent-hover: #0f63de;
  --yellow: #ffc247;
  --trust: #7b8494;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100%, 1280px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 37px 24px 30px;
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 1080px);
  margin: 0 auto;
  text-align: center;
}

.doodle {
  position: absolute;
  z-index: 0;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.doodle-plane {
  left: 90px;
  top: 150px;
  width: 72px;
  height: 108px;
  opacity: 0.85;
}

.doodle-star {
  right: 135px;
  top: 275px;
  width: 30px;
  height: 28px;
  opacity: 0.85;
}

.doodle-squiggle {
  left: 180px;
  top: 820px;
  width: 42px;
  height: 18px;
  opacity: 0.75;
}

.doodle-chat {
  right: 205px;
  top: 800px;
  width: 42px;
  height: 31px;
  opacity: 0.75;
}

.sticker-logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-bottom: 34px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: 0 2px 0 rgba(196, 135, 20, 0.14);
  color: #17110b;
  font-size: 20px;
  font-weight: 750;
  line-height: 1;
}

.sticker-logo::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -10px;
  width: 18px;
  height: 10px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0;
  color: #000;
  font-size: 55px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  text-wrap: balance;
  -webkit-font-smoothing: antialiased;
}

.hero-subcopy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.45;
}

.hero-subcopy.single {
  max-width: 760px;
}

.sms-cta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 18px;
  width: min(100%, 410px);
  height: 64px;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(20, 115, 255, 0.18);
  color: #fff;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.1;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sms-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  box-shadow: 0 14px 26px rgba(20, 115, 255, 0.22);
}

.sms-cta:focus-visible {
  outline: 3px solid rgba(20, 115, 255, 0.22);
  outline-offset: 3px;
}

.cta-chat-icon {
  width: 26px;
  height: 26px;
  background: center / contain no-repeat url("/static/illustrations/cta-chat.svg");
}

.cta-arrow {
  position: relative;
  display: block;
  width: 25px;
  height: 25px;
  transition: transform 0.15s ease;
}

.sms-cta:hover .cta-arrow {
  transform: translateX(2px);
}

.cta-arrow::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
}

.cta-arrow::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 2px;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
}

.example-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
  width: min(100%, 980px);
  margin-top: 34px;
}

.example-card {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 18px;
  height: 86px;
  padding: 0 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(34, 28, 20, 0.055);
  color: #111;
  text-align: left;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.32;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.example-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(34, 28, 20, 0.075);
}

.example-icon {
  width: 44px;
  height: 44px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px 32px;
}

.icon-dentist { background-image: url("/static/illustrations/icon-dentist.svg"); }
.icon-insurance { background-image: url("/static/illustrations/icon-insurance.svg"); }
.icon-doctor { background-image: url("/static/illustrations/icon-doctor.svg"); }
.icon-landlord { background-image: url("/static/illustrations/icon-landlord.svg"); }
.icon-flight { background-image: url("/static/illustrations/icon-flight.svg"); }
.icon-bank { background-image: url("/static/illustrations/icon-bank.svg"); }

.card-arrow {
  position: relative;
  width: 24px;
  height: 24px;
}

.card-arrow::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 2px;
  width: 20px;
  height: 2px;
  background: #000;
}

.card-arrow::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
}

.phone-proof {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  height: 330px;
  margin-top: 28px;
  overflow: hidden;
}

.phone-shell {
  width: 350px;
  height: 520px;
  padding: 0;
  border: 4px solid #111;
  border-radius: 38px 38px 0 0;
  background: #0b0b0b;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.phone-frame {
  height: 520px;
  overflow: hidden;
  border-radius: 34px 34px 0 0;
  background: #fff;
}

.phone-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 24px;
  color: #101010;
  font-size: 14px;
  font-weight: 800;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 78px;
  height: 24px;
  border-radius: 999px;
  background: #020202;
  transform: translateX(-50%);
}

.phone-signal {
  width: 54px;
  height: 14px;
  background:
    linear-gradient(#111 0 0) 0 9px / 3px 4px no-repeat,
    linear-gradient(#111 0 0) 5px 7px / 3px 6px no-repeat,
    linear-gradient(#111 0 0) 10px 5px / 3px 8px no-repeat,
    linear-gradient(#111 0 0) 17px 4px / 12px 9px no-repeat,
    linear-gradient(#111 0 0) 36px 4px / 16px 8px no-repeat;
  border-radius: 2px;
  opacity: 0.88;
}

.phone-contact {
  display: grid;
  grid-template-columns: 24px 28px auto 1fr 24px;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-bottom: 1px solid #ececec;
}

.phone-back {
  width: 12px;
  height: 12px;
  border-left: 2px solid #7d8796;
  border-bottom: 2px solid #7d8796;
  transform: rotate(45deg);
}

.phone-avatar,
.reply-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: #7a4c00;
  font-weight: 800;
}

.phone-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.phone-contact strong {
  color: #111;
  font-size: 15px;
  line-height: 1;
}

.phone-verified {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.phone-verified::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.phone-menu {
  grid-column: 5;
  justify-self: end;
  width: 24px;
  height: 4px;
  background: radial-gradient(circle, #8b93a1 2px, transparent 2px) 0 0 / 8px 4px;
}

.phone-thread {
  padding: 18px 20px;
}

.phone-bubble {
  position: relative;
  width: fit-content;
  max-width: 232px;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.35;
}

.phone-blue {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
}

.phone-gray {
  background: #ededed;
  color: #222;
}

.phone-time {
  display: block;
  margin-top: 5px;
  color: #8b8f98;
  font-size: 11px;
}

.phone-time.outgoing {
  text-align: right;
}

.phone-time.incoming {
  padding-left: 54px;
}

.phone-reply-row {
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 18px;
}

.reply-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  font-size: 13px;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 20px 20px 0;
  border-top: 1px solid #e8dfd5;
  color: var(--trust);
  font-size: 16px;
  font-weight: 500;
}

.seo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 42px;
  width: min(100%, 980px);
  margin: 52px auto 0;
  padding: 34px 0 10px;
  border-top: 1px solid #e8dfd5;
  text-align: left;
}

.seo-copy {
  max-width: 560px;
}

.seo-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-copy h2 {
  margin: 0;
  color: #050505;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.seo-copy p:not(.seo-kicker),
.faq-list p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.seo-copy p:not(.seo-kicker) {
  margin: 16px 0 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(34, 28, 20, 0.04);
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 650;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: -2px 0 0;
  padding: 0 18px 17px;
}

.policy-page {
  display: grid;
  place-items: center;
}

.policy-card {
  width: min(100%, 760px);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 40px rgba(37, 28, 18, 0.08);
}

.policy-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.policy-card h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: 44px;
}

.policy-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #21242b;
  font-size: 16px;
  line-height: 1.6;
}

.policy-list li + li {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .page {
    padding: 38px 22px 36px;
  }

  h1 {
    max-width: 720px;
    font-size: 48px;
  }

  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 620px);
  }

  .trust-strip {
    gap: 22px;
    font-size: 16px;
  }

  .seo-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    width: min(100%, 720px);
  }
}

@media (max-width: 768px) {
  .doodle {
    display: none;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 30px 14px 32px;
  }

  .sticker-logo {
    min-width: 154px;
    height: 44px;
    margin-bottom: 28px;
    font-size: 20px;
  }

  h1 {
    font-size: 40px;
    line-height: 1;
  }

  .hero-subcopy {
    font-size: 16px;
  }

  .sms-cta {
    grid-template-columns: 32px minmax(0, 1fr) 30px;
    gap: 12px;
    height: 64px;
    margin-top: 26px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
  }

  .cta-chat-icon {
    width: 30px;
    height: 30px;
  }

  .example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 20px;
  }

  .example-card {
    grid-template-columns: 42px 1fr 22px;
    gap: 10px;
    height: 78px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
  }

  .example-icon {
    width: 40px;
    height: 40px;
    background-size: 38px 38px;
  }

  .phone-proof {
    height: 310px;
    margin-top: 24px;
  }

  .phone-shell {
    width: min(310px, 92vw);
  }

  .phone-bubble {
    max-width: 228px;
  }

  .trust-strip {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 20px;
    font-size: 14px;
  }

  .seo-panel {
    margin-top: 38px;
    padding-top: 26px;
  }

  .seo-copy h2 {
    font-size: 28px;
  }

  .seo-copy p:not(.seo-kicker),
  .faq-list p {
    font-size: 15px;
  }

  .policy-card {
    padding: 18px;
    border-radius: 20px;
  }

  .policy-card h1 {
    font-size: 34px;
  }

  .policy-list {
    font-size: 15px;
  }
}

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