/* ==========================================================================
   Cloudo EDU — landing
   ========================================================================== */

:root {
  --brand: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --teal: #0d9488;

  --violet: #7c3aed;
  --orange: #f97316;
  --pink: #ec4899;
  --sky: #0ea5e9;
  --amber: #f59e0b;

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e7ecf3;
  --bg: #ffffff;
  --soft: #f5f8fc;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.16);

  --grad: linear-gradient(100deg, #10b981 0%, #0ea5e9 45%, #7c3aed 100%);
  --grad-warm: linear-gradient(120deg, #f97316, #ec4899);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 16px; color: var(--ink-2); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Color helpers (icon tiles, chips) */
.c-green  { --c: var(--brand);  --c-bg: #d1fae5; }
.c-violet { --c: var(--violet); --c-bg: #ede9fe; }
.c-orange { --c: var(--orange); --c-bg: #ffedd5; }
.c-pink   { --c: var(--pink);   --c-bg: #fce7f3; }
.c-sky    { --c: var(--sky);    --c-bg: #e0f2fe; }
.c-amber  { --c: var(--amber);  --c-bg: #fef3c7; }
.c-green-text  { color: var(--brand-600) !important; }
.c-violet-text { color: var(--violet) !important; }
.c-pink-text   { color: var(--pink) !important; }
.c-sky-text    { color: var(--sky) !important; }
.c-amber-text  { color: #d97706 !important; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(16, 185, 129, 0.45); outline-offset: 3px; }
.btn--sm { padding: 9px 18px; font-size: 0.92rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--soft); }
.btn--white { background: #fff; color: var(--brand-700); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }

/* ---------------------------------------------------------------- Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo img { height: 23px; width: auto; }
.logo__badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #0d9488);
  padding: 3px 7px;
  border-radius: 6px;
}

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav__login { display: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.lead { font-size: 1.15rem; max-width: 560px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d1fae5;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.hero__checks li { display: flex; align-items: center; gap: 6px; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.hero__checks .i { width: 18px; height: 18px; color: var(--brand); stroke-width: 3; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.blob--1 { width: 520px; height: 520px; background: #6ee7b7; top: -180px; left: -140px; }
.blob--2 { width: 460px; height: 460px; background: #c4b5fd; top: -80px; right: -120px; }
.blob--3 { width: 380px; height: 380px; background: #fdba74; bottom: -200px; right: 30%; opacity: 0.4; }

.hero__visual { position: relative; }
.browser {
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transform: perspective(1800px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s ease;
}
.hero__visual:hover .browser { transform: perspective(1800px) rotateY(-3deg) rotateX(1deg); }
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #fb7185; }
.browser__bar i:nth-child(2) { background: #fbbf24; }
.browser__bar i:nth-child(3) { background: #34d399; }
.browser__bar span {
  margin-left: 12px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 11px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: floaty 6s ease-in-out infinite;
}
.float b { display: block; font-size: 1rem; line-height: 1.2; }
.float small { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.float__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--c);
  background: var(--c-bg);
}
.float__icon .i { width: 20px; height: 20px; }
.float--a { top: 12%; left: -34px; }
.float--b { bottom: 14%; left: -48px; animation-delay: -2s; }
.float--c { top: -18px; right: 8%; animation-delay: -4s; }

/* ---------------------------------------------------------------- Marquee */
.marquee {
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--c);
  background: var(--c-bg);
}

/* ---------------------------------------------------------------- Sections */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head p { font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
}

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

.card {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { font-size: 0.95rem; margin: 0; color: var(--muted); }
.card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--c);
  background: var(--c-bg);
}

/* ---------------------------------------------------------------- Showcase */
.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.showcase + .showcase { margin-top: 110px; }
.showcase--rev .showcase__copy { order: 2; }
.showcase__copy p { font-size: 1.08rem; }
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink-2); }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d1fae5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks--sm { gap: 10px; margin-top: 14px; }
.ticks--sm li { font-size: 0.95rem; padding-left: 30px; }
.ticks--sm li::before { width: 20px; height: 20px; background-size: 12px; }

/* ---------------------------------------------------------------- Portal */
.portal { background: linear-gradient(180deg, #fff 0%, #faf5ff 100%); position: relative; overflow: hidden; }
.portal__inner { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: center; }
.phone {
  position: relative;
  width: min(300px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  box-shadow: 0 40px 80px rgba(124, 58, 237, 0.28), 0 10px 30px rgba(15, 23, 42, 0.25);
  transform: rotate(-4deg);
}
.phone img { border-radius: 32px; }
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 90px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0f172a;
  z-index: 1;
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.duo__card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.duo__card .card__icon { margin-bottom: 14px; }

/* ---------------------------------------------------------------- Telegram */
.tg { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chat {
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(160deg, #cfe9f8, #e6f4d9);
  box-shadow: var(--shadow-lg);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 16px;
}
.chat__head b { display: block; line-height: 1.2; }
.chat__head small { color: var(--muted); font-size: 0.8rem; }
.chat__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981, #0ea5e9);
}
.bubble {
  position: relative;
  max-width: 92%;
  margin-bottom: 10px;
  padding: 11px 14px 22px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.bubble__time { position: absolute; right: 12px; bottom: 5px; font-size: 0.7rem; color: var(--muted); }
.bubble--pay { margin-bottom: 0; }

/* ---------------------------------------------------------------- Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.step p { margin: 0; color: var(--muted); }
.step__n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  background: var(--c);
  box-shadow: 0 10px 20px -6px var(--c);
}

/* ---------------------------------------------------------------- Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}
.plan .ticks { margin-bottom: 28px; flex: 1; align-content: start; }
.plan__desc { color: var(--muted); margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.plan__price span { color: var(--muted); font-weight: 600; }
.plan--featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.18);
}
.plan__tag {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--grad-warm);
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.35);
}

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #d1fae5;
  color: var(--brand-700);
  font-weight: 800;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact__links { display: grid; gap: 12px; margin-top: 28px; }
.contact__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact__link .card__icon { margin: 0; width: 46px; height: 46px; }
.contact__link small { display: block; color: var(--muted); font-size: 0.8rem; }
.contact__link b { font-size: 1.05rem; }

.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--ink-2); }
.form input,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--soft);
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}
.form input[aria-invalid='true'] { border-color: #f43f5e; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; min-height: 1.4em; font-weight: 600; text-align: center; }
.form__status.is-ok { color: var(--brand-700); }
.form__status.is-err { color: #e11d48; }

/* ---------------------------------------------------------------- CTA band */
.cta { padding: 0 0 100px; background: var(--soft); }
.cta__inner {
  position: relative;
  overflow: hidden;
  padding: 64px 32px;
  border-radius: 32px;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #059669 0%, #0d9488 35%, #0ea5e9 70%, #7c3aed 100%);
  box-shadow: 0 30px 70px rgba(13, 148, 136, 0.35);
}
.cta__inner::before,
.cta__inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta__inner::before { width: 280px; height: 280px; top: -120px; left: -80px; }
.cta__inner::after { width: 200px; height: 200px; bottom: -90px; right: -40px; }
.cta__inner h2 { color: #fff; position: relative; }
.cta__inner p { color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; position: relative; }
.cta__inner .btn { position: relative; margin-top: 8px; }

/* ---------------------------------------------------------------- Footer */
.footer { padding: 48px 0; background: #0b1220; color: #cbd5e1; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.logo--dark img { height: 27px; }
.footer__tag { margin: 10px 0 0; color: #94a3b8; font-size: 0.92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__nav a { color: #cbd5e1; font-weight: 600; font-size: 0.95rem; }
.footer__nav a:hover { color: #fff; }
.footer__copy { margin: 0; color: #94a3b8; font-size: 0.9rem; }

/* ---------------------------------------------------------------- Motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); } 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.05); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .float, .pill__dot { animation: none; }
  .browser, .phone { transform: none; }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__copy { text-align: center; }
  .hero__copy .lead { margin-inline: auto; }
  .hero__cta, .hero__checks { justify-content: center; }
  .hero__visual { max-width: 760px; margin-inline: auto; width: 100%; }
  .float--a { left: -10px; }
  .float--b { left: -10px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .showcase, .showcase--rev, .tg, .contact, .portal__inner { grid-template-columns: 1fr; gap: 36px; }
  .showcase--rev .showcase__copy { order: 0; }
  .showcase + .showcase { margin-top: 72px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 480px); }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 12px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .nav__login { display: block; }
  .burger { display: flex; }
  .hide-sm { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 64px; }
  .grid--features { grid-template-columns: 1fr; }
  .duo, .form__row { grid-template-columns: 1fr; }
  .float { padding: 8px 12px 8px 8px; border-radius: 12px; }
  .float__icon { width: 32px; height: 32px; border-radius: 9px; }
  .float b { font-size: 0.88rem; }
  .float small { font-size: 0.7rem; }
  .float--a { top: auto; bottom: -22px; left: 4px; }
  .float--b { display: none; }
  .float--c { top: -22px; right: 4px; }
  .browser { transform: none; }
  .form, .plan { padding: 24px; }
  .cta__inner { padding: 48px 22px; border-radius: 24px; }
  .header__actions .btn--primary { padding: 9px 14px; }
}
