/* Mawa marketing site — calm, editorial product presentation */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --accent: #05c6cb;
  --accent-hover: #04b1b6;
  --accent-dark: #05777a;
  --accent-ink: #063f41;
  --accent-soft: #e8fafa;
  --ink: #202725;
  --ink-soft: #45504d;
  --muted: #74807d;
  --bg: #fcfcfa;
  --surface: #ffffff;
  --soft: #f3f7f6;
  --card: #ecefed;
  --border: #d9e5e2;
  --orange: #d37b2a;
  --red: #b53d3d;
  --shadow-sm: 0 1px 2px rgba(24, 38, 35, 0.05);
  --shadow-md: 0 12px 30px rgba(24, 38, 35, 0.08);
  --shadow-phone: 0 22px 48px rgba(24, 38, 35, 0.15);
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1180px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 118px);
}

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

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

.section__head {
  max-width: 740px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.section__head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section__head h2::after {
  width: 48px;
  height: 4px;
  margin: 17px auto 0;
  display: block;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.section__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.eyebrow,
.hero__eyebrow,
.scene__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 5px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
}

.accent-text {
  color: var(--accent-dark);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: rgba(252, 252, 250, 0.94);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav.is-scrolled {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__links a,
.nav__mobile a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav__links a:hover {
  color: var(--accent-dark);
}

.nav__cta {
  display: flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 740;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.nav__burger {
  position: relative;
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 0;
  background: transparent;
}

.nav__burger span,
.nav__burger::before,
.nav__burger::after {
  position: absolute;
  left: 9px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__burger::before {
  top: 12px;
}

.nav__burger span {
  top: 18px;
}

.nav__burger::after {
  top: 24px;
}

.nav__burger.is-open span {
  opacity: 0;
}

.nav__burger.is-open::before {
  transform: translateY(6px) rotate(45deg);
}

.nav__burger.is-open::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  border-bottom: 4px solid var(--accent);
  background: var(--accent-soft);
}

.hero__grid {
  min-height: calc(100vh - var(--nav-h));
  padding-block: clamp(64px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.hero__text {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid #a9e7e8;
  border-radius: 999px;
  background: var(--surface);
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  max-width: 710px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.4vw, 5.15rem);
  letter-spacing: -0.055em;
}

.hero__sub {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.7vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero__note svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.hero__visual {
  position: relative;
  min-height: clamp(360px, 42vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual::before {
  display: none;
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(2, 119, 123, 0.16));
}

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

.store-badge {
  position: relative;
  min-width: 178px;
  min-height: 56px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #0f1413;
  border-radius: 12px;
  background: #1d2422;
  color: #fff;
}

.store-badge > svg {
  width: 25px;
  height: 30px;
  flex: none;
  fill: currentColor;
}

.store-badge__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store-badge__small {
  font-size: 0.66rem;
}

.store-badge__big {
  font-size: 1.02rem;
  font-weight: 700;
}

.store-badge__soon {
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 2px 7px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Phone frames */
.device {
  --device-frame: 7px;
  --device-radius: 39px;
  --device-screen-radius: 32px;
  --device-notch-top: 7px;
  --device-notch-width: 96px;
  --device-notch-height: 24px;
  position: relative;
  width: min(300px, 80vw);
  flex: none;
  padding: var(--device-frame);
  border-radius: var(--device-radius);
  background: #111817;
  box-shadow: var(--shadow-phone);
}

.device::after {
  position: absolute;
  top: 19%;
  right: -2px;
  width: 2px;
  height: 10%;
  border-radius: 0 2px 2px 0;
  background: #111817;
  content: "";
}

.device--sm {
  width: 240px;
}

.device--xs {
  --device-frame: 5px;
  --device-radius: 29px;
  --device-screen-radius: 24px;
  --device-notch-top: 5px;
  --device-notch-width: 64px;
  --device-notch-height: 16px;
  width: 208px;
  box-shadow: 0 16px 34px rgba(24, 38, 35, 0.12);
}

.device__notch {
  position: absolute;
  z-index: 5;
  top: var(--device-notch-top);
  left: 50%;
  width: var(--device-notch-width);
  height: var(--device-notch-height);
  border-radius: 0 0 13px 13px;
  background: #111817;
  transform: translateX(-50%);
}

.device__screen {
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: var(--device-screen-radius);
  background: #fff;
  isolation: isolate;
}

.device__screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.hero__visual > .device {
  width: min(320px, 78vw);
}

/* Storyboards */
.flow {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 126px);
}

.storyboard {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 38px;
  align-items: start;
}

.storyboard--driver,
.storyboard--four {
  max-width: 1000px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 28px;
}

.storyboard--two {
  max-width: 570px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 64px;
}

.storyboard--single {
  max-width: 240px;
  grid-template-columns: minmax(0, 1fr);
}

.storyboard--maid {
  max-width: 1120px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 20px;
}

.storyboard__step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.storyboard__cap {
  max-width: 218px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.storyboard__cap .n {
  width: 27px;
  height: 27px;
  margin: 0 auto 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.74rem;
  font-weight: 800;
}

.storyboard__cap b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.98rem;
}

.storyboard__cap--plain {
  margin-top: 20px;
}

.feature-block {
  width: 100%;
}

.feature-block__head {
  max-width: 670px;
  margin: 0 auto clamp(38px, 5vw, 56px);
  text-align: center;
}

.feature-block__head .eyebrow {
  margin-bottom: 14px;
}

.feature-block__head h3 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
}

.feature-block__head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.feature-block--tint,
.feature-block--white {
  padding: clamp(36px, 5vw, 58px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.feature-block--tint {
  background: var(--soft);
}

.feature-block--white {
  background: var(--surface);
}

.routine-feature {
  margin-top: clamp(72px, 8vw, 104px);
}

.viewpoint {
  max-width: 760px;
  margin-inline: auto;
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--border);
}

.viewpoint + .viewpoint {
  margin-top: clamp(50px, 7vw, 78px);
}

.viewpoint h4 {
  margin-bottom: 34px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  text-align: center;
}

.maid-handoff {
  max-width: 820px;
  margin: clamp(70px, 8vw, 104px) auto 0;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--accent);
  text-align: center;
}

.maid-handoff .scene__step {
  margin-bottom: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-ink);
  color: #fff;
}

.maid-handoff h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.maid-handoff p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--accent-ink);
}

/* Two-column product scenes */
.scene {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(44px, 6vw, 80px);
}

.scene--rev .scene__media {
  order: 2;
}

.scene__media {
  min-width: 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene__step {
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.scene__text h3 {
  max-width: 520px;
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
}

.scene__text > p {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.scene__list {
  max-width: 520px;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}

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

.scene__list li svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
  fill: var(--accent);
}

.scene__list b {
  color: var(--ink);
}

.device-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 16px);
}

.device-row--translation {
  flex-wrap: nowrap;
}

.device-row--translation .device {
  width: min(238px, calc((100% - 60px) / 2));
  max-width: none;
}

.flow-arrow {
  width: 28px;
  height: 28px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.flow-arrow svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.translate-compare {
  width: 100%;
  max-width: 390px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #afe8e9;
  border-radius: 18px;
  background: var(--surface);
}

.translate-compare__row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.translate-compare__tag {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.translate-compare__val {
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.translate-compare__val.out {
  border: 1px solid #cadbd7;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.translate-compare__mid {
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 760;
}

.translate-compare__mid svg {
  width: 18px;
  height: 18px;
}

/* Built-in Hindi driver screen */
.screen {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
}

.screen__statusbar {
  padding: 11px 17px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 750;
}

.icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.icons svg {
  width: 13px;
  height: 9px;
}

.screen__header {
  padding: 6px 17px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen__header img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.screen__header .ico {
  width: 19px;
  height: 19px;
}

.screen__header .ico svg {
  width: 100%;
  height: 100%;
}

.screen__body {
  flex: 1;
  padding: 4px 13px;
}

.dtabs {
  padding: 3px 2px 10px;
  display: flex;
  gap: 11px;
  color: #919997;
  font-size: 9px;
  font-weight: 720;
}

.dtabs .active {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
}

.tcard {
  padding: 10px;
  border-radius: 13px;
  background: var(--card);
}

.tcard__top {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.badge-wait {
  padding: 3px 8px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-size: 7.5px;
  font-weight: 780;
}

.tcard__date {
  color: #89918f;
  font-size: 7px;
  font-weight: 700;
}

.tcard__who {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
}

.loc {
  margin-bottom: 9px;
  display: flex;
  gap: 7px;
}

.loc__num {
  width: 18px;
  height: 18px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #47504e;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.loc__label,
.loc__desc {
  display: block;
}

.loc__label {
  color: #858e8c;
  font-size: 8px;
  font-weight: 700;
}

.loc__desc {
  color: #111;
  font-size: 9.5px;
  font-weight: 720;
  line-height: 1.35;
}

.tactions {
  margin-bottom: 7px;
  display: flex;
  gap: 6px;
}

.tbtn {
  flex: 1;
  padding: 7px 3px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 8px;
  font-weight: 760;
}

.tbtn--reject {
  background: #47504e;
}

.tbtn--accept {
  background: #18bfc1;
}

.tbtn--translate {
  width: 100%;
  padding: 7px 3px;
  border: 1px solid #17b5b7;
  border-radius: 999px;
  background: #effafa;
  color: #127a7c;
  font-size: 8px;
  font-weight: 720;
}

.bnav {
  padding: 7px 0 9px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #e5e8e7;
}

.bnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #929a98;
  font-size: 7px;
  font-weight: 700;
}

.bnav__item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.bnav__item.active {
  color: #13aeb0;
}

.langs__wrap {
  text-align: center;
}

.chips {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chip {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 650;
}

.chip--more {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

/* Download and footer */
.cta {
  padding: clamp(42px, 7vw, 76px);
  border-radius: 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}

.cta h2 {
  color: var(--accent-ink);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.cta p {
  max-width: 590px;
  margin: 0 auto 29px;
  color: #155d60;
  font-size: 1.08rem;
}

.cta .stores {
  justify-content: center;
}

.cta .store-badge {
  border-color: var(--accent-ink);
  background: #151b1a;
}

.footer {
  padding: 58px 0 32px;
  background: #063f41;
  color: #b9d9d8;
}

.footer__grid {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
}

.footer .brand,
.footer h5 {
  color: #fff;
}

.footer__tag {
  max-width: 330px;
  margin-top: 14px;
  color: #a7cecd;
}

.footer h5 {
  margin: 0 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer__bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #326a6c;
  color: #8dbbbb;
  font-size: 0.84rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

.reveal.d1 {
  transition-delay: 0.06s;
}

.reveal.d2 {
  transition-delay: 0.12s;
}

.reveal.d3 {
  transition-delay: 0.18s;
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

@media (max-width: 1040px) {
  .storyboard--driver,
  .storyboard--four {
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storyboard--maid {
    max-width: 780px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storyboard--maid .storyboard__step--routine {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .storyboard--maid {
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storyboard--maid .storyboard__step--routine {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__sub {
    margin-inline: auto;
  }

  .hero__actions {
    align-items: center;
  }

  .stores {
    justify-content: center;
  }

  .hero__visual {
    min-height: 310px;
    margin-top: 18px;
  }

  .hero__logo {
    width: min(310px, 64vw);
  }

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

  .scene--rev .scene__media {
    order: 0;
  }

  .scene__text {
    text-align: center;
  }

  .scene__text h3,
  .scene__text > p,
  .scene__list,
  .translate-compare {
    margin-inline: auto;
  }

  .scene__list {
    text-align: left;
  }

}

@media (max-width: 720px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .nav__mobile {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    z-index: 90;
    padding: 14px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__mobile.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav__mobile a {
    padding: 12px 5px;
    border-bottom: 1px solid var(--border);
  }

  .nav__mobile .btn {
    margin-top: 10px;
    border-bottom: 0;
    color: var(--accent-ink);
  }
}

@media (min-width: 721px) {
  .nav__mobile {
    display: none;
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 70px;
  }

  .section__head {
    margin-bottom: 44px;
  }

  .hero__grid {
    padding-block: 56px 72px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .hero__visual {
    min-height: 260px;
  }

  .storyboard,
  .storyboard--maid {
    max-width: 430px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 14px;
  }

  .storyboard--single {
    max-width: 210px;
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-block--tint,
  .feature-block--white {
    padding: 32px 16px;
  }

  .storyboard .device--xs {
    width: min(182px, calc(50vw - 28px));
  }

  .storyboard__cap {
    margin-top: 17px;
    font-size: 0.8rem;
  }

  .storyboard__cap b {
    font-size: 0.9rem;
  }

  .device-row--translation {
    gap: 5px;
  }

  .device-row--translation .device {
    --device-frame: 5px;
    --device-radius: 25px;
    --device-screen-radius: 20px;
    --device-notch-top: 5px;
    --device-notch-width: 51px;
    --device-notch-height: 13px;
    width: calc((100% - 34px) / 2);
  }

  .device-row--translation .flow-arrow {
    width: 24px;
    height: 24px;
  }

  .device-row--translation .flow-arrow svg {
    width: 21px;
    height: 21px;
  }

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

  .store-badge {
    min-width: 0;
    flex: 1;
  }
}

@media (max-width: 430px) {
  .hero__visual {
    min-height: 220px;
  }

  .hero__logo {
    width: min(230px, 68vw);
  }

  .store-badge {
    padding-inline: 12px;
  }

  .store-badge__big {
    font-size: 0.88rem;
  }

  .device-row--translation .screen__statusbar {
    padding: 7px 10px 2px;
    font-size: 6px;
  }

  .device-row--translation .icons {
    gap: 3px;
  }

  .device-row--translation .icons svg {
    width: 8px;
    height: 6px;
  }

  .device-row--translation .screen__header {
    padding: 4px 9px 6px;
  }

  .device-row--translation .screen__header img {
    width: 19px;
    height: 19px;
  }

  .device-row--translation .screen__header .ico {
    width: 12px;
    height: 12px;
  }

  .device-row--translation .screen__body {
    padding: 2px 7px;
  }

  .device-row--translation .dtabs {
    gap: 6px;
    padding-bottom: 6px;
    font-size: 5.7px;
  }

  .device-row--translation .tcard {
    padding: 6px;
    border-radius: 8px;
  }

  .device-row--translation .tcard__top {
    margin-bottom: 4px;
  }

  .device-row--translation .badge-wait {
    padding: 2px 5px;
    font-size: 5px;
  }

  .device-row--translation .tcard__date,
  .device-row--translation .bnav__item {
    font-size: 5px;
  }

  .device-row--translation .tcard__who {
    margin-bottom: 4px;
    font-size: 7px;
  }

  .device-row--translation .loc {
    margin-bottom: 5px;
    gap: 4px;
  }

  .device-row--translation .loc__num {
    width: 11px;
    height: 11px;
    font-size: 5px;
  }

  .device-row--translation .loc__label {
    font-size: 5px;
  }

  .device-row--translation .loc__desc {
    font-size: 6px;
  }

  .device-row--translation .tactions {
    margin-bottom: 4px;
    gap: 3px;
  }

  .device-row--translation .tbtn,
  .device-row--translation .tbtn--translate {
    padding: 4px 1px;
    font-size: 5px;
  }

  .device-row--translation .bnav {
    padding: 4px 0 5px;
  }

  .device-row--translation .bnav__item svg {
    width: 10px;
    height: 10px;
  }
}


/* ================= Legal pages (privacy policy, terms) ================= */
.legal {
  padding-block: clamp(56px, 7vw, 88px) clamp(72px, 9vw, 110px);
}

.legal__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.legal__head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
}

.legal__head h1::after {
  width: 48px;
  height: 4px;
  margin: 17px auto 0;
  display: block;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.legal__intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.legal__body {
  max-width: 74ch;
  margin: 0 auto;
  font-size: 1.02rem;
}

.legal__body h2 {
  margin: 2.1em 0 0.55em;
  font-size: clamp(1.18rem, 2.1vw, 1.4rem);
}

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

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

.legal__body p:last-child {
  margin-bottom: 0;
}

.legal__body ul {
  margin: 0 0 1em;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-soft);
}

.legal__body ul li::marker {
  color: var(--accent);
}

.legal__body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

.legal__body a:hover {
  text-decoration-color: currentColor;
}
