/* imail.pk public website. Pages are generated by scripts/build_website.py; this file is edited directly. */
:root {
  --ink: #0a2f36;
  --ink-deep: #06262d;
  --ink-soft: #46666b;
  --green: #6aad4e;
  --green-dark: #4f913a;
  --green-ink: #3a7428;
  --mint: #e4f2de;
  --mint-light: #f4faf1;
  --aqua: #eff8f5;
  --cream: #fbf9f4;
  --paper: #ffffff;
  --coral: #f28a6b;
  --coral-soft: #fde3dc;
  --coral-ink: #b4532f;
  --coral-light: #fbd3c6;
  --green-light: #a9d98f;
  --sky-soft: #dceff6;
  --sky-ink: #2d6a86;
  --ink-mid: #3c6f7a;
  --stage: #0d1f24;
  --hangup: #c8513a;
  --chrome: #f3f5f2;
  --chrome-dot: #d9dfdb;
  --line: rgba(10, 47, 54, 0.13);
  --line-strong: rgba(10, 47, 54, 0.22);
  --on-dark: #d5f4ef;
  --on-dark-soft: rgba(213, 244, 239, 0.72);
  --shadow: 0 24px 70px rgba(9, 56, 61, 0.11);
  --shadow-sm: 0 10px 30px rgba(9, 56, 61, 0.08);
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --container: 1180px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --serif: "Manrope", Arial, sans-serif;
  --sans: "Manrope", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.02;
}

h1 em,
h2 em {
  color: var(--green-ink);
  font-style: normal;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h4 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 800;
}

p {
  margin-bottom: 16px;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.lede {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.muted {
  color: var(--ink-soft);
}

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  color: var(--paper);
  background: var(--green-ink);
  border: 1px solid var(--green-ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(10, 47, 54, 0.18);
}

.button:active {
  transform: scale(0.98);
}

.button .icon {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--ease);
}

.button:hover .icon,
.text-link:hover .icon {
  transform: translateX(3px);
}

.button--sm {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 14px;
}

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

.button--ghost:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button--light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button--light:hover {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.button--outline-light {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.button--outline-light:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-ink);
  font-weight: 800;
}

.text-link .icon {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--ease);
}

.text-link:hover {
  color: var(--ink);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  width: 26px;
  height: 1px;
  background: var(--green);
  content: "";
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge--live {
  color: var(--green-ink);
  background: var(--mint);
}

.badge--soon {
  color: var(--ink-soft);
  background: rgba(10, 47, 54, 0.07);
}

.badge--free {
  color: var(--coral-ink);
  background: var(--coral-soft);
}

/* Announcement and header */
.announcement {
  color: var(--on-dark);
  background: var(--ink-deep);
  font-size: 13px;
  font-weight: 700;
}

.announcement__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  min-height: 38px;
  padding-block: 6px;
  text-align: center;
}

.announcement p {
  margin: 0;
}

.announcement__badge {
  margin-right: 8px;
  padding: 2px 8px;
  color: var(--ink-deep);
  background: var(--green);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.announcement .icon {
  width: 15px;
  height: 15px;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(251, 249, 244, 0.9);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(9, 56, 61, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.brand__mark img {
  width: 42px;
  height: 42px;
}

.brand__copy {
  display: grid;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.brand__tagline {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  background: rgba(10, 47, 54, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--green-ink);
  background: var(--mint);
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease);
}

.nav-link[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.nav-item--menu {
  position: relative;
}

.mega {
  position: absolute;
  z-index: 50;
  top: calc(100% + 12px);
  left: 50%;
  display: none;
  width: min(620px, calc(100vw - 32px));
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transform: translateX(-38%);
}

.mega.is-open {
  display: block;
}

.mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mega__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background-color 160ms ease;
}

.mega__item:hover {
  background: var(--mint-light);
}

.mega__item strong {
  display: block;
  font-size: 15px;
}

.mega__item small {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.mega__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 12px 4px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.mega__foot a {
  margin-left: auto;
  color: var(--green-ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-login {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.nav-login:hover {
  background: rgba(10, 47, 54, 0.06);
}

.nav-menu__mobile-actions,
.nav-toggle {
  display: none;
}

.nav-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms var(--ease), opacity 180ms ease;
}

.nav-toggle span:nth-child(2) {
  top: 16px;
}

.nav-toggle span:nth-child(3) {
  top: 22px;
}

.nav-toggle span:nth-child(4) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Product icons */
.product-icon {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--green-ink);
  background: var(--mint);
  border-radius: 13px;
  place-items: center;
}

.product-icon--calendar {
  color: var(--sky-ink);
  background: var(--sky-soft);
}

.product-icon--contacts {
  color: var(--coral-ink);
  background: var(--coral-soft);
}

.product-icon--meet {
  color: var(--paper);
  background: var(--ink);
}

.product-icon--soon {
  color: var(--ink-soft);
  background: rgba(10, 47, 54, 0.07);
}

.product-icon--lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.product-icon--lg .icon {
  width: 27px;
  height: 27px;
}

/* Heroes: dark ink gradient on every page */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  color: var(--paper);
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(106, 173, 78, 0.34), transparent 62%),
    radial-gradient(45% 60% at 0% 100%, rgba(106, 173, 78, 0.16), transparent 62%),
    linear-gradient(180deg, var(--ink-deep), var(--ink));
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, var(--ink) 30%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 30%, var(--ink) 30%, transparent 75%);
  pointer-events: none;
}

.hero h1 {
  color: var(--paper);
}

.hero h1 em {
  color: var(--green-light);
}

.hero .lede,
.hero__note {
  color: var(--on-dark-soft);
}

.hero .kicker {
  padding: 6px 14px;
  color: var(--green-light);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.hero .kicker::before {
  display: none;
}

.hero .button:not(.button--ghost):not(.button--light):not(.button--outline-light) {
  color: var(--ink-deep);
  background: var(--green);
  border-color: var(--green);
}

.hero .button:not(.button--ghost):not(.button--light):not(.button--outline-light):hover {
  background: var(--paper);
  border-color: var(--paper);
}

.hero .button--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .button--ghost:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero__grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.hero__copy {
  position: relative;
}

.hero__copy .lede {
  margin-bottom: 32px;
}

.hero__note {
  margin: 18px 0 0;
  font-size: 14px;
}

.hero__note a {
  color: var(--paper);
  font-weight: 800;
}

.hero--center {
  text-align: center;
}

.hero--center .hero__copy {
  max-width: 900px;
  margin-inline: auto;
}

.hero--center .lede {
  margin-inline: auto;
}

.hero--center .actions {
  justify-content: center;
}

.hero .browser,
.hero .meet-art {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

/* Home: the product rises out of the hero */
/* Clip sideways only, so the aurora never widens the page while the product still rises into the next section. */
.hero--showcase {
  overflow: visible;
  overflow-x: clip;
  padding-bottom: 0;
}

.showcase {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 72px auto -160px;
}

.showcase .phone {
  right: -28px;
  bottom: -24px;
  width: 22%;
}

.section.after-showcase {
  padding-top: 240px;
}

/* Product shots */
.shot-stack {
  position: relative;
  padding: 0 0 46px 0;
}

.browser {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: var(--chrome);
  border-bottom: 1px solid var(--line);
}

.browser__bar i {
  width: 10px;
  height: 10px;
  background: var(--chrome-dot);
  border-radius: 50%;
}

.browser__bar span {
  margin-left: 12px;
  padding: 2px 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.browser img {
  width: 100%;
  height: auto;
}

.phone {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 27%;
  min-width: 128px;
  padding: 7px;
  background: var(--ink-deep);
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(6, 38, 45, 0.28);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 23px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.35;
}

.float-card small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
}

.float-card strong {
  display: block;
}

.float-card--left {
  bottom: 22px;
  left: -26px;
}

.float-card--top {
  top: 48px;
  left: -34px;
}

/* Sections */
.section {
  padding: 112px 0;
}

.section--tight {
  padding: 80px 0;
}

.section--soft {
  background: var(--aqua);
}

.section--mint {
  background: var(--mint-light);
}

.section--white {
  background: var(--paper);
}

.section--ink {
  color: var(--paper);
  background: radial-gradient(circle at 12% 0%, rgba(106, 173, 78, 0.2), transparent 40%), var(--ink-deep);
}

.section--ink h2,
.section--ink h3 {
  color: var(--paper);
}

.section--ink p,
.section--ink .lede {
  color: var(--on-dark-soft);
}

.section--ink .kicker {
  color: var(--green-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 18px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--spaced {
  margin-top: 80px;
}

.h3-like {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section-actions {
  margin: 44px 0 0;
}

.section-actions--center {
  display: flex;
  justify-content: center;
}

.section--ink .section-heading p {
  color: var(--on-dark-soft);
}

/* Audience doors */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.door h3 {
  max-width: 420px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.door p {
  max-width: 440px;
}

.door ul {
  display: grid;
  gap: 9px;
  margin: 8px 0 30px;
  padding: 0;
  list-style: none;
}

.door li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
}

.door li .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.door .actions {
  margin-top: auto;
}

.door--personal {
  background: linear-gradient(160deg, var(--mint), var(--mint-light) 70%);
}

.door--personal li .icon {
  color: var(--green-ink);
}

.door--personal p {
  color: var(--ink-soft);
}

.door--business {
  color: var(--paper);
  background: radial-gradient(circle at 100% 0%, rgba(106, 173, 78, 0.28), transparent 45%), var(--ink);
}

.door--business p {
  color: var(--on-dark-soft);
}

.door--business li .icon {
  color: var(--green-light);
}

.door__tag {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.door--personal .door__tag {
  color: var(--green-ink);
}

.door--business .door__tag {
  color: var(--green-light);
}

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

.suite-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

a.suite-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.suite-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.suite-card h3 {
  margin: 0;
  font-size: 21px;
}

.suite-card p {
  margin: 0;
  color: var(--ink-soft);
}

.suite-card .text-link {
  margin-top: auto;
}

.suite-card--soon {
  background: transparent;
  border-style: dashed;
}

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

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  padding: 30px 30px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

a.bento__card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__card h3 {
  margin: 14px 0 6px;
  font-size: 24px;
}

.bento__card p {
  max-width: 460px;
  margin: 0;
  color: var(--ink-soft);
}

.bento__card .text-link {
  margin-top: 14px;
}

.bento__media {
  margin: 26px -30px 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 0 0;
  box-shadow: var(--shadow-sm);
}

.bento__media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: left top;
}

.bento__card--wide .bento__media img {
  height: 300px;
}

.bento__card--dark {
  color: var(--paper);
  background: radial-gradient(circle at 100% 0%, rgba(106, 173, 78, 0.3), transparent 50%), var(--ink);
  border-color: var(--ink);
}

.bento__card--dark p {
  color: var(--on-dark-soft);
}

.bento__card--dark .text-link {
  color: var(--green-light);
}

.bento__card--dark .meet-art {
  margin: 26px 0 -14px;
  padding: 12px;
  border-radius: 16px 16px 0 0;
  box-shadow: none;
}

.bento__card--dark .meet-art__tile {
  font-size: 22px;
}

.bento__card--soon {
  padding-bottom: 30px;
  background: transparent;
  border-style: dashed;
}

.bento__soon {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.bento__soon div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bento__soon strong {
  display: block;
}

.bento__soon small {
  color: var(--ink-soft);
}

/* Feature grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
}

.feature-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.feature .product-icon {
  margin-bottom: 16px;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
}

.section--ink .feature p,
.section--ink .feature-card p {
  color: var(--on-dark-soft);
}

.section--ink .feature .product-icon {
  color: var(--green-light);
  background: rgba(255, 255, 255, 0.08);
}

.feature-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.section--ink .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Split rows */
.split {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
}

.split + .split {
  margin-top: 112px;
}

.split--reverse .split__copy {
  order: 2;
}

.split__copy h2 {
  font-size: clamp(32px, 3.6vw, 46px);
}

.split__copy .lede {
  font-size: 17px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.checklist--flush {
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.checklist .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--green-ink);
}

.section--ink .checklist .icon {
  color: var(--green-light);
}

.checklist strong {
  display: block;
}

.checklist span {
  color: var(--ink-soft);
}

.section--ink .checklist span {
  color: var(--on-dark-soft);
}

.panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel--phone {
  max-width: 330px;
  margin-inline: auto;
  padding: 9px;
  background: var(--ink-deep);
  border: 0;
  border-radius: 38px;
  box-shadow: 0 30px 60px rgba(6, 38, 45, 0.24);
}

.panel--phone img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.panel h3 {
  margin-bottom: 18px;
}

/* Apps strip */
.apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.apps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.apps .icon {
  width: 18px;
  height: 18px;
  color: var(--green-ink);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step::before {
  display: block;
  margin-bottom: 16px;
  color: var(--green-ink);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

/* Pricing */
.price-personal {
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  padding: 44px;
  background: linear-gradient(150deg, var(--mint), var(--mint-light) 75%);
  border-radius: var(--radius-lg);
}

.price-personal h2 {
  margin-bottom: 10px;
}

.price-personal__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 62px;
  line-height: 1;
}

.price-personal__amount small {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
}

.plans-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.plans-top .section-heading {
  margin-bottom: 0;
}

.plan-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

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

.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.billing-toggle button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--ink);
}

.billing-toggle button span {
  padding: 1px 7px;
  color: var(--green-ink);
  background: var(--mint);
  border-radius: 999px;
  font-size: 11px;
}

.select-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 6px 0 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.select-field select {
  min-height: 40px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--mint-light);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.plan-card--featured {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.plan-card__tag {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 3px 12px;
  color: var(--ink-deep);
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.plan-card__label {
  margin-bottom: 4px;
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card--featured .plan-card__label {
  color: var(--green-light);
}

.plan-card h3 {
  font-size: 21px;
}

.plan-card__price {
  margin: 10px 0 2px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
}

.plan-card__period {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.plan-card--featured .plan-card__period,
.plan-card--featured li {
  color: var(--on-dark);
}

.plan-card .button {
  width: 100%;
  margin-bottom: 22px;
}

.plan-card--featured .button {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.plan-card--featured .button:hover {
  background: var(--mint);
  border-color: var(--mint);
}

.plan-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-card li .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--green-ink);
}

.plan-card--featured li .icon {
  color: var(--green-light);
}

.plans-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

/* position: relative keeps the visually hidden cell labels inside the scroll box, so the page itself never scrolls sideways. */
.compare-wrap {
  position: relative;
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare th:first-child,
.compare td:first-child {
  text-align: left;
}

.compare thead th {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare tbody th {
  font-weight: 700;
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.compare .icon {
  width: 19px;
  height: 19px;
  margin: 0 auto;
  color: var(--green-ink);
}

.compare .dash {
  color: var(--ink-soft);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 0;
  background: transparent;
  border: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}

.faq-item__toggle i {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-item__toggle i::before,
.faq-item__toggle i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms var(--ease);
}

.faq-item__toggle i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__toggle[aria-expanded="true"] i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  padding: 0 52px 20px 0;
  color: var(--ink-soft);
}

.faq-item__answer p {
  margin: 0;
}

.faq-item__answer a {
  color: var(--green-ink);
  font-weight: 800;
}

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

.setup-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.setup-card ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.setup-card ol li + li {
  margin-top: 6px;
}

.setup-card .product-icon {
  margin-bottom: 16px;
}

.profile-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.profile-form label {
  flex: 1 1 200px;
}

.profile-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.settings-table-wrap {
  position: relative;
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.settings-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.settings-table th,
.settings-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.settings-table thead th {
  background: var(--mint-light);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.settings-table tr:last-child th,
.settings-table tr:last-child td {
  border-bottom: 0;
}

.settings-table code,
.inline-code {
  padding: 2px 8px;
  background: var(--mint-light);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.callout {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
}

.callout .icon {
  color: var(--green-ink);
}

.callout p {
  margin: 0;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-card p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-card .text-link {
  margin-top: auto;
  overflow-wrap: anywhere;
}

/* Meet illustration */
.meet-art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
  background: var(--stage);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.meet-art__tile {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  border-radius: 12px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 34px;
}

.meet-art__tile:nth-child(1) {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--green-light), var(--green));
}

.meet-art__tile:nth-child(2) {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--coral-light), var(--coral));
}

.meet-art__tile:nth-child(3) {
  color: var(--paper);
  background: linear-gradient(135deg, var(--ink-mid), var(--ink));
}

.meet-art__tile:nth-child(4) {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--aqua), var(--mint));
}

.meet-art__bar {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 10px;
  padding-top: 6px;
}

.meet-art__bar span {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  place-items: center;
}

.meet-art__bar span:last-child {
  background: var(--hangup);
}

.meet-art__bar .icon {
  width: 18px;
  height: 18px;
}

/* Address card (personal) */
.address-card {
  position: relative;
  color: var(--ink);
  max-width: 470px;
  margin-inline: auto;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.address-card__label {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-card__value {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.address-card__value span {
  color: var(--green-ink);
}

.address-card__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.address-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--mint-light);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.address-card__list .icon {
  color: var(--green-ink);
}

/* Closing call to action */
.cta-band {
  padding: 0 0 112px;
}

.cta-band__card {
  display: grid;
  align-items: center;
  grid-template-columns: 1.3fr auto;
  gap: 36px;
  padding: 56px;
  color: var(--paper);
  background: radial-gradient(circle at 90% 0%, rgba(106, 173, 78, 0.32), transparent 45%), var(--ink);
  border-radius: var(--radius-lg);
}

.cta-band__card h2 {
  margin-bottom: 10px;
  color: var(--paper);
  font-size: clamp(32px, 3.6vw, 48px);
}

.cta-band__card p {
  margin: 0;
  color: var(--on-dark-soft);
  font-size: 17px;
}

/* 404 */
.not-found {
  padding: 120px 0 140px;
  text-align: center;
}

.not-found__code {
  margin-bottom: 8px;
  color: var(--green-ink);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 110px;
  line-height: 1;
}

.not-found .lede {
  margin-inline: auto;
}

.not-found .actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 78px 0 34px;
  color: var(--on-dark);
  background: var(--ink-deep);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.3fr;
  gap: 36px;
}

.footer__brand p {
  max-width: 290px;
  margin: 18px 0;
  color: var(--on-dark-soft);
  font-size: 14px;
}

.brand--footer .brand__tagline {
  color: var(--on-dark-soft);
}

.footer__open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper);
  font-weight: 800;
}

.footer__open .icon {
  width: 17px;
  height: 17px;
}

.footer__column h2 {
  margin-bottom: 16px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.footer__column a {
  color: var(--on-dark-soft);
  transition: color 160ms ease;
}

.footer__column a:hover {
  color: var(--paper);
}

.footer__insider {
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.footer__insider-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__insider-link img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer__insider-link span {
  display: block;
  color: var(--on-dark-soft);
  font-size: 12px;
}

.footer__insider-link strong {
  display: block;
  color: var(--paper);
  font-size: 17px;
}

.footer__insider p {
  margin: 14px 0;
  color: var(--on-dark-soft);
  font-size: 13px;
}

.footer__socials {
  display: flex;
  gap: 8px;
}

.footer__socials a {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  place-items: center;
  transition: background-color 160ms ease;
}

.footer__socials a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer__socials .icon {
  width: 17px;
  height: 17px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark-soft);
  font-size: 13px;
}

.footer__bottom p {
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 18px;
}

.footer__legal a:hover {
  color: var(--paper);
}

/* Reveal on scroll: only when script.js has marked the page, so content never stays hidden without it. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1140px) {
  .nav-link {
    padding-inline: 10px;
  }

  .brand__tagline {
    display: none;
  }

  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__brand,
  .footer__insider {
    grid-column: span 3;
  }

  .footer__insider {
    max-width: 520px;
  }
}

@media (max-width: 1140px) {
  .showcase .phone {
    right: 8px;
  }
}

@media (max-width: 980px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel. */
  .site-header {
    background: var(--cream);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-actions .button {
    display: none;
  }

  .nav-menu {
    position: fixed;
    z-index: 45;
    top: var(--menu-top, 116px);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 24px 32px;
    overflow-y: auto;
    background: var(--cream);
    border-top: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 18px;
  }

  .mega {
    position: static;
    width: 100%;
    margin: 4px 0 10px;
    padding: 8px;
    box-shadow: none;
    transform: none;
  }

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

  .nav-menu__mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }

  .nav-menu__mobile-actions .button {
    width: 100%;
  }

  .hero__grid,
  .split,
  .faq-layout,
  .price-personal,
  .cta-band__card {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__copy {
    order: 0;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero__visual {
    max-width: 720px;
  }

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

  .suite-grid,
  .feature-grid,
  .setup-grid,
  .contact-grid,
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section {
    padding: 84px 0;
  }

  .split + .split {
    margin-top: 84px;
  }

  .cta-band {
    padding-bottom: 84px;
  }

  .faq-layout {
    gap: 24px;
  }
}

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

  .bento__card--wide {
    grid-column: auto;
  }

  .showcase {
    margin-bottom: -80px;
  }

  .section.after-showcase {
    padding-top: 140px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .nav {
    min-height: 68px;
  }

  .nav-login {
    padding-inline: 10px;
  }

  .suite-grid,
  .feature-grid,
  .feature-grid--two,
  .feature-grid--four,
  .setup-grid,
  .contact-grid,
  .plan-grid,
  .mega__grid {
    grid-template-columns: 1fr;
  }

  .door,
  .price-personal,
  .cta-band__card,
  .panel,
  .address-card {
    padding: 28px 22px;
  }

  .door {
    min-height: 0;
  }

  .plans-top,
  .plan-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .billing-toggle {
    justify-content: center;
    flex-wrap: wrap;
  }

  .billing-toggle button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .select-field {
    justify-content: space-between;
  }

  .float-card--left,
  .float-card--top {
    left: 8px;
  }

  .phone {
    right: 4px;
  }

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

  .footer__brand,
  .footer__insider {
    grid-column: span 2;
  }

  .faq-item__answer {
    padding-right: 0;
  }

  .not-found__code {
    font-size: 84px;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 22px;
  }

  .nav-login {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }
}

/* =====================================================================
   Motion (public website). Transform and opacity only; looping scenes
   pause off screen (script.js) and everything stops with reduced motion.
   ===================================================================== */

/* Hero aurora: slow drifting light behind every hero */
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero::after {
  position: absolute;
  inset: -40% -25%;
  z-index: 0;
  background:
    radial-gradient(26% 32% at 24% 34%, rgba(106, 173, 78, 0.5), transparent 70%),
    radial-gradient(22% 28% at 76% 24%, rgba(45, 106, 134, 0.55), transparent 70%),
    radial-gradient(22% 26% at 62% 80%, rgba(242, 138, 107, 0.26), transparent 70%);
  content: "";
  filter: blur(24px);
  animation: aurora 24s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(5%, -4%, 0) rotate(9deg) scale(1.1);
  }
  100% {
    transform: translate3d(-6%, 5%, 0) rotate(-7deg) scale(1.03);
  }
}

/* Headline: words rise in one after another */
.split-words .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  vertical-align: top;
}

.split-words .word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: word-up 900ms var(--ease) forwards;
  animation-delay: calc(120ms + var(--i) * 55ms);
}

@keyframes word-up {
  to {
    transform: none;
  }
}

.hero h1 em .word > span {
  background: linear-gradient(90deg, var(--green-light), var(--green), var(--sky-soft), var(--green-light));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: word-up 900ms var(--ease) forwards, shimmer 8s linear infinite;
  animation-delay: calc(120ms + var(--i) * 55ms), 0s;
}

@keyframes shimmer {
  to {
    background-position: -300% 0;
  }
}

.hero .kicker,
.hero .lede,
.hero .actions,
.hero__note,
.hero__trust {
  animation: fade-up 900ms var(--ease) both;
}

.hero .kicker {
  animation-delay: 40ms;
}

.hero .lede {
  animation-delay: 420ms;
}

.hero .actions {
  animation-delay: 560ms;
}

.hero__note,
.hero__trust {
  animation-delay: 680ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--on-dark-soft);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust .icon {
  width: 18px;
  height: 18px;
  color: var(--green-light);
}

/* Showcase: tilted product that settles as you scroll, with glow and floating cards */
.tilt-stage {
  perspective: 1600px;
}

.tilt {
  transform: rotateX(var(--tilt, 0deg)) scale(var(--tilt-scale, 1));
  transform-origin: 50% 0;
  transition: transform 120ms linear;
}

.glow-behind {
  position: relative;
}

.glow-behind::before {
  position: absolute;
  inset: 8% 6% -6%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(106, 173, 78, 0.55), transparent 70%),
    radial-gradient(40% 50% at 75% 60%, rgba(45, 106, 134, 0.55), transparent 70%);
  content: "";
  filter: blur(40px);
  animation: glow-breathe 7s ease-in-out infinite alternate;
}

@keyframes glow-breathe {
  from {
    opacity: 0.65;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

.showcase .browser {
  animation: fade-up 1100ms var(--ease) 500ms both;
}

.toast-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 12px 16px 12px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(6, 38, 45, 0.3);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  opacity: 0;
  animation: toast-in 800ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards, bob 7s ease-in-out infinite;
  animation-delay: var(--delay, 1s), calc(var(--delay, 1s) + 800ms);
}

.toast-float strong {
  display: block;
}

.toast-float small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
}

.toast-float .product-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.toast-float .product-icon .icon {
  width: 19px;
  height: 19px;
}

.toast-float--a {
  top: 16%;
  left: -9%;
}

.toast-float--b {
  top: 4%;
  right: -7%;
}

.toast-float--c {
  bottom: 30%;
  left: -6%;
}

.toast-float--d {
  bottom: 18%;
  right: -8%;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--sky-soft));
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Buttons: a sheen sweeps across on hover */
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  content: "";
  transform: translateX(-130%);
  transition: transform 700ms var(--ease);
}

.button:hover::after {
  transform: translateX(130%);
}

/* Cards lift and glow on hover (pointer devices only) */
@media (hover: hover) {
  .lift {
    transition: translate 320ms var(--ease), box-shadow 320ms var(--ease), border-color 200ms ease;
  }

  .lift:hover {
    translate: 0 -6px;
    box-shadow: 0 28px 60px rgba(9, 56, 61, 0.14);
  }
}

/* Reveal: rise and sharpen, staggered within [data-stagger] */
.js-reveal .reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 900ms var(--ease), filter 800ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Marquee of apps */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--ink) 12%, var(--ink) 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--ink) 12%, var(--ink) 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  padding: 14px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.marquee__track .icon {
  color: var(--green-ink);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Product tabs (auto-advancing carousel) */
.tabs {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  align-items: center;
  gap: 48px;
}

.tabs__list {
  display: grid;
  gap: 10px;
}

.tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px 22px;
  overflow: hidden;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 22px;
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.tab[aria-selected="true"] {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.tab strong {
  display: block;
  font-size: 19px;
}

.tab small {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.tab__progress {
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.tab[aria-selected="true"] .tab__progress {
  animation: tab-progress var(--tab-duration, 6s) linear forwards;
}

.tabs.is-paused .tab__progress {
  animation-play-state: paused;
}

.tabs.is-manual .tab__progress {
  animation: none;
  transform: scaleX(1);
}

@keyframes tab-progress {
  to {
    transform: scaleX(1);
  }
}

.tabs.is-enhanced .tabs__panels {
  position: relative;
  display: grid;
}

.tabs.is-enhanced .tab-panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 500ms var(--ease), transform 650ms var(--ease);
  pointer-events: none;
}

.tabs.is-enhanced .tab-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.tabs.is-enhanced.is-instant .tab-panel {
  transition: none;
}

.marquee-title {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.panel-link {
  margin-top: 18px;
}

.soon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.soon-row .badge {
  padding: 6px 14px;
  font-size: 14px;
}

.soon-row .badge .icon {
  width: 16px;
  height: 16px;
}

.door__address {
  margin: 0 0 18px;
  color: var(--green-ink);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.glow-behind {
  isolation: isolate;
}

/* Feature rows built around a motion graphic */
.story {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
}

.story + .story {
  margin-top: 120px;
}

.story--reverse .story__copy {
  order: 2;
}

.story__copy h2 {
  font-size: clamp(32px, 3.8vw, 50px);
}

.story__copy .lede {
  font-size: 17px;
}

/* ---- Motion graphics: shared stage ---- */
.mg {
  position: relative;
  container-type: inline-size;
}

.mg-stage {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  color: var(--paper);
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(106, 173, 78, 0.2), transparent 70%),
    linear-gradient(160deg, var(--ink), var(--ink-deep));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(6, 38, 45, 0.28);
}

.mg-stage::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 6cqw 6cqw;
  content: "";
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, var(--ink), transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 50%, var(--ink), transparent 80%);
}

.mg-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 6.4cqw;
  height: 6.4cqw;
  color: var(--green-ink);
  background: var(--mint);
  border-radius: 50%;
  font-size: 2.1cqw;
  font-weight: 800;
  place-items: center;
}

.mg-card {
  color: var(--ink);
  background: var(--paper);
  border-radius: 2.6cqw;
  box-shadow: 0 1.4cqw 4cqw rgba(0, 0, 0, 0.28);
}

/* ---- Sorter: mail flows through the filter into Inbox or Junk ---- */
.mg-gate {
  position: absolute;
  top: 16%;
  bottom: 16%;
  left: 52%;
  width: 0.7cqw;
  background: linear-gradient(transparent, var(--green-light), transparent);
  border-radius: 1cqw;
  box-shadow: 0 0 4cqw var(--green);
  animation: gate-pulse 1.6s ease-in-out infinite;
}

@keyframes gate-pulse {
  50% {
    opacity: 0.4;
  }
}

.mg-gate-badge {
  position: absolute;
  top: 5%;
  left: 52%;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 0.8cqw 2cqw;
  color: var(--green-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 2.1cqw;
  font-weight: 800;
  transform: translateX(-50%);
}

.mg-gate-badge .icon {
  width: 2.8cqw;
  height: 2.8cqw;
}

.mg-letter {
  position: absolute;
  top: 50%;
  left: 4%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2cqw;
  width: 36cqw;
  margin-top: -6.5cqw;
  padding: 2.2cqw 2.6cqw;
  color: var(--ink);
  background: var(--paper);
  border-radius: 2.6cqw;
  box-shadow: 0 1.4cqw 4cqw rgba(0, 0, 0, 0.3);
  font-size: 2.2cqw;
  line-height: 1.3;
  opacity: 0;
  animation: letter-ok 10s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}

.mg-letter:first-of-type {
  opacity: 1;
  transform: translate(31cqw, 0);
}

.mg-letter b {
  display: block;
  font-size: 2.5cqw;
}

.mg-letter small {
  display: block;
  color: var(--ink-soft);
  font-size: 2.1cqw;
}

.mg-letter--spam {
  animation-name: letter-spam;
}

.mg-letter--spam .mg-avatar {
  color: var(--coral-ink);
  background: var(--coral-soft);
}

.mg-flag {
  position: absolute;
  top: -2.2cqw;
  right: -1.4cqw;
  padding: 0.5cqw 1.6cqw;
  color: var(--paper);
  background: var(--green-ink);
  border-radius: 999px;
  font-size: 1.9cqw;
  font-style: normal;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.6);
  animation: flag-pop 10s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  animation-delay: var(--d, 0s);
}

.mg-letter--spam .mg-flag {
  background: var(--hangup);
}

.mg-letter:first-of-type .mg-flag {
  opacity: 1;
  transform: none;
}

@keyframes letter-ok {
  0% {
    opacity: 0;
    transform: translate(-22cqw, 0) scale(0.9);
  }
  6% {
    opacity: 1;
    transform: translate(-14cqw, 0) scale(1);
  }
  22%,
  34% {
    opacity: 1;
    transform: translate(31cqw, 0) scale(1);
  }
  48% {
    opacity: 1;
    transform: translate(55cqw, -21cqw) scale(0.55);
  }
  54%,
  100% {
    opacity: 0;
    transform: translate(57cqw, -21cqw) scale(0.45);
  }
}

@keyframes letter-spam {
  0% {
    opacity: 0;
    transform: translate(-22cqw, 0) scale(0.9);
  }
  6% {
    opacity: 1;
    transform: translate(-14cqw, 0) scale(1);
  }
  22%,
  34% {
    opacity: 1;
    transform: translate(31cqw, 0) scale(1);
  }
  48% {
    opacity: 1;
    transform: translate(55cqw, 21cqw) rotate(-8deg) scale(0.55);
  }
  54%,
  100% {
    opacity: 0;
    transform: translate(57cqw, 21cqw) rotate(-8deg) scale(0.45);
  }
}

@keyframes flag-pop {
  0%,
  24% {
    opacity: 0;
    transform: scale(0.6);
  }
  28%,
  44% {
    opacity: 1;
    transform: scale(1);
  }
  50%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.mg-bin {
  position: absolute;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.6cqw 2.6cqw;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2.2cqw;
  font-size: 2.4cqw;
  font-weight: 800;
}

.mg-bin .icon {
  width: 3.2cqw;
  height: 3.2cqw;
  color: var(--green-light);
}

.mg-bin--inbox {
  top: 12%;
}

.mg-bin--junk {
  bottom: 12%;
  color: var(--coral-light);
}

.mg-bin--junk .icon {
  color: var(--coral);
}

/* ---- Invite: an invitation travels out and comes back accepted ---- */
.mg-invite {
  display: grid;
  grid-template-columns: 34% 1fr;
  align-items: center;
  gap: 4cqw;
  padding: 6cqw 5cqw;
}

.mg-invite__source {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8cqw;
  padding: 3.6cqw;
  font-size: 2.8cqw;
}

.mg-invite__source b {
  font-size: 3.6cqw;
}

.mg-invite__source small {
  color: var(--ink-soft);
  font-size: 2.6cqw;
}

.mg-chip-icon {
  display: grid;
  width: 6.4cqw;
  height: 6.4cqw;
  margin-bottom: 1cqw;
  color: var(--sky-ink);
  background: var(--sky-soft);
  border-radius: 1.8cqw;
  place-items: center;
}

.mg-chip-icon .icon {
  width: 3.4cqw;
  height: 3.4cqw;
}

.mg-routes {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3.4cqw;
  font-size: 2.6cqw;
}

.mg-route {
  display: grid;
  grid-template-columns: 1fr 27cqw;
  align-items: center;
  gap: 2cqw;
}

.mg-line {
  position: relative;
  container-type: inline-size;
  height: 0.5cqw;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 1.4cqw, transparent 1.4cqw 2.6cqw);
  border-radius: 1cqw;
}

.mg-dot {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  width: 2.2em;
  height: 2.2em;
  margin: -1.1em 0 0 -1.1em;
  color: var(--ink-deep);
  background: var(--green-light);
  border-radius: 50%;
  box-shadow: 0 0 1.6em rgba(106, 173, 78, 0.9);
  opacity: 0;
  place-items: center;
  animation: dot-travel 4.5s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}

.mg-dot .icon {
  width: 1.1em;
  height: 1.1em;
}

@keyframes dot-travel {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }
  8% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  40% {
    opacity: 1;
    transform: translateX(100cqw) scale(1);
  }
  46%,
  100% {
    opacity: 0;
    transform: translateX(100cqw) scale(0.5);
  }
}

.mg-dest {
  display: grid;
  gap: 1cqw;
  padding: 2.2cqw 2.4cqw;
}

.mg-dest b {
  font-size: 2.8cqw;
}

.mg-ok {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.6em;
  padding: 0.35em 0.9em;
  color: var(--green-ink);
  background: var(--mint);
  border-radius: 999px;
  font-size: 2.3cqw;
  font-weight: 800;
  animation: ok-pop 4.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  animation-delay: var(--d, 0s);
}

.mg-ok .icon {
  width: 1.2em;
  height: 1.2em;
}

@keyframes ok-pop {
  0%,
  40% {
    opacity: 0;
    transform: scale(0.5);
  }
  48%,
  88% {
    opacity: 1;
    transform: scale(1);
  }
  96%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* ---- Meet: a live call with the speaker changing ---- */
.mg-meet {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2.4cqw;
  padding: 3cqw;
}

.mg-meet__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8cqw;
}

.mg-tile {
  position: relative;
  display: grid;
  border-radius: 2.4cqw;
  font-size: 4.6cqw;
  font-weight: 800;
  place-items: center;
}

.mg-tile:nth-child(1) {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--green-light), var(--green));
}

.mg-tile:nth-child(2) {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--coral-light), var(--coral));
}

.mg-tile:nth-child(3) {
  color: var(--paper);
  background: linear-gradient(135deg, var(--ink-mid), var(--ink));
}

.mg-tile:nth-child(4) {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--aqua), var(--mint));
}

.mg-tile::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0.6cqw var(--paper), 0 0 3cqw rgba(255, 255, 255, 0.35);
  content: "";
  opacity: 0;
  animation: speaker 8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.mg-tile em {
  position: absolute;
  bottom: 1.4cqw;
  left: 1.6cqw;
  padding: 0.3cqw 1.2cqw;
  color: var(--paper);
  background: rgba(6, 38, 45, 0.55);
  border-radius: 999px;
  font-size: 1.8cqw;
  font-style: normal;
}

.mg-eq {
  position: absolute;
  top: 1.6cqw;
  right: 1.8cqw;
  display: flex;
  align-items: flex-end;
  gap: 0.5cqw;
  height: 3cqw;
  opacity: 0;
  animation: speaker 8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.mg-eq b {
  width: 0.7cqw;
  height: 100%;
  background: var(--paper);
  border-radius: 1cqw;
  transform-origin: 50% 100%;
  animation: eq 0.9s ease-in-out infinite;
}

.mg-eq b:nth-child(2) {
  animation-delay: 0.2s;
}

.mg-eq b:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes speaker {
  0% {
    opacity: 0;
  }
  4%,
  22% {
    opacity: 1;
  }
  26%,
  100% {
    opacity: 0;
  }
}

.mg-bubble {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 19%;
  padding: 1.6cqw 2.4cqw;
  color: var(--ink);
  background: var(--paper);
  border-radius: 2.4cqw 2.4cqw 0.6cqw 2.4cqw;
  box-shadow: 0 1.4cqw 4cqw rgba(0, 0, 0, 0.3);
  font-size: 2.1cqw;
  animation: bubble 8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  animation-delay: 3s;
}

.mg-bubble b {
  display: block;
  color: var(--green-ink);
  font-size: 1.8cqw;
}

@keyframes bubble {
  0%,
  10% {
    opacity: 0;
    transform: translateY(2cqw) scale(0.8);
  }
  16%,
  50% {
    opacity: 1;
    transform: none;
  }
  58%,
  100% {
    opacity: 0;
    transform: translateY(-1cqw) scale(0.95);
  }
}

.mg-meet__bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 1.6cqw;
}

.mg-meet__bar span {
  display: grid;
  width: 6.4cqw;
  height: 6.4cqw;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  place-items: center;
}

.mg-meet__bar .is-on {
  color: var(--ink-deep);
  background: var(--green-light);
}

.mg-meet__bar .is-end {
  background: var(--hangup);
}

.mg-meet__bar .icon {
  width: 3cqw;
  height: 3cqw;
}

/* ---- DNS readiness: records check one by one ---- */
.mg-dns-panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.mg-dns-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.mg-dns-panel__head > span {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--green-ink);
  background: var(--mint);
  border-radius: 12px;
  place-items: center;
}

.mg-dns-panel__head b {
  font-size: 18px;
}

.mg-dns-panel__head em {
  margin-left: auto;
  padding: 4px 12px;
  color: var(--green-ink);
  background: var(--mint-light);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mg-dns {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-dns li {
  display: grid;
  grid-template-columns: 30px 70px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: 14px;
}

.mg-dns small {
  color: var(--ink-soft);
}

.mg-state {
  position: relative;
  width: 26px;
  height: 26px;
}

.mg-spin,
.mg-tick {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.mg-spin {
  border: 3px solid var(--mint);
  border-top-color: var(--green);
  opacity: 0;
  animation: dns-spin-vis 7s steps(1) infinite, spin 800ms linear infinite;
  animation-delay: calc(var(--i) * 0.7s), 0s;
}

.mg-tick {
  display: grid;
  color: var(--paper);
  background: var(--green-ink);
  place-items: center;
  animation: dns-tick 7s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  animation-delay: calc(var(--i) * 0.7s);
}

.mg-tick .icon {
  width: 16px;
  height: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dns-spin-vis {
  0% {
    opacity: 1;
  }
  12%,
  100% {
    opacity: 0;
  }
}

@keyframes dns-tick {
  0%,
  11% {
    opacity: 0;
    transform: scale(0.4);
  }
  16%,
  88% {
    opacity: 1;
    transform: scale(1);
  }
  96%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* ---- Autocomplete: typing a name finds the right person ---- */
.mg-auto {
  display: grid;
  padding: 5cqw;
  place-items: center;
}

.mg-compose {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3cqw 3.4cqw 3.4cqw;
  color: var(--ink);
  background: var(--paper);
  border-radius: 2.8cqw;
  box-shadow: 0 1.6cqw 5cqw rgba(0, 0, 0, 0.3);
  font-size: 3cqw;
}

.mg-compose__title {
  margin: 0 0 2cqw;
  font-weight: 800;
}

.mg-compose__row {
  display: grid;
  grid-template-columns: 12cqw 1fr;
  align-items: center;
  padding: 1.4cqw 0;
  border-bottom: 1px solid var(--line);
}

.mg-compose__row > span {
  color: var(--ink-soft);
}

.mg-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1cqw;
  min-height: 5cqw;
}

.mg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
  padding: 0.6cqw 1.6cqw;
  color: var(--green-ink);
  background: var(--mint);
  border-radius: 999px;
  font-weight: 800;
  animation: pill-in 6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.mg-pill .icon {
  width: 2.6cqw;
  height: 2.6cqw;
}

.mg-typed {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  animation: typed 6s steps(2) infinite;
}

.mg-caret {
  width: 0.3cqw;
  height: 3.2cqw;
  background: var(--green-ink);
  animation: caret 1s steps(1) infinite;
}

.mg-suggest {
  position: absolute;
  z-index: 2;
  top: 30%;
  left: 18%;
  width: 60%;
  padding: 1cqw;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2cqw;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.22);
  opacity: 0;
  animation: suggest 6s var(--ease) infinite;
}

.mg-suggest > div {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.2cqw 1.4cqw;
  border-radius: 1.4cqw;
}

.mg-suggest .is-hl {
  background: var(--mint-light);
}

.mg-suggest b {
  display: block;
  font-size: 2.8cqw;
}

.mg-suggest small {
  display: block;
  color: var(--ink-soft);
  font-size: 2.4cqw;
}

.mg-compose__body {
  display: grid;
  gap: 1.4cqw;
  padding-top: 2.4cqw;
}

.mg-compose__body i {
  height: 1.4cqw;
  background: var(--cream);
  border-radius: 1cqw;
}

.mg-compose__body i:nth-child(2) {
  width: 82%;
}

.mg-compose__body i:nth-child(3) {
  width: 56%;
}

@keyframes typed {
  0%,
  6% {
    clip-path: inset(0 100% 0 0);
  }
  18%,
  50% {
    clip-path: inset(0 0 0 0);
  }
  52%,
  100% {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes suggest {
  0%,
  20% {
    opacity: 0;
    transform: translateY(-1.4cqw);
  }
  26%,
  48% {
    opacity: 1;
    transform: none;
  }
  52%,
  100% {
    opacity: 0;
    transform: translateY(-1cqw);
  }
}

@keyframes pill-in {
  0%,
  50% {
    opacity: 0;
    transform: scale(0.5);
  }
  56%,
  92% {
    opacity: 1;
    transform: none;
  }
  98%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* ---- Orbit: the apps iMail works with circle the mark ---- */
.mg-orbit {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  aspect-ratio: 1;
}

.mg-orbit__ring {
  position: absolute;
  border: 1px dashed rgba(10, 47, 54, 0.18);
  border-radius: 50%;
}

.mg-orbit__ring--outer {
  inset: 12%;
}

.mg-orbit__ring--inner {
  inset: 30%;
}

.mg-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 22%;
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: 28%;
  box-shadow: 0 0 0 1.4cqw rgba(106, 173, 78, 0.14), 0 30px 60px rgba(9, 56, 61, 0.18);
  place-items: center;
  transform: translate(-50%, -50%);
  animation: core-pulse 3.2s ease-in-out infinite;
}

.mg-orbit__core img {
  width: 58%;
  height: auto;
}

@keyframes core-pulse {
  50% {
    box-shadow: 0 0 0 3cqw rgba(106, 173, 78, 0.06), 0 30px 60px rgba(9, 56, 61, 0.18);
  }
}

.mg-orbit__spin {
  position: absolute;
  inset: 12%;
  animation: orbit 60s linear infinite;
}

.mg-orbit__spin--inner {
  inset: 30%;
  animation-duration: 40s;
  animation-direction: reverse;
}

.mg-orbit__spin > span {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transform: rotate(var(--a)) translateY(-38cqw);
}

.mg-orbit__spin--inner > span {
  transform: rotate(var(--a)) translateY(-19cqw);
}

/* The pill turns back by its own angle and against the ring, so it always reads upright. */
.mg-orbit__spin > span > b {
  display: inline-flex;
  rotate: calc(-1 * var(--a));
  animation: orbit 60s linear infinite reverse;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.6cqw 2.6cqw;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 2.6cqw;
  font-weight: 800;
  white-space: nowrap;
}

.mg-orbit__spin--inner > span > b {
  color: var(--green-ink);
  background: var(--mint);
  border-color: transparent;
  animation-duration: 40s;
  animation-direction: normal;
}

.mg-orbit__spin > span .icon {
  width: 3.4cqw;
  height: 3.4cqw;
  color: var(--green-ink);
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Security scenes ---- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sec-card {
  padding: 22px 22px 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
}

.sec-card h3 {
  margin-top: 18px;
  color: var(--paper);
}

.sec-card p {
  margin: 0;
  color: var(--on-dark-soft);
  font-size: 15px;
}

.mg-sec {
  display: grid;
  height: 150px;
  overflow: hidden;
  background: radial-gradient(60% 70% at 50% 50%, rgba(106, 173, 78, 0.18), transparent 70%), rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  place-items: center;
}

.mg-link {
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 0 18px;
}

.mg-node {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--ink-deep);
  background: var(--green-light);
  border-radius: 14px;
  place-items: center;
}

.mg-wire {
  position: relative;
  container-type: inline-size;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 6px, transparent 6px 12px);
}

.mg-wire i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: packet 2.4s linear infinite;
}

.mg-wire i:nth-child(2) {
  animation-delay: 0.8s;
}

.mg-wire i:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes packet {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  10%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100cqw);
  }
}

.mg-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--ink-deep);
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(106, 173, 78, 0.25);
  place-items: center;
  transform: translate(-50%, -50%);
  animation: lock-pulse 2.4s ease-in-out infinite;
}

.mg-lock .icon {
  width: 16px;
  height: 16px;
}

@keyframes lock-pulse {
  50% {
    box-shadow: 0 0 0 12px rgba(106, 173, 78, 0.08);
  }
}

.mg-ring {
  position: absolute;
  width: 112px;
  height: 112px;
  border: 2px dashed rgba(169, 217, 143, 0.5);
  border-radius: 50%;
  animation: orbit 14s linear infinite;
}

.mg-shield {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  color: var(--green-light);
  background: rgba(106, 173, 78, 0.16);
  border-radius: 22px;
  place-items: center;
}

.mg-shield .icon {
  width: 36px;
  height: 36px;
}

.mg-beam {
  position: absolute;
  top: 22%;
  left: 30%;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-light), transparent);
  box-shadow: 0 0 12px var(--green);
  animation: beam 2.2s ease-in-out infinite alternate;
}

@keyframes beam {
  to {
    transform: translateY(80px);
  }
}

.mg-otp {
  gap: 6px;
}

.mg-otp__ring {
  position: absolute;
  width: 112px;
  height: 112px;
  transform: rotate(-90deg);
}

.mg-otp__ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3;
}

.mg-otp__ring .mg-otp__left {
  stroke: var(--green-light);
  stroke-dasharray: 120;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: otp-left 6s linear infinite;
}

@keyframes otp-left {
  to {
    stroke-dashoffset: 120;
  }
}

.mg-otp__codes {
  display: grid;
}

.mg-otp__codes b {
  grid-area: 1 / 1;
  color: var(--paper);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  animation: otp-code 12s steps(1) infinite;
}

.mg-otp__codes b:nth-child(2) {
  animation-delay: -6s;
}

@keyframes otp-code {
  0% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.mg-keys {
  align-content: center;
  gap: 8px;
  padding: 0 18px;
  place-items: stretch;
}

.mg-keys span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  animation: key-in 6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  animation-delay: calc(var(--i) * 0.3s);
}

.mg-keys .icon {
  width: 16px;
  height: 16px;
  color: var(--green-light);
}

.mg-keys em {
  margin-left: auto;
  padding: 2px 8px;
  color: var(--paper);
  background: var(--hangup);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  animation: revoke 6s ease infinite;
}

.mg-keys .is-revoked {
  animation-name: key-in, key-revoked;
  animation-duration: 6s, 6s;
}

@keyframes key-in {
  0% {
    opacity: 0;
    transform: translateX(-12px);
  }
  10%,
  90% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

@keyframes revoke {
  0%,
  50% {
    opacity: 0;
  }
  58%,
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes key-revoked {
  0%,
  52% {
    text-decoration-color: transparent;
  }
  58%,
  100% {
    text-decoration: line-through;
  }
}

/* ---- Typewriter address ---- */
.typewriter {
  white-space: nowrap;
}

.typewriter__word {
  color: var(--ink);
}

.typewriter__caret {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin: 0 -3px -0.08em 0;
  background: var(--green-ink);
  animation: caret 1s steps(1) infinite;
}

.address-card__value .typewriter__word {
  color: var(--ink);
}

@media (hover: hover) {
  .plan-card,
  .setup-card,
  .contact-card,
  .feature-card,
  .suite-card,
  .step,
  .door {
    transition: translate 320ms var(--ease), box-shadow 320ms var(--ease), border-color 200ms ease;
  }

  .plan-card:hover,
  .setup-card:hover,
  .contact-card:hover,
  .feature-card:hover,
  .suite-card:hover,
  .step:hover,
  .door:hover {
    translate: 0 -6px;
    box-shadow: 0 28px 60px rgba(9, 56, 61, 0.14);
  }
}

/* ---- Steps with a connector that draws in ---- */
.steps--connected {
  position: relative;
}

.steps__line {
  position: absolute;
  top: 54px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--sky-ink));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1400ms var(--ease) 300ms;
}

.steps--connected.is-visible .steps__line,
.no-js .steps__line {
  transform: scaleX(1);
}

.steps--connected .step {
  position: relative;
  z-index: 1;
}

/* ---- Closing call to action: a light runs around the border ---- */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.cta-glow {
  position: relative;
  isolation: isolate;
}

.cta-glow::before {
  position: absolute;
  inset: -2px;
  z-index: -1;
  padding: 2px;
  background: conic-gradient(from var(--angle), transparent 0 70%, var(--green-light) 80%, var(--green) 88%, transparent 96%);
  border-radius: inherit;
  content: "";
  -webkit-mask: linear-gradient(var(--ink) 0 0) content-box, linear-gradient(var(--ink) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--ink) 0 0) content-box exclude, linear-gradient(var(--ink) 0 0);
  animation: border-spin 6s linear infinite;
}

@keyframes border-spin {
  to {
    --angle: 360deg;
  }
}

.mg * {
  animation-fill-mode: backwards;
}

/* Pricing: figures flip in when a pointer changes billing, storage or region */
.plan-card__price.is-changing {
  animation: price-flip 450ms var(--ease);
}

@keyframes price-flip {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Looping scenes rest while off screen (script.js marks the visible ones) */
.js-motion .mg:not(.is-playing),
.js-motion .mg:not(.is-playing) *,
.js-motion .mg:not(.is-playing)::before,
.js-motion .mg:not(.is-playing) *::before,
.js-motion .mg:not(.is-playing) *::after,
.js-motion .marquee:not(.is-playing) .marquee__track,
.js-motion .hero:not(.is-playing)::after,
.js-motion .hero:not(.is-playing) .glow-behind::before,
.js-motion .hero:not(.is-playing) .toast-float,
.js-motion .hero:not(.is-playing) h1 em .word > span,
.js-motion .hero:not(.is-playing) .typewriter__caret,
.js-motion .cta-glow:not(.is-playing)::before {
  animation-play-state: paused !important;
}

/* Responsive for the motion components */
@media (max-width: 1140px) {
  .sec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toast-float--a,
  .toast-float--c {
    left: 2%;
  }

  .toast-float--b,
  .toast-float--d {
    right: 2%;
  }
}

@media (max-width: 980px) {
  .tabs,
  .story {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story--reverse .story__copy {
    order: 0;
  }

  .story + .story {
    margin-top: 88px;
  }

  .tabs__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .toast-float--c,
  .toast-float--d {
    display: none;
  }

  .steps__line {
    display: none;
  }
}

@media (max-width: 680px) {
  .sec-grid,
  .tabs__list {
    grid-template-columns: 1fr;
  }

  .toast-float {
    max-width: 230px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .toast-float--a {
    top: -6%;
  }

  .toast-float--b {
    display: none;
  }

  .hero__trust {
    gap: 8px 16px;
    font-size: 13px;
  }
}

/* Reduced motion: every scene rests on a still frame */
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .glow-behind::before,
  .mg *,
  .mg::before,
  .marquee__track,
  .cta-glow::before,
  .tab__progress,
  .typewriter__caret,
  .button::after {
    animation: none !important;
  }

  .split-words .word > span,
  .hero .kicker,
  .hero .lede,
  .hero .actions,
  .hero__note,
  .hero__trust,
  .showcase .browser,
  .toast-float {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .tilt {
    transform: none !important;
  }

  .tab-panel {
    transition: none;
  }

  .mg-dot {
    opacity: 0;
  }

  .mg-pill,
  .mg-ok,
  .mg-tick,
  .mg-keys span,
  .mg-keys em {
    opacity: 1;
    transform: none;
  }

  .mg-spin,
  .mg-suggest,
  .mg-bubble {
    opacity: 0;
  }

  .mg-typed {
    clip-path: none;
  }

  .mg-tile:first-child::after {
    opacity: 1;
  }

  .steps__line {
    transform: scaleX(1);
    transition: none;
  }
}
