/* farflow.io — a soft sky: pastel washes behind white rounded cards, one royal blue for every action,
   and the app's own screens as the pictures. The app uses the same colours and face. */

:root {
  --bg: #F6F7FC;
  --white: #FFFFFF;
  --ink: #12142B;
  --ink-2: #3A3E5C;
  --muted: #5E6380;
  --line: #E3E6F2;
  --blue: #3341F0;
  --blue-deep: #2531C9;
  --blue-soft: #E7E9FF;
  --violet: #7B5CF0;

  --sky: #DCE6FF;
  --lilac: #E9E2FF;
  --mint: #D8F3E7;
  --lime: #EAF6D4;
  --pink: #FBE3F0;

  --shadow: 0 1px 2px rgba(28, 34, 90, 0.05), 0 18px 40px -20px rgba(40, 52, 150, 0.28);
  --shadow-lg: 0 2px 6px rgba(28, 34, 90, 0.06), 0 40px 80px -36px rgba(40, 52, 150, 0.4);
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;

  --font: "Manrope", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --margin: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--blue); color: #fff; padding: 0.6rem 1rem; border-radius: 99px; }
.skip:focus { top: 1rem; }
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }

/* the pastel washes, shared by cards and sections */
.tint-sky { background: linear-gradient(140deg, #E3EBFF 0%, #D6E2FF 100%); }
.tint-lilac { background: linear-gradient(140deg, #EFE8FF 0%, #E2D8FF 55%, #F6DDF1 100%); }
.tint-mint { background: linear-gradient(140deg, #E4F8EE 0%, #D2F0E2 60%, #E4F4D0 100%); }
.tint-lime { background: linear-gradient(140deg, #F1F9DF 0%, #E2F3CF 60%, #D6F0E4 100%); }
.tint-pink { background: linear-gradient(140deg, #FDEAF4 0%, #F4E0FA 60%, #E7E4FF 100%); }
.tint-blue { background: linear-gradient(140deg, #D9E1FF 0%, #C9D3FF 60%, #DCD3FF 100%); }

/* buttons: pills in one blue */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.6rem; border-radius: 99px; background: var(--blue); color: #fff; font-weight: 600; font-size: 0.975rem; border: 0; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(51, 65, 240, 0.8); transition: background 0.2s, transform 0.2s; }
.button:hover { background: var(--blue-deep); transform: translateY(-1px); }
.button:disabled { opacity: 0.6; cursor: default; transform: none; }
.button--small { min-height: 2.5rem; padding: 0 1.15rem; font-size: 0.9rem; }
.button--ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.button--ghost:hover { background: var(--white); color: var(--blue); }
.button--wide { width: 100%; }

.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }

/* icon squares */
.badge { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-s); background: var(--blue); color: #fff; flex: none; }
.badge svg { width: 1.3rem; height: 1.3rem; }
.badge--dark { background: var(--ink); }

/* a section's centred heading */
.head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.head p { margin-top: 1rem; color: var(--muted); font-size: 1.075rem; }

section { padding: var(--section) var(--margin); }
section > * { max-width: var(--max); margin-inline: auto; }

/* ============================================================ hero */
.hero {
  position: relative;
  padding: 1.25rem var(--margin) clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(38% 34% at 72% 88%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(30% 26% at 18% 92%, rgba(255, 255, 255, 0.85), transparent 70%),
    radial-gradient(60% 60% at 0% 0%, #D9E2FF, transparent 70%),
    radial-gradient(55% 60% at 100% 0%, #EADCFF, transparent 70%),
    radial-gradient(50% 50% at 100% 70%, #D6F3E8, transparent 70%),
    radial-gradient(45% 50% at 10% 70%, #FBE2F0, transparent 70%),
    #EEF0FA;
  overflow: hidden;
}
.bar { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.6rem 0.55rem 1.25rem; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); border-radius: 99px; box-shadow: var(--shadow); }
.bar__links { display: flex; gap: 0.25rem; }
.bar__links a { padding: 0.45rem 0.9rem; border-radius: 99px; font-size: 0.925rem; font-weight: 500; color: var(--ink-2); }
.bar__links a:hover { color: var(--blue); background: var(--blue-soft); }
.bar__end { display: flex; align-items: center; gap: 0.5rem; }
.bar__sign { padding: 0.45rem 0.9rem; font-size: 0.925rem; font-weight: 600; }
.bar__sign:hover { color: var(--blue); }

.hero__grid { max-width: var(--max); margin: clamp(3rem, 7vw, 5.5rem) auto 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5.2vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.hero__lede { margin-top: 1.5rem; font-size: 1.125rem; color: var(--ink-2); max-width: 30rem; }
.hero__acts { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.hero__facts div { display: flex; flex-direction: column; max-width: 13rem; }
.hero__facts dt { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.hero__facts dd { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.hero__shot { position: relative; margin-right: calc(-1 * clamp(4rem, 12vw, 12rem)); }
.hero__frame { padding: 0.65rem; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--r-l); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero__frame img { width: 100%; border-radius: calc(var(--r-l) - 0.6rem); }

/* ============================================================ works with */
.works { background: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.works__line { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; color: var(--muted); max-width: 34rem; line-height: 1.5; }
.works__names { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.75rem; }
.works__names li { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 800; letter-spacing: -0.03em; color: #8A8FAE; }

/* ============================================================ product: pairs */
.product { background: linear-gradient(180deg, #F2F1FD 0%, #EDF6F4 50%, #F3F1FC 100%); }
.pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem; }
.pair + .pair { margin-top: 1.5rem; }
.pair--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.pair__text { border-radius: var(--r-l); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-end; gap: 0.9rem; min-height: 22rem; }
.pair__text .badge { margin-bottom: auto; }
.pair__text h3 { font-size: 1.5rem; }
.pair__text p { color: var(--ink-2); }
.pair__pic { border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 2.5rem) 0 0 clamp(1.25rem, 3vw, 2.5rem); overflow: hidden; display: flex; align-items: flex-end; }
.pair--flip .pair__pic { padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) 0 0; }
.crop { overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); width: 100%; }
.pair__pic .crop { border-radius: var(--r-m) 0 0 0; aspect-ratio: 16 / 9.5; }
.pair--flip .pair__pic .crop { border-radius: 0 var(--r-m) 0 0; }
.crop img { width: 100%; height: 100%; object-fit: cover; }
.crop--issues img { width: 135%; max-width: none; height: auto; transform: translate(-18.6%, -4.5%); }
.crop--doc img { width: 165%; max-width: none; height: auto; transform: translate(-37.6%, -4%); }
.crop--cycle img { width: 135%; max-width: none; height: auto; transform: translate(-18.6%, -4.5%); }

/* ============================================================ tools: white tiles */
.tools { background: radial-gradient(60% 50% at 50% 0%, #E6E4FF, transparent 75%), linear-gradient(180deg, #EEF0FC, #F6F7FC); }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.tile { grid-column: span 2; background: var(--white); border-radius: var(--r-m); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.75rem; transition: transform 0.25s, box-shadow 0.25s; }
.tile--wide { grid-column: span 3; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile .badge { margin-bottom: 0.75rem; }
.tile h3 { font-size: 1.2rem; }
.tile p { color: var(--muted); font-size: 0.975rem; }
.tools__more { margin-top: 2.5rem; text-align: center; }

/* ============================================================ agents: floating cards on a wash */
.agents { background: linear-gradient(180deg, #F6F7FC 0%, #F1EDFE 100%); }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--r-l); background:
    radial-gradient(40% 50% at 15% 100%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(60% 60% at 100% 0%, #D8DEFF, transparent 70%),
    radial-gradient(60% 70% at 0% 0%, #EAE0FF, transparent 70%),
    linear-gradient(140deg, #E4E2FF, #DDEBFF 60%, #DDF3EC); }
.stage__col { display: flex; flex-direction: column; gap: 1.25rem; }
.float { background: var(--white); border-radius: var(--r-m); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.stage__col .float:last-child { margin-left: clamp(0rem, 3vw, 2.5rem); }
.float__label { font-size: 0.8rem; font-weight: 700; color: var(--blue); margin-bottom: 0.6rem; }
.float__title { font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.float__text { margin-top: 0.5rem; color: var(--muted); font-size: 0.925rem; }
.float__meta { margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.chip { display: inline-flex; align-items: center; padding: 0.15rem 0.7rem; border-radius: 99px; background: var(--lilac); color: #5B3FD6; font-size: 0.8rem; font-weight: 600; margin-right: auto; }
.hexav { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.steps { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.9rem; color: var(--ink-2); }
.steps li { display: flex; gap: 0.6rem; align-items: baseline; }
.steps span { flex: none; padding: 0.1rem 0.6rem; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-size: 0.78rem; font-weight: 700; }
.float--shot { padding: 1.25rem; }
.crop--agent { border-radius: var(--r-s); aspect-ratio: 4 / 3.3; box-shadow: none; border: 1px solid var(--line); }
.crop--agent img { width: 238%; max-width: none; height: auto; transform: translate(-40.2%, -40%); }
.agents__note { margin-top: 2rem; display: flex; gap: 0.75rem; align-items: flex-start; justify-content: center; color: var(--ink-2); max-width: 48rem; }
.agents__note svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--violet); margin-top: 0.15rem; }

/* ============================================================ your data: picture cards */
.data { background: var(--white); }
.cities { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); gap: 1.25rem; align-items: stretch; }
.city { position: relative; border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; min-height: 30rem; box-shadow: var(--shadow); }
.city img, .city video { flex: 1; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.city__band { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.35rem; }
.city__band b { font-size: 1.25rem; letter-spacing: -0.02em; }
.city__band span { color: var(--ink-2); font-size: 0.925rem; line-height: 1.5; }
.city--list { padding: 1.75rem 1.5rem; gap: 1.25rem; }
.city--list h3 { font-size: 1.35rem; }
.city--list dl { display: flex; flex-direction: column; gap: 1rem; }
.city--list dt { font-weight: 700; }
.city--list dd { color: var(--ink-2); font-size: 0.925rem; line-height: 1.5; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--blue); }
.more svg { width: 1.1rem; height: 1.1rem; transition: transform 0.2s; }
.more:hover svg { transform: translateX(3px); }

/* ============================================================ price: three cards */
.price { background: linear-gradient(180deg, #EEF8F3 0%, #F1EEFD 100%); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.plan { background: var(--white); border-radius: var(--r-l); padding: 0.6rem; box-shadow: var(--shadow); }
.plan--main { box-shadow: var(--shadow-lg); transform: translateY(-0.75rem); outline: 2px solid var(--blue); outline-offset: -2px; }
.plan__top { border-radius: calc(var(--r-l) - 0.5rem); padding: 1.6rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.plan__top .badge { margin-bottom: 0.4rem; }
.plan__top h3 { font-size: 1.15rem; }
.plan__price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.plan__price span { font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan__who { color: var(--ink-2); font-size: 0.925rem; line-height: 1.5; }
.plan__top .button { margin-top: 0.75rem; }
.plan__list { padding: 1.4rem 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.925rem; }
.plan__list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.plan__list svg { flex: none; width: 1.25rem; height: 1.25rem; padding: 0.2rem; border-radius: 50%; background: var(--ink); color: #fff; margin-top: 0.1rem; }
.plan--main .plan__list svg { background: var(--blue); }

/* ============================================================ questions */
.faq { background: var(--white); }
.qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.q { border-radius: var(--r-m); background: var(--bg); border: 1px solid var(--line); transition: background 0.2s; }
.q[open] { background: linear-gradient(140deg, #EEF1FF, #F3EEFF); border-color: transparent; }
.q summary { list-style: none; cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.4rem; font-weight: 700; position: relative; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 1.75rem; height: 1.75rem; margin-top: -0.875rem; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2312142B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.95rem no-repeat; box-shadow: var(--shadow); transition: transform 0.2s; }
.q[open] summary::after { transform: rotate(45deg); background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.q p { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }

/* ============================================================ join: the banner */
.join { background: var(--white); padding-top: 0; }
.join__banner { border-radius: var(--r-l); padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 4vw, 4rem); align-items: center; color: #fff; background:
    radial-gradient(50% 70% at 0% 100%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(40% 60% at 100% 0%, #B9A6FF, transparent 70%),
    linear-gradient(120deg, #8E7BFF 0%, #5B63F6 45%, #3341F0 100%); box-shadow: var(--shadow-lg); }
.join__say h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
.join__say p { margin-top: 1rem; font-size: 1.075rem; color: rgba(255, 255, 255, 0.9); max-width: 28rem; }
.joinform { background: var(--white); color: var(--ink); border-radius: var(--r-m); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; box-shadow: var(--shadow-lg); }
.jf { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.jf input { height: 3rem; padding: 0 1rem; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--bg); font-size: 1rem; font-weight: 500; color: var(--ink); }
.jf input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51, 65, 240, 0.14); background: var(--white); }
.jf__key { font-size: 0.875rem; color: var(--muted); margin-top: -0.3rem; }
.jf__key b { color: var(--blue); }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.seg legend { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.35rem; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0 1rem; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; }
.seg input:checked + span { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.jf__msg { font-size: 0.9rem; color: #1F7A55; }
.jf__msg:empty { display: none; }
.jf__msg.err { color: #C0283D; }
.jf__fine { font-size: 0.8rem; color: var(--muted); }

/* ============================================================ footer */
.foot { padding: clamp(3.5rem, 6vw, 5rem) var(--margin) 2rem; background: radial-gradient(50% 80% at 100% 100%, #E3F5EE, transparent 70%), radial-gradient(50% 80% at 0% 100%, #ECE6FF, transparent 70%), var(--white); border-top: 1px solid var(--line); }
.foot > * { max-width: var(--max); margin-inline: auto; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot__brand p { margin-top: 1rem; color: var(--muted); max-width: 22rem; }
.foot__grid nav, .foot__grid address { display: flex; flex-direction: column; gap: 0.6rem; font-style: normal; font-size: 0.95rem; }
.foot__grid h3 { font-size: 0.95rem; letter-spacing: 0; margin-bottom: 0.4rem; }
.foot__grid nav a, .foot__grid address a { color: var(--ink-2); }
.foot__grid a:hover { color: var(--blue); }
.foot__last { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted); }
.foot__legal a { color: var(--ink-2); }
.credits { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================ legal pages and pricing */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; }
.top__spacer { display: none; }
.top__link { font-size: 0.925rem; font-weight: 600; color: var(--blue); }
.legal { max-width: 52rem; margin: 0 auto; padding: 4.5rem var(--margin) var(--section); }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1rem; }
.legal .updated { color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.75rem 0 0.75rem; }
.legal p, .legal li { max-width: 68ch; color: var(--ink-2); }
.legal p b { color: var(--ink); }
.legal p + p { margin-top: 1rem; }
.legal ul { list-style: disc; padding-inline-start: 1.25rem; margin: 0.75rem 0; }
.legal li + li { margin-top: 0.4rem; }
.legal table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 1rem; font-size: 0.95rem; background: var(--white); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow); }
.legal th, .legal td { text-align: start; padding: 0.8rem 1rem; vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; background: var(--bg); }
.legal tbody tr + tr td { border-top: 1px solid var(--line); }
.legal .back { margin-top: 3.5rem; }
.legal + .foot { padding-top: 2rem; }
.legal + .foot .foot__last { margin-top: 0; border-top: 0; }
.pricing .plans { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 1rem 0 3rem; }
.pricing .plan { padding: 1.75rem; }
.pricing .plan:nth-child(1) { background: linear-gradient(140deg, #E3EBFF, #D6E2FF); }
.pricing .plan:nth-child(2) { background: linear-gradient(140deg, #EFE8FF, #E2D8FF); }
.pricing .plan:nth-child(3) { background: linear-gradient(140deg, #E4F8EE, #D2F0E2); }
.pricing .plan h2 { margin: 0 0 0.5rem; }
.pricing .plan ul { list-style: none; padding: 0; }
.pricing .plan__price { font-size: 1.3rem; color: var(--ink); margin: 0 0 1rem; display: block; }
.pricing .period { display: inline-flex; gap: 0.25rem; margin-bottom: 1rem; background: var(--white); padding: 0.3rem; border-radius: 99px; box-shadow: var(--shadow); }
.pricing .period button { padding: 0.45rem 1.1rem; border: 0; border-radius: 99px; background: none; color: var(--muted); font-weight: 600; cursor: pointer; }
.pricing .period button[aria-checked="true"] { background: var(--blue); color: #fff; }
.pricing .period[hidden] { display: none; }
body:has(.legal) { background: radial-gradient(50% 40% at 0% 0%, #DEE5FF, transparent 70%), radial-gradient(45% 40% at 100% 0%, #ECE1FF, transparent 70%), var(--bg); }

/* ============================================================ motion: cards rise in once */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero__say > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__say > :nth-child(2) { animation-delay: 0.08s; }
.hero__say > :nth-child(3) { animation-delay: 0.16s; }
.hero__say > :nth-child(4) { animation-delay: 0.24s; }
.hero__shot { animation: rise 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__say > *, .hero__shot { animation: none; }
  .tile, .button, .more svg { transition: none; }
}

/* ============================================================ tablet */
@media (max-width: 1080px) {
  .bar__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__say { max-width: 40rem; }
  .hero__shot { margin-right: calc(-1 * var(--margin) - 4rem); }
  .pair, .pair--flip { grid-template-columns: 1fr; }
  .pair--flip .pair__text { order: -1; }
  .pair__text { min-height: 0; }
  .pair__text .badge { margin-bottom: 1rem; }
  .stage { grid-template-columns: 1fr; }
  .stage__col .float:last-child { margin-left: 0; }
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city--wide { grid-column: 1 / -1; grid-row: 1; min-height: 26rem; }
  .plans { grid-template-columns: 1fr; max-width: 32rem; }
  .plan--main { transform: none; }
  .join__banner { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}

/* ============================================================ phone */
@media (max-width: 720px) {
  .bar { padding-left: 1rem; }
  .bar__sign { display: none; }
  .hero__grid { margin-top: 2.75rem; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero__lede { font-size: 1.05rem; }
  .hero__acts .button { flex: 1 1 auto; }
  .hero__shot { margin-right: -55%; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile--wide { grid-column: auto; }
  .pair__pic .crop { aspect-ratio: 4 / 3.4; }
  .crop--issues img, .crop--cycle img { width: 230%; transform: translate(-19.5%, -4%); }
  .crop--doc img { width: 260%; transform: translate(-38%, -4%); }
  .cities { grid-template-columns: 1fr; }
  .city, .city--wide { min-height: 22rem; grid-column: auto; }
  .qs { grid-template-columns: 1fr; }
  .join { padding-inline: 0.75rem; }
  .joinform { padding: 1.25rem; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { padding-top: 3rem; }
  .legal table { font-size: 0.875rem; }
}
