/* Solid's site (14 November 2026, fourth pass): light, in Zomato's language like the Solid app since
   #1183: white cards on the app's pale ground, ink pills, the app's glossy 3D objects for colour, the
   app's real light screens in a phone, and plain words. See apps/site/DESIGN.md. */

@font-face {
  font-family: "Solid";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/solid-m-400.woff2") format("woff2");
}
@font-face {
  font-family: "Solid";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/solid-m-500.woff2") format("woff2");
}
@font-face {
  font-family: "Solid";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/solid-m-600.woff2") format("woff2");
}
@font-face {
  font-family: "Solid";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/solid-m-700.woff2") format("woff2");
}
@font-face {
  font-family: "Solid";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/solid-m-800.woff2") format("woff2");
}

:root {
  color-scheme: light;
  /* The member app's light palette (packages/ui/src/palettes.json). */
  --page: #ffffff;
  --ground: #f4f5fc;
  --card: #ffffff;
  --ink: #1c1c1c;
  --t2: #5f6170;
  --t3: #727483;
  --line: #e8eaec;
  --line-2: #d9dbe3;
  --white: #ffffff;
  --green: #1d7a46;
  --focus: #2f6fed;
  /* Pastel washes, as the app's Home banners wear them. */
  --wash-pink: #fde9ef;
  --wash-lilac: #efeefe;
  --wash-mint: #e6f6ee;
  --wash-sand: #fdf3e4;
  --shadow: 0 1px 2px rgba(20, 22, 40, 0.04), 0 10px 30px rgba(20, 22, 40, 0.07);
  --shadow-lg: 0 2px 6px rgba(20, 22, 40, 0.05), 0 30px 60px rgba(20, 22, 40, 0.12);
  --font:
    "Solid", "Kohinoor Devanagari", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --head: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 12px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type */

.display {
  font-size: clamp(2.375rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.lede {
  max-width: 36em;
  color: var(--t2);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.fine {
  color: var(--t3);
  font-size: 0.875rem;
}

.link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.link:hover {
  text-decoration-thickness: 2px;
}

:lang(hi) .display,
:lang(hi) .h2,
:lang(hi) .h3 {
  letter-spacing: 0;
  line-height: 1.25;
}

:lang(hi) .lede,
:lang(hi) p {
  line-height: 1.7;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
}

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

.btn--ink,
.btn--white {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover,
.btn--white:hover {
  background: #33343a;
}

.btn--ghost {
  border-color: var(--line-2);
  background: var(--white);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

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

/* Header */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--head);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.bar.is-scrolled {
  border-bottom-color: var(--line);
}

.bar-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand small {
  margin-left: 2px;
  color: var(--t3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bar-in > nav {
  margin-left: auto;
}

.nav {
  display: none;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--t2);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--ground);
}

.bar-cta {
  display: none;
  gap: 10px;
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-btn svg {
  width: 22px;
  height: 22px;
}

.menu {
  inset: calc(var(--head) + 8px) var(--gutter) auto auto;
  width: min(320px, calc(100vw - 2 * var(--gutter)));
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.menu a:hover {
  background: var(--ground);
}

.menu-cta a {
  margin-top: 6px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.menu-cta a:hover {
  background: #33343a;
}

@media (min-width: 960px) {
  .nav,
  .bar-cta {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .bar-cta {
    margin-left: 8px;
  }
}

/* Sections */

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section--ground {
  background: var(--ground);
}

.section + .section:not(.section--ground) {
  padding-top: 0;
}

.section--ground + .section {
  padding-top: clamp(56px, 8vw, 104px);
}

.head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.head--center {
  justify-items: center;
  text-align: center;
}

.head--center .lede {
  margin: 0 auto;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--wash-pink) 0%, #fff6f8 55%, var(--page) 100%);
}

.hero--lilac {
  background: linear-gradient(180deg, var(--wash-lilac) 0%, #f7f7ff 55%, var(--page) 100%);
}

.hero--sand {
  background: linear-gradient(180deg, var(--wash-sand) 0%, #fffaf2 55%, var(--page) 100%);
}

.hero-in {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.hero-copy .actions {
  margin-top: 6px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.kicker img {
  width: 22px;
  height: 22px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 4px;
  color: var(--t2);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.facts svg {
  width: 18px;
  height: 18px;
  color: var(--ink);
}

.hero-art {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-art .phone {
  width: min(300px, 74vw);
}

.hero-obj {
  position: absolute;
  width: clamp(88px, 13vw, 150px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(20, 22, 40, 0.16));
}

.hero-obj--a {
  top: 6%;
  left: max(0px, calc(50% - 250px));
}

.hero-obj--b {
  bottom: 8%;
  right: max(0px, calc(50% - 250px));
}

@media (min-width: 960px) {
  .hero-in {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .hero-art .phone {
    width: 320px;
  }
}

@media (max-width: 520px) {
  .hero-obj {
    display: none;
  }
}

/* The phone: the app's own screen, whole, in a body. */

.phone {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: #121216;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    var(--shadow-lg);
}

.phone img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: 38px;
  background: var(--ground);
  object-fit: cover;
}

.phone--gyms img {
  aspect-ratio: 1320 / 2868;
}

/* Store badges and the download code */

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

.badge img {
  width: auto;
  height: 52px;
}

.badges--sm .badge img {
  height: 40px;
}

@media (max-width: 400px) {
  .badges:not(.badges--sm) .badge img {
    height: 46px;
  }
}

.qr {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

.qr img {
  width: 116px;
  height: 116px;
}

.qr span {
  display: grid;
  gap: 4px;
  max-width: 11em;
  color: var(--t2);
  font-size: 0.9375rem;
}

.qr strong {
  color: var(--ink);
  font-size: 1rem;
}

@media (hover: hover) and (pointer: fine) {
  .qr {
    display: flex;
  }
}

/* Feature tiles: the app's objects with a name and a line (Zomato's "What's waiting for you"). */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.tile {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow);
}

.tile img {
  width: clamp(72px, 9vw, 104px);
  height: auto;
  margin: -6px 0 6px -6px;
}

.tile h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.tile p {
  color: var(--t2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

/* The kinds of gym: objects with names; pictures, not buttons. */

.kinds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kinds li {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px 16px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.kinds img {
  width: clamp(64px, 10vw, 96px);
  height: auto;
}

@media (min-width: 900px) {
  .kinds {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

/* Steps: a phone over a number and a line. */

.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.step {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.step-art {
  display: flex;
  justify-content: center;
  height: 340px;
  padding: 28px 28px 0;
  overflow: hidden;
  background: var(--ground);
}

.step-art .phone {
  width: 240px;
  height: max-content;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.step-art--end {
  align-items: flex-end;
  padding: 0 28px 28px;
}

.step-art--end .phone {
  border-radius: 46px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.step-art--end .phone img {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.step-art .phone img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.step-art--end .phone img {
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
}

.step-copy {
  display: grid;
  gap: 8px;
  padding: 22px 24px 26px;
}

.step-copy::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
}

.step-copy p {
  color: var(--t2);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Split: words beside one phone. */

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--wash-lilac);
  overflow: hidden;
}

.split--mint {
  background: var(--wash-mint);
}

.split--sand {
  background: var(--wash-sand);
}

.split--pink {
  background: var(--wash-pink);
}

.split-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.split-art {
  display: flex;
  justify-content: center;
  position: relative;
}

.split-art .phone {
  width: min(280px, 70vw);
}

.split-art .hero-obj {
  width: clamp(84px, 11vw, 132px);
}

.points {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.points img {
  width: 40px;
  height: 40px;
}

.points strong {
  display: block;
  font-weight: 700;
}

.points span {
  color: var(--t2);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split--flip .split-art {
    order: -1;
  }

  .split--flip {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* Two doors: for gyms, for brands (Zomato's "Powering India's changing lifestyles"). */

.duo {
  display: grid;
  gap: 20px;
}

.door {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  padding-right: clamp(120px, 16vw, 200px);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.door:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.door p {
  color: var(--t2);
}

.door .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
}

.door .go svg {
  width: 18px;
  height: 18px;
}

.door img {
  position: absolute;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  width: clamp(110px, 14vw, 170px);
  height: auto;
}

.door--pink {
  background: linear-gradient(135deg, var(--white) 30%, var(--wash-pink));
}

.door--lilac {
  background: linear-gradient(135deg, var(--white) 30%, var(--wash-lilac));
}

@media (min-width: 900px) {
  .duo {
    grid-template-columns: 1fr 1fr;
  }
}

/* The download card */

.download {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--wash-lilac), var(--wash-pink));
}

.download-copy {
  display: grid;
  gap: 16px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .download {
    grid-template-columns: 1fr auto;
  }
}

/* Questions in two columns */

.faq-wrap {
  display: grid;
  gap: 28px;
}

.faq-head {
  display: grid;
  gap: 12px;
  align-content: start;
}

.faq-more {
  color: var(--t2);
}

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

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

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ground);
  font-weight: 600;
  line-height: 1;
}

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

.faq details p {
  padding: 0 0 22px;
  color: var(--t2);
  max-width: 44em;
}

@media (min-width: 900px) {
  .faq-wrap {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
}

/* Checklist card (what to keep ready) */

.ready {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
}

.ready-list {
  display: grid;
  gap: 4px;
}

.ready-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ready-list li:last-child {
  border-bottom: 0;
}

.ready-list svg {
  width: 24px;
  height: 24px;
  color: var(--green);
}

.ready-list strong {
  display: block;
}

.ready-list span {
  color: var(--t2);
  font-size: 0.9375rem;
}

.ready-note {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--ground);
  color: var(--t2);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .ready {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .ready-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .ready-list li:nth-last-child(2) {
    border-bottom: 0;
  }
}

/* Phones in a row (the desk) */

.desk {
  display: grid;
  gap: 20px;
}

.desk li {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--ground);
  text-align: center;
}

.desk .phone {
  width: min(250px, 66vw);
}

.desk p {
  color: var(--t2);
}

@media (min-width: 900px) {
  .desk {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Terms */

.terms {
  display: grid;
  gap: 16px;
}

.term {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.term p {
  color: var(--t2);
}

.terms-note {
  margin-top: 20px;
  color: var(--t2);
  max-width: 52em;
}

@media (min-width: 720px) {
  .terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .terms {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Footer */

.foot {
  padding: clamp(48px, 6vw, 72px) 0 40px;
  background: var(--ground);
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  gap: 32px;
}

.foot-lead {
  margin: 12px 0 16px;
  max-width: 22em;
  color: var(--t2);
}

.foot h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.foot ul {
  display: grid;
  gap: 10px;
}

.foot li {
  color: var(--t2);
}

.foot a {
  color: var(--t2);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot .soon {
  color: var(--t3);
}

.foot-legal {
  display: grid;
  gap: 6px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  color: var(--t3);
  font-size: 0.875rem;
}

@media (min-width: 720px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .foot-grid {
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  }
}

/* Legal and help pages */

.legal {
  max-width: 760px;
  padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.legal-head {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.legal-head .lede {
  font-size: 1.0625rem;
}

.legal section {
  margin-top: 36px;
}

.legal h2 {
  margin: 0 0 12px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.legal h3 {
  margin: 22px 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.legal p,
.legal li {
  color: #3d3f4a;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul,
.legal ol {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 1.3em;
  list-style: disc;
}

.legal ol {
  list-style: decimal;
}

.legal a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

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

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

.legal th {
  background: var(--ground);
}

.legal .card {
  margin-top: 16px;
  padding: 20px 22px;
}

.legal .icon {
  width: 24px;
  height: 24px;
}

.licences {
  display: grid;
  gap: 18px;
}

.licence-text {
  max-height: 22em;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ground);
  color: var(--t2);
  font-size: 0.8125rem;
  white-space: pre-wrap;
}

.lost {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: clamp(56px, 10vw, 120px) 0;
}

/* Motion: the hero rises once; nothing waits on scrolling to appear. */

.hero-rise {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-rise--2 {
  animation-delay: 0.06s;
}

.hero-rise--3 {
  animation-delay: 0.12s;
}

.hero-rise--4 {
  animation-delay: 0.18s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

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

  .hero-rise {
    animation: none;
  }

  .btn,
  .door {
    transition: none;
  }
}

@media print {
  .bar,
  .foot,
  .menu-btn {
    display: none;
  }
}

/* Register in three steps (the owners' page) */

.register {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 48px);
}

.register-head {
  display: grid;
  gap: 14px;
  align-content: start;
}

.numbered {
  display: grid;
  gap: 18px;
  counter-reset: num;
}

.numbered li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}

.numbered li::before {
  counter-increment: num;
  content: counter(num);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.numbered p {
  color: var(--t2);
}

.help-line {
  color: var(--t2);
}

.help-line a {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 900px) {
  .register {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
}

/* A button inside a legal or help page keeps its own colours. */
.legal a.btn {
  text-decoration: none;
}

.legal a.btn--ink,
.legal a.btn--white {
  color: var(--white);
}

.legal a.btn--ghost {
  color: var(--ink);
}

/* The brands page (16 November 2026, after Zomato's brand-ads page, section for section): the hero
   with a fan of the app's real ad screens, the formats behind tabs with a live preview, targeting, and
   the form. No numbers Solid doesn't have and no brands it hasn't worked with. */

.ad-hero .hero-copy {
  align-content: center;
}

.ad-hero .lede {
  max-width: 34ch;
}

.fan {
  position: relative;
  height: 600px;
}

.fan .phone {
  position: absolute;
  top: 0;
  left: 50%;
  width: 280px;
  transform: translateX(-50%);
}

.fan .phone--side {
  top: 54px;
  width: 236px;
  opacity: 0.55;
  filter: saturate(0.9);
}

.fan .phone--left {
  transform: translateX(-118%) rotate(-5deg);
}

.fan .phone--right {
  transform: translateX(18%) rotate(5deg);
}

.fan .phone--front {
  z-index: 2;
}

@media (max-width: 640px) {
  .fan {
    height: auto;
  }

  .fan .phone--front {
    position: relative;
    left: auto;
    margin: 0 auto;
    transform: none;
    width: min(280px, 74vw);
  }

  .fan .phone--side {
    display: none;
  }
}

/* Tabs: every panel is in the page for search and without the script; the script shows one. */

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.tab {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  white-space: nowrap;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--ground);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.tabs:not(.is-live) {
  display: none;
}

@media (max-width: 420px) {
  .tabs {
    gap: 8px;
  }

  .tab {
    padding: 0 16px;
  }
}

.panel {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.panel + .panel {
  margin-top: 56px;
}

.panel[hidden] {
  display: none;
}

.panel-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  max-width: 560px;
}

.panel-copy .lede strong {
  color: var(--ink);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.checks li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
}

.checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--green);
}

.panel-copy .actions {
  margin-top: 6px;
}

.panel-art {
  display: grid;
  justify-items: center;
  padding: 24px 0;
  background: radial-gradient(closest-side, var(--wash-lilac), rgba(239, 238, 254, 0));
}

.panel-art .phone {
  width: min(290px, 72vw);
}

@media (min-width: 900px) {
  .panel {
    grid-template-columns: 1fr 1fr;
  }
}

/* Try your creative: a switch on the button, the fields under it, the preview over the real screen. */

.switch {
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: var(--line-2);
  transition: background-color 0.15s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(20, 22, 40, 0.2);
  transition: transform 0.15s ease;
}

.try-btn {
  padding-left: 14px;
}

.try-btn[aria-pressed="true"] {
  border-color: var(--ink);
}

.try-btn[aria-pressed="true"] .switch {
  background: var(--ink);
}

.try-btn[aria-pressed="true"] .switch::after {
  transform: translateX(16px);
}

.try {
  display: none;
  gap: 12px;
  max-width: 420px;
}

.is-trying .try {
  display: grid;
}

.try label {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.try input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.try input[type="file"] {
  padding: 10px 12px;
  border-style: dashed;
  font-size: 0.875rem;
}

.screen {
  position: relative;
  container-type: inline-size;
  border-radius: 38px;
  overflow: hidden;
}

.phone .screen img {
  display: block;
}

.phone .over img {
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
}

.over {
  position: absolute;
  display: none;
  overflow: hidden;
}

.is-trying .over {
  display: grid;
}

.over--banner {
  left: 3%;
  top: 64.6%;
  width: 94%;
  height: 21.6%;
  border-radius: 4cqw;
  background: var(--ground);
}

.over--banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.over--banner .ad {
  position: absolute;
  left: 4.5%;
  top: 6%;
}

.ad {
  padding: 0.4cqw 1.6cqw;
  border-radius: 1.4cqw;
  background: rgba(28, 28, 28, 0.72);
  color: var(--white);
  font-size: 2.6cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.over--card {
  left: 17.6%;
  top: 27.6%;
  width: 64.8%;
  height: 35.6%;
  align-content: center;
  justify-items: center;
  gap: 1.4cqw;
  padding: 4cqw;
  background: #fffeff;
  text-align: center;
}

.over--card .logo {
  display: grid;
  place-items: center;
  width: 24cqw;
  height: 24cqw;
  margin-bottom: 1.2cqw;
  border-radius: 5cqw;
  background: #1c1c1c;
  overflow: hidden;
  color: var(--white);
  font-size: 4.6cqw;
  font-weight: 800;
  line-height: 1;
}

.over--card .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.over--card .brand-name {
  color: var(--t2);
  font-size: 3.2cqw;
}

.over--card .offer {
  font-size: 6.4cqw;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.over--card .ad {
  background: transparent;
  color: var(--t2);
  padding: 0;
}

.over--code {
  left: 30%;
  top: 67.4%;
  width: 40%;
  height: 4.2%;
  place-items: center;
  background: #f6f7fc;
  font-size: 4cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.over--use {
  left: 12%;
  top: 74.2%;
  width: 76%;
  height: 4%;
  place-items: center;
  background: #252525;
  color: var(--white);
  font-size: 3.9cqw;
  font-weight: 600;
}

.js-only {
  display: none;
}

.has-js .js-only {
  display: inline-flex;
}

/* Targeting (Zomato's three cards and the line under them) */

.aims {
  display: grid;
  gap: 20px;
}

.aim {
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: start;
  padding: 32px 24px;
  text-align: center;
}

.aim-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wash-lilac);
}

.aim-icon svg {
  width: 26px;
  height: 26px;
}

.aim:nth-child(2) .aim-icon {
  background: var(--wash-pink);
}

.aim:nth-child(3) .aim-icon {
  background: var(--wash-mint);
}

.aim p {
  max-width: 34ch;
  color: var(--t2);
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.chips-row li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ground);
  font-size: 0.8125rem;
  font-weight: 600;
}

.aims-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 32px auto 0;
  padding: 12px 22px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--t2);
  font-size: 0.9375rem;
  text-align: center;
}

.aims-note a {
  color: var(--ink);
  font-weight: 700;
}

@media (min-width: 900px) {
  .aims {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Ready to grow your brand? (Zomato's form, which opens WhatsApp to Solid's team) */

.talk {
  display: grid;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.talk .head {
  gap: 8px;
  margin-bottom: 8px;
}

.talk .h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.talk label {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.talk input,
.talk textarea {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.talk textarea {
  min-height: 96px;
  resize: vertical;
}

.talk .row2 {
  display: grid;
  gap: 16px;
}

.talk .btn {
  width: 100%;
  margin-top: 4px;
}

.talk .fine {
  text-align: center;
}

@media (min-width: 640px) {
  .talk .row2 {
    grid-template-columns: 1fr 1fr;
  }
}
