:root {
  color-scheme: light;
  --paper: #f4f8f5;
  --paper-2: #ffffff;
  --ink: #163a2b;
  --muted: #5b6b62;
  --soft: #9aa69f;
  --line: #d6e2db;
  --card: rgb(255 255 255 / 0.76);
  --black: #1e6b49;
  --plum: #1e6b49;
  --pine: #1e6b49;
  --mist: #e9f1ec;
  --forest: #163a2b;
  --sage: #a7d2bc;
  --coral: #1e6b49;
  --orange: #a7d2bc;
  --blue: #1e6b49;
  --shadow: 0 18px 48px rgb(22 58 43 / 0.1);
  --max: 1200px;
  --serif: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 82% 10%, rgb(167 210 188 / 0.32), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 52%, #eef6f1 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(circle at center, rgb(30 107 73 / 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 66%);
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  display: grid;
  width: min(100% - 48px, var(--max));
  height: 76px;
  grid-template-columns: 1fr auto;
  align-items: center;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  width: fit-content;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 600;
}

.brand-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  color: var(--pine);
  fill: currentColor;
  overflow: visible;
}

.brand-mark::before,
.brand-mark::after {
  display: none;
}

.brand-name {
  display: inline-block;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.header-actions,
.hero-actions,
.final-cta div {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-self: end;
  gap: 24px;
}

.dark-button,
.light-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 650;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.dark-button {
  padding: 0 22px;
  border: 1px solid rgb(30 107 73 / 0.18);
  color: white;
  background: linear-gradient(180deg, #247955, var(--pine));
  box-shadow: 0 12px 28px rgb(30 107 73 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.18);
}

.light-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--forest);
  background: rgb(255 255 255 / 0.86);
  box-shadow: 0 8px 22px rgb(22 58 43 / 0.08);
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 24px;
  color: var(--forest);
}

.hero-brand-mark {
  display: block;
  width: clamp(54px, 5vw, 82px);
  height: clamp(54px, 5vw, 82px);
  color: var(--pine);
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 8;
  overflow: visible;
}

[data-facet],
[data-mark],
[data-eye] {
  transform-box: view-box;
  transform-origin: 100px 100px;
}

.acelia-logo-animated [data-mark] {
  animation: acelia-live-mark 5.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.acelia-logo-animated [data-facet] {
  animation: acelia-live-facet 5.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.acelia-logo-animated [data-eye] {
  animation: acelia-live-eye 5.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

@keyframes acelia-live-mark {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  24% {
    transform: rotate(2.6deg) scale(1.055);
  }
  52% {
    transform: rotate(-2deg) scale(0.985);
  }
  78% {
    transform: rotate(1.2deg) scale(1.025);
  }
}

@keyframes acelia-live-facet {
  0%,
  100% {
    transform: scale(1);
  }
  28% {
    transform: scale(1.09);
  }
  54% {
    transform: scale(0.965);
  }
  78% {
    transform: scale(1.035);
  }
}

@keyframes acelia-live-eye {
  0%,
  100% {
    transform: scale(1);
  }
  28% {
    transform: scale(1.55);
  }
  52% {
    transform: scale(0.86);
  }
  76% {
    transform: scale(1.22);
  }
}

.hero {
  position: relative;
  min-height: clamp(1030px, 94svh, 1040px);
  overflow: hidden;
  padding-top: 98px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 72%, rgb(167 210 188 / 0.4) 0, transparent 22rem),
    radial-gradient(circle at 18% 18%, rgb(233 241 236 / 0.92) 0, transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 46%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-scene {
  position: absolute;
  right: 0;
  left: 0;
  top: 525px;
  z-index: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-phone {
  position: relative;
  width: min(78vw, 305px);
  height: 500px;
  overflow: hidden;
  padding: 12px 11px 14px;
  border: 7px solid #17161b;
  border-radius: 42px;
  background: #f9f9fa;
  box-shadow: 0 32px 82px rgb(22 58 43 / 0.18);
}

.hero-phone-bar,
.hero-contact,
.imessage-header,
.contact-stack,
.imessage-apps,
.ios-keyboard div {
  display: flex;
  align-items: center;
}

.hero-phone-bar {
  justify-content: space-between;
  padding: 5px 18px 12px;
  font-size: 0.82rem;
  font-weight: 850;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 116px;
  height: 23px;
  border-radius: 0 0 18px 18px;
  background: #08090b;
  transform: translateX(-50%);
}

.phone-notch.compact {
  width: 112px;
  height: 21px;
}

.imessage-header {
  min-height: 72px;
  justify-content: space-between;
  padding: 2px 12px 10px;
  border-bottom: 1px solid #e0e1e5;
  background: #f9f9fa;
}

.contact-stack {
  flex-direction: column;
  gap: 3px;
  color: #4b4e56;
  font-size: 0.74rem;
}

.contact-stack strong {
  font-size: 0.79rem;
  font-weight: 650;
}

.ios-link {
  color: #1588ff;
  font-size: 2rem;
  line-height: 1;
}

.video-icon {
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-contact small {
  color: #1477e8;
  font-size: 0.72rem;
  font-weight: 850;
}

.hero-thread {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 7px 70px;
  text-align: left;
}

.hero-composer {
  position: absolute;
  right: 12px;
  bottom: 17px;
  left: 12px;
  margin: 0;
}

.hero-phone .imessage-apps,
.hero-phone .ios-keyboard {
  display: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 160px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}

.announcement {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
  color: #14171c;
}

.announcement span {
  display: inline-grid;
  min-width: 50px;
  min-height: 28px;
  place-items: center;
  border: 1px solid #c7c1b6;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.55);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.72);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.055em;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.5vw, 4.8rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.25rem, 3.4vw, 3.3rem);
  line-height: 0.98;
}

h1 em,
h2 em,
.final-cta h2 em {
  color: transparent;
  font-style: italic;
  background: linear-gradient(92deg, var(--pine) 8%, #4f8f6d 74%, var(--forest));
  background-clip: text;
  -webkit-background-clip: text;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero p {
  width: min(100%, 570px);
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
}

.life-section,
.feature-grid-section,
.pricing-section,
.signup-section,
.final-cta,
.site-footer {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.life-section {
  position: relative;
  z-index: 3;
  padding: 66px 0 58px;
  text-align: center;
}

.life-section h2 {
  margin-bottom: 18px;
}

sup {
  font-family: var(--sans);
  font-size: 0.36em;
  letter-spacing: 0;
  vertical-align: super;
}

.icon-marquee {
  max-width: 100%;
  overflow: hidden;
  margin: 28px 0 24px;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.icon-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: ticker 28s linear infinite;
}

.app-icon {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgb(0 0 0 / 0.08);
  border-radius: 20px;
  overflow: hidden;
  color: #171b22;
  background: white;
  font-weight: 800;
  box-shadow: 0 14px 32px rgb(38 31 24 / 0.14);
}

.app-icon b {
  position: relative;
  z-index: 1;
}

.app-icon img {
  position: relative;
  z-index: 2;
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.app-icon.small img {
  width: 64%;
  height: 64%;
}

.app-icon.tiny img {
  width: 66%;
  height: 66%;
}

.gmail::before,
.gmail::after,
.gcal::before {
  display: none;
}

.app-icon.small {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgb(38 31 24 / 0.12);
}

.app-icon.tiny {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.72rem;
  box-shadow: none;
}

.gmail {
  color: #1f2937;
}

.gmail::before,
.gmail::after {
  position: absolute;
  content: "";
}

.gmail::before {
  inset: 12px 10px;
  border-top: 9px solid #ea4335;
  border-right: 9px solid #4285f4;
  border-bottom: 9px solid #34a853;
  border-left: 9px solid #fbbc04;
  border-radius: 5px;
}

.gmail::after {
  top: 27px;
  left: 20px;
  width: 32px;
  height: 10px;
  border-top: 7px solid #ea4335;
  transform: rotate(28deg);
}

.gcal {
  color: #1a73e8;
}

.gcal::before {
  position: absolute;
  inset: 0 0 auto;
  height: 19px;
  content: "";
  background: #1a73e8;
}

.notion {
  color: #111;
  background: #fff;
  font-family: Georgia, serif;
}

.health {
  color: #ff2d55;
}

.tasks {
  color: white;
  background: linear-gradient(135deg, #2dc56f, #17884e);
}

.home {
  color: white;
  background: linear-gradient(135deg, #ff9f0a, #ff5f1f);
}

.search {
  color: white;
  background: linear-gradient(135deg, #4285f4, #34a853);
}

.docs {
  color: white;
  background: linear-gradient(135deg, #4ea1ff, #1a73e8);
}

.drive {
  color: white;
  background: conic-gradient(from 30deg, #0f9d58, #f4b400, #4285f4, #0f9d58);
}

.slack {
  color: white;
  background: linear-gradient(135deg, #611f69, #36c5f0);
}

.github {
  color: white;
  background: #181717;
}

.maps {
  color: white;
  background: linear-gradient(135deg, #34a853, #4285f4 52%, #ea4335);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.life-copy {
  width: min(100%, 720px);
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.memory-lead {
  width: min(100%, 650px);
}

.memory-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  width: min(100%, 760px);
  margin: 22px auto 0;
}

.memory-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgb(30 107 73 / 0.14);
  border-radius: 999px;
  color: var(--forest);
  background: rgb(255 255 255 / 0.7);
  box-shadow: 0 8px 20px rgb(22 58 43 / 0.06);
  font-size: 0.92rem;
  font-weight: 650;
}

.feature-grid-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 56px 28px;
  padding: 48px 0 72px;
}

.recipe-stack {
  position: relative;
  grid-column: 8 / span 4;
  min-height: 440px;
}

.integration-card {
  position: absolute;
  display: grid;
  width: 308px;
  min-height: 218px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.86);
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
  backdrop-filter: blur(18px);
}

.integration-card:nth-child(2) {
  top: 76px;
  left: 42px;
  transform: rotate(4deg);
}

.integration-card:nth-child(3) {
  top: 152px;
  left: 84px;
  transform: rotate(-2deg);
}

.integration-card.fourth {
  top: 224px;
  left: 36px;
  transform: rotate(5deg);
}

.integration-card h3 {
  margin: 8px 0 8px;
  font-family: var(--sans);
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.integration-card p,
.feature-copy p,
.price-card p,
.signup-section p,
.final-cta p {
  color: var(--muted);
  line-height: 1.62;
}

.integration-card small {
  margin-top: auto;
  color: var(--soft);
  font-weight: 700;
}

.integration-card button {
  width: fit-content;
  min-height: 34px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--pine);
  background: var(--paper);
}

.feature-copy {
  align-self: center;
  grid-column: 7 / span 5;
}

.integrations-copy {
  grid-column: 2 / span 5;
}

.section-number {
  display: block;
  margin-bottom: 18px;
  color: #8d887f;
  font-size: 1.05rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--pine);
  font-weight: 800;
}

.schedule-copy {
  grid-column: 2 / span 5;
  margin-top: 26px;
}

.messages-demo {
  grid-column: 8 / span 4;
  align-self: start;
  margin-top: 26px;
}

.phone-shell {
  position: relative;
  overflow: hidden;
  width: min(100%, 350px);
  max-width: 350px;
  height: 680px;
  margin-left: auto;
  padding: 11px 11px 14px;
  border: 8px solid #16181d;
  border-radius: 38px;
  background: #f7f7f8;
  box-shadow: 0 26px 64px rgb(36 31 24 / 0.2);
}

.phone-status,
.message-header,
.message-composer,
.connection-strip {
  display: flex;
  align-items: center;
}

.phone-status {
  justify-content: space-between;
  padding: 2px 9px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.message-header {
  justify-content: space-between;
  gap: 7px;
  min-height: 68px;
  padding: 2px 8px 8px;
  border-bottom: 1px solid #e3e3e6;
}

.message-header small {
  color: #1877f2;
  font-size: 0.75rem;
  font-weight: 800;
}

.assistant-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 0.82rem;
  font-weight: 820;
  background:
    radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.28), transparent 30%),
    linear-gradient(135deg, #2d8a61 0%, var(--pine) 58%, var(--forest) 100%);
}

.message-thread {
  display: flex;
  flex-direction: column;
  padding-top: 11px;
}

.bubble {
  width: fit-content;
  max-width: 86%;
  margin-bottom: 7px;
  padding: 8px 11px;
  border-radius: 19px;
  font-size: 0.78rem;
  line-height: 1.28;
}

.bubble.assistant {
  color: #17191d;
  background: #e8e8eb;
  border-bottom-left-radius: 5px;
}

.bubble.user {
  margin-left: auto;
  color: white;
  background: #0a84ff;
  border-bottom-right-radius: 5px;
}

.bubble.short {
  max-width: 46%;
}

.imessage-card {
  display: grid;
  width: 72%;
  gap: 4px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #22242a;
  background: #eeeeef;
  border-bottom-left-radius: 5px;
}

.imessage-card small {
  color: #8b8f98;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.imessage-card strong {
  font-size: 0.8rem;
}

.imessage-card span {
  color: #6b7078;
  font-size: 0.72rem;
}

.action-builder button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #c8c1b7;
  border-radius: 999px;
  color: #1258b0;
  background: #fff;
}

.message-composer {
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding: 7px 10px;
  border: 1px solid #d7d8dd;
  border-radius: 999px;
  color: #9ba0a8;
  background: white;
  font-size: 0.78rem;
}

.message-composer em {
  flex: 1;
  font-style: normal;
}

.mic-icon {
  position: relative;
  width: 16px;
  height: 21px;
  flex: 0 0 16px;
}

.mic-icon::before {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 8px;
  height: 12px;
  border: 2px solid #9ba0a8;
  border-radius: 999px;
  content: "";
}

.mic-icon::after {
  position: absolute;
  right: 2px;
  bottom: 1px;
  left: 2px;
  height: 9px;
  border-right: 2px solid #9ba0a8;
  border-bottom: 2px solid #9ba0a8;
  border-left: 2px solid #9ba0a8;
  border-radius: 0 0 999px 999px;
  content: "";
}

.timestamp {
  align-self: center;
  margin: 4px 0 9px;
  color: #8a8f98;
  font-size: 0.68rem;
  font-weight: 700;
}

.imessage-apps {
  gap: 10px;
  margin: 10px -3px 0;
  padding: 8px 11px;
  border-top: 1px solid #d7d8dd;
  background: #e9eaed;
}

.imessage-apps .app-icon {
  width: 29px;
  height: 29px;
  border-radius: 50%;
}

.ios-keyboard {
  display: grid;
  gap: 7px;
  margin: 0 -3px -5px;
  padding: 9px 7px 10px;
  background: #d1d5db;
}

.ios-keyboard div {
  justify-content: center;
  gap: 5px;
}

.ios-keyboard span {
  display: grid;
  min-width: 32px;
  height: 39px;
  place-items: center;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 0 #a7abb2;
  color: #111318;
  font-size: 1rem;
}

.ios-keyboard .home-row {
  padding: 0 16px;
}

.ios-keyboard .lower-row {
  justify-content: space-between;
}

.ios-keyboard .command-row {
  justify-content: stretch;
}

.ios-keyboard .utility-key {
  min-width: 44px;
  color: #20242b;
  background: #b9c0ca;
  font-size: 0.82rem;
  text-transform: lowercase;
}

.ios-keyboard .space-key {
  flex: 1;
  color: #363a42;
  font-size: 0.82rem;
  text-transform: lowercase;
}

.compact-keyboard span {
  min-width: 22px;
  height: 29px;
  font-size: 0.72rem;
}

.compact-keyboard .home-row {
  padding: 0 10px;
}

.compact-keyboard .utility-key {
  min-width: 34px;
  font-size: 0.64rem;
}

.compact-keyboard .space-key {
  font-size: 0.64rem;
}

.proactive-copy {
  grid-column: 7 / span 5;
  margin-top: 26px;
}

.action-builder {
  display: grid;
  grid-column: 2 / span 4;
  gap: 14px;
  align-self: center;
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgb(255 255 255 / 0.68);
  box-shadow: var(--shadow);
}

.builder-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: #f4f1eb;
}

.connection-strip {
  gap: 8px;
}

kbd {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid #cfc7bc;
  border-radius: 9px;
  background: white;
  font: inherit;
  font-size: 0.78rem;
}

.developer-copy {
  grid-column: 4 / span 6;
  margin-top: 18px;
  text-align: center;
}

.pricing-section,
.signup-section,
.final-cta {
  padding: 62px 0;
}

.section-heading {
  width: min(100%, 800px);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p {
  width: min(100%, 620px);
  margin: 0 auto 18px;
  color: var(--muted);
  line-height: 1.62;
}

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
}

.billing-toggle button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.billing-toggle button.active {
  color: white;
  background: var(--black);
}

.pricing-grid {
  display: grid;
  width: min(100%, 840px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}

.price-card {
  display: grid;
  min-height: 448px;
  grid-template-rows: auto minmax(76px, auto) 90px auto 1fr auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow);
}

.price-card.featured {
  color: white;
  background:
    radial-gradient(circle at 76% 76%, rgb(167 210 188 / 0.28) 0, transparent 44%),
    linear-gradient(145deg, var(--forest) 0%, #1e6b49 100%);
  border-color: transparent;
  transform: none;
}

.price-card.featured p,
.price-card.featured small,
.price-card.featured .price em,
.price-card.featured .price span {
  color: rgb(255 255 255 / 0.78);
}

.price-card.featured li::before {
  color: var(--sage);
}

.price-card.featured .dark-button {
  border-color: rgb(255 255 255 / 0.18);
  color: var(--forest);
  background: rgb(244 248 245 / 0.95);
  box-shadow: 0 12px 28px rgb(22 58 43 / 0.2);
}

.price-card h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.price-card > p:first-of-type {
  min-height: 76px;
  margin-bottom: 0;
}

.included-label {
  margin: 0 0 8px;
  font-weight: 650;
}

.price {
  display: flex;
  align-items: end;
  gap: 4px;
  min-height: 90px;
  margin: 0;
}

.price span {
  align-self: start;
  margin-top: 14px;
  font-size: 1.2rem;
}

.price strong {
  font-size: 4.4rem;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.price em {
  margin-bottom: 8px;
  color: var(--muted);
  font-style: normal;
}

.price-card ul {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  margin-right: 9px;
  content: "+";
  color: var(--pine);
  font-weight: 900;
}

.price-card .dark-button,
.price-card .light-button {
  align-self: end;
  width: 100%;
}

.compare-plans {
  width: min(100%, 1040px);
  margin: 58px auto 0;
}

.compare-plans h3 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  text-align: center;
}

.compare-table {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.compare-row {
  display: grid;
  min-height: 56px;
  grid-template-columns: minmax(220px, 1.2fr) minmax(120px, 0.6fr) minmax(120px, 0.6fr);
  align-items: center;
  border-bottom: 1px solid rgb(0 0 0 / 0.07);
  column-gap: 18px;
}

.compare-head {
  min-height: 66px;
  color: var(--ink);
}

.compare-head strong {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.compare-section {
  padding: 28px 0 10px;
  color: #8a867e;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-row b {
  color: var(--pine);
  font-size: 1rem;
  font-weight: 800;
}

.compare-row em {
  color: #bbb6ad;
  font-style: normal;
}

.compare-row small {
  color: #565a62;
  font-size: 0.92rem;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: start;
}

.get-started-page {
  min-height: 100vh;
  padding-top: 128px;
}

.account-page {
  width: min(100% - 48px, var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 128px 0 72px;
}

.auth-shell {
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-card-header {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 30px 32px 18px;
  text-align: center;
}

.auth-logo {
  width: 42px;
  height: 42px;
}

.auth-logo::before {
  top: 20px;
  left: 6px;
  width: 30px;
  height: 4px;
}

.auth-logo::after {
  top: 5px;
  left: 20px;
  width: 4px;
  height: 34px;
}

.auth-card h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.auth-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-card-footer a {
  color: #1f4d9a;
  font-weight: 760;
}

.compact-button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
}

.account-dashboard {
  width: min(100%, 900px);
}

.account-dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.account-dashboard-head h1 {
  margin-bottom: 10px;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.account-dashboard-head p,
.account-panel small {
  color: var(--muted);
  line-height: 1.55;
}

.account-tabs {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
}

.account-tabs button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.account-tabs button.active {
  color: white;
  background: var(--black);
}

.account-panel {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.82);
  box-shadow: var(--shadow);
}

.account-panel h2 {
  margin-bottom: 0;
  font-family: var(--sans);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.account-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-panel li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
  padding-bottom: 10px;
}

.account-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.account-panel b {
  color: var(--ink);
  text-align: right;
  overflow-wrap: anywhere;
}

.account-panel li span {
  min-width: 0;
}

.recent-chat-list li span {
  display: grid;
  gap: 4px;
}

.recent-chat-list strong {
  font: inherit;
  font-weight: 760;
}

.recent-chat-list small {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.45;
}

.account-login-form {
  display: grid;
  gap: 14px;
  padding: 0 32px 24px;
}

.account-login-form label {
  display: grid;
  gap: 7px;
  color: #52555b;
  font-weight: 750;
}

.account-login-form input,
.account-login-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d2cabf;
  border-radius: 14px;
  color: var(--ink);
  background: #fbfaf7;
  outline: none;
}

.account-login-form input:focus,
.account-login-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(28 139 242 / 0.12);
}

.get-started-section h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
}

.signup-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: #52555b;
  font-weight: 750;
}

.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d2cabf;
  border-radius: 14px;
  color: var(--ink);
  background: #fbfaf7;
  outline: none;
}

.signup-form input:focus,
.signup-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(28 139 242 / 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-status.success {
  color: #137a43;
}

.form-status.error {
  color: #bc3030;
}

.final-cta {
  width: 100%;
  max-width: none;
  padding: 94px 24px;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 22% 86%, rgb(167 210 188 / 0.22), transparent 28rem),
    linear-gradient(118deg, var(--forest) 0%, var(--pine) 100%);
}

.final-cta h2 {
  font-family: var(--serif);
  font-style: normal;
}

.final-cta p {
  margin-bottom: 24px;
  color: rgb(255 255 255 / 0.78);
}

.final-cta div {
  justify-content: center;
  gap: 12px;
}

.final-cta h2 em {
  color: white;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.final-cta .dark-button {
  color: var(--forest);
  background: rgb(244 248 245 / 0.95);
}

.final-cta .light-button {
  color: white;
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.28);
}

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 28px, var(--max));
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: 1030px;
  }

  .hero-scene {
    top: 515px;
  }

  .feature-grid-section,
  .signup-section,
  .pricing-grid,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-head {
    display: none;
  }

  .compare-row {
    gap: 8px;
    padding: 12px 0;
  }

  .compare-row > span:first-child {
    font-weight: 760;
  }

  .compare-row > b::before,
  .compare-row > em::before,
  .compare-row > small::before {
    display: inline-block;
    width: 46px;
    color: #8a867e;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .compare-row > :nth-child(2)::before {
    content: "Free";
  }

  .compare-row > :nth-child(3)::before {
    content: "Pro";
  }

  .account-dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-tabs {
    width: 100%;
  }

  .account-tabs button {
    flex: 1;
    padding: 0 10px;
  }

  .recipe-stack,
  .feature-copy,
  .schedule-copy,
  .messages-demo,
  .proactive-copy,
  .action-builder,
  .developer-copy {
    grid-column: auto;
    margin-top: 0;
  }

  .recipe-stack {
    min-height: 610px;
  }

  .integration-card {
    width: min(78vw, 330px);
  }

  .feature-grid-section {
    gap: 38px;
  }

  .phone-shell {
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .life-section,
  .feature-grid-section,
  .pricing-section,
  .signup-section,
  .final-cta,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 1020px;
    padding-top: 88px;
  }

  .announcement {
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.2vw, 3.1rem);
    line-height: 0.96;
  }

  .hero-scene {
    top: 500px;
  }

  .hero p {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  .hero-phone {
    width: min(86vw, 300px);
    height: 492px;
    border-width: 7px;
    border-radius: 40px;
  }

  .hero-thread {
    gap: 7px;
    padding: 12px 6px 66px;
  }

  .bubble {
    font-size: 0.72rem;
  }

  .ios-keyboard {
    gap: 5px;
    padding: 7px 6px 9px;
  }

  .ios-keyboard div {
    gap: 4px;
  }

  .ios-keyboard span {
    min-width: 0;
    flex: 1 1 0;
    height: 31px;
    font-size: 0.82rem;
  }

  .ios-keyboard .home-row {
    padding: 0 9px;
  }

  .ios-keyboard .utility-key {
    min-width: 30px;
    flex: 0 0 30px;
    font-size: 0.64rem;
  }

  .ios-keyboard .space-key {
    font-size: 0.64rem;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .hero-actions,
  .final-cta div {
    flex-direction: column;
  }

  .final-cta {
    width: 100%;
    max-width: none;
    padding: 86px 24px;
  }

  .hero-actions a,
  .final-cta a,
  .hero-actions .dark-button,
  .hero-actions .light-button,
  .final-cta .dark-button,
  .final-cta .light-button {
    width: 100%;
  }

  .icon-track .app-icon {
    width: 60px;
    height: 60px;
    border-radius: 17px;
    font-size: 0.86rem;
  }

  .integration-card:nth-child(2) {
    left: 18px;
  }

  .integration-card:nth-child(3) {
    left: 36px;
  }

  .integration-card.fourth {
    top: 282px;
    left: 12px;
  }

  .recipe-stack {
    position: static;
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .integration-card,
  .integration-card:nth-child(2),
  .integration-card:nth-child(3),
  .integration-card.fourth {
    position: static;
    width: auto;
    min-height: 176px;
    padding: 14px;
    border-radius: 20px;
    transform: none;
  }

  .integration-card h3 {
    font-size: 1rem;
  }

  .integration-card p {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .integration-card button,
  .integration-card small {
    display: none;
  }

  .phone-shell {
    height: 548px;
    border-width: 7px;
    border-radius: 34px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: min(100% - 20px, var(--max));
    height: 68px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .brand-name,
  .header-actions {
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 9px;
  }

  .header-actions .dark-button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .hero {
    min-height: 1008px;
    padding-top: 84px;
  }

  .hero-scene {
    top: 500px;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-phone {
    width: min(88vw, 292px);
    height: 486px;
    padding: 12px 10px 14px;
    border-width: 7px;
    border-radius: 38px;
  }

  .phone-notch {
    width: 126px;
    height: 23px;
  }

  .hero-phone-bar {
    padding: 4px 14px 10px;
  }

  .imessage-header {
    min-height: 66px;
  }

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

  .integration-card,
  .integration-card:nth-child(2),
  .integration-card:nth-child(3),
  .integration-card.fourth {
    min-height: 0;
  }

  .phone-shell {
    height: 548px;
    padding: 9px 8px 12px;
  }
}
