:root {
  --ink: #071821;
  --ink-soft: #18313d;
  --night: #04131c;
  --night-2: #08232d;
  --teal: #35dcc7;
  --teal-dark: #0aa995;
  --sky: #b8fff5;
  --paper: #f4f8f7;
  --white: #ffffff;
  --line: rgba(7, 24, 33, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #6c7f88;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(3, 18, 27, 0.15);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 10px max(32px, calc((100vw - 1440px) / 2));
  color: var(--white);
  background: rgba(4,19,28,.82);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 12px 30px rgba(1,12,18,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(53, 220, 199, .7);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.brand-favicon { width: 38px; height: 38px; flex: 0 0 38px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 22px rgba(53,220,199,.16); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .9rem; }
.main-nav a, .text-button { opacity: .78; transition: opacity .2s ease, color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .text-button:hover, .text-button:focus-visible { opacity: 1; }
.text-button { padding: 0; color: inherit; background: none; border: 0; cursor: pointer; }
.main-nav .text-button { padding: 10px 18px; color: var(--night); opacity: 1; background: var(--teal); border: 1px solid var(--teal); border-radius: 10px; font-weight: 800; }
.main-nav .text-button:hover, .main-nav .text-button:focus-visible { color: var(--night); background: #5aebd8; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); border-radius: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: white; }

.hero { position: relative; min-height: 740px; overflow: hidden; color: white; background: var(--night); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,15,23,.98) 0%, rgba(3,15,23,.87) 34%, rgba(3,15,23,.28) 66%, rgba(3,15,23,.1) 100%), linear-gradient(0deg, rgba(3,15,23,.8), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 180px 0 105px; }
.hero-content > * { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--sky); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--teal-dark); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3.8rem, 7.25vw, 7.9rem); line-height: .94; letter-spacing: -.07em; font-weight: 600; }
.hero h1 span { color: var(--teal); }
.hero-lead { margin: -5px 0 24px; max-width: 700px; color: white; font-size: clamp(1.65rem, 3vw, 3.15rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
.hero-copy { max-width: 670px; color: var(--teal); font-size: 1.15rem; font-weight: 600; line-height: 1.7; text-shadow: 0 0 24px rgba(53,220,199,.16); }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; font-size: .92rem; cursor: pointer; transition: transform .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease; }
.button:active { transform: scale(.985); }
.button.primary { color: var(--night); background: var(--teal); }
.button.primary:hover { background: #5aebd8; }
.hero-actions .button.primary { min-height: 65px; padding-inline: 30px; border-radius: 15px; font-size: 1.08rem; }
.button.secondary { color: white; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.25); backdrop-filter: blur(12px); }
.hero-proof { display: flex; flex-wrap: nowrap; gap: 12px 26px; margin-top: 52px; color: rgba(255,255,255,.62); font-size: .78rem; }
.hero-proof span::before { content: "✓"; margin-right: 7px; color: var(--teal); font-weight: 800; }

.section { padding: 120px max(32px, calc((100vw - 1440px) / 2)); }
.section-intro { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(300px, .7fr); gap: 80px; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -48px; }
.section-intro h2 { margin: 0; font-size: clamp(2.5rem, 4.4vw, 4.8rem); line-height: 1.06; letter-spacing: -.055em; }
.section-intro > p:last-child { margin-bottom: 8px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.section-intro.compact { display: block; max-width: 760px; }
.section-intro.compact .eyebrow { margin-bottom: 22px; }
.section-intro.compact h2 { margin-bottom: 20px; }
.section-intro.centered { margin: 0 auto 60px; text-align: center; }
.section-intro.centered .eyebrow { justify-content: center; }

.reliability { background: linear-gradient(180deg, #eef4f2 0%, #f7faf9 100%); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 65px; }
.feature-grid article { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 22px; min-height: 178px; padding: 32px; overflow: hidden; color: var(--ink); background: rgba(255,255,255,.78); border: 1px solid rgba(8,65,74,.11); border-radius: 28px 8px 28px 8px; box-shadow: 0 18px 48px rgba(7,24,33,.06); }
.feature-icon { display: grid; width: 56px; height: 56px; place-items: center; color: white; background: linear-gradient(145deg, var(--teal), #087f78); border-radius: 50% 50% 50% 14px; box-shadow: 0 12px 26px rgba(10,169,149,.2); }
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-grid h3 { margin: 2px 0 10px; font-size: 1.2rem; letter-spacing: -.025em; }
.feature-grid p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.connect { background: white; }
.connect .section-intro > p:last-child { color: var(--muted); }
.steps { max-width: 900px; margin: 65px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 40px; height: 40px; color: var(--teal-dark); background: rgba(10,169,149,.08); border-radius: 50%; font-weight: 800; }
.steps h3 { margin-bottom: 7px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }

.plans { color: white; background: var(--night); }
.plans .section-intro > p:last-child { color: rgba(255,255,255,.55); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 36px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease; }
.plan-card.featured { background: linear-gradient(180deg, rgba(53,220,199,.15), rgba(255,255,255,.05)); border-color: rgba(53,220,199,.55); }
.plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 62px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.plan-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.plan-label { position: absolute; top: 20px; right: 20px; padding: 6px 9px; color: var(--night); background: var(--teal); border-radius: 7px; font-size: .65rem; font-weight: 800; white-space: nowrap; }
.plan-card.featured .plan-heading { padding-right: 128px; }
.plan-card h3 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 0; white-space: nowrap; }
.plan-price small, .plan-price span { color: rgba(255,255,255,.5); font-size: .76rem; }
.plan-price strong { color: var(--teal); font-size: 2.2rem; letter-spacing: -.05em; }
.plan-card p { min-height: 58px; color: rgba(255,255,255,.55); font-size: .86rem; }
.plan-card ul { display: grid; grid-template-columns: 1fr; gap: 2px; flex: 1; min-height: 170px; margin: 25px 0; padding: 0; list-style: none; align-content: start; }
.plan-card li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: rgba(255,255,255,.74); font-size: .82rem; }
.plan-icon { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-icon.infinity-icon { stroke-width: 2; }
.plan-card .button { width: 100%; margin-top: auto; }
.plan-button { color: white; background: transparent; border-color: rgba(255,255,255,.25); }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-3px) scale(1.025); box-shadow: 0 14px 30px rgba(3,18,27,.18); }
  .plan-card:hover { z-index: 2; transform: translateY(-7px) scale(1.018); border-color: rgba(53,220,199,.55); box-shadow: 0 24px 65px rgba(0,0,0,.28); }
}

.faq { display: grid; grid-template-columns: .65fr 1fr; gap: 9vw; background: #eef4f2; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 25px 40px 25px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; color: var(--teal-dark); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 700px; padding-right: 30px; color: var(--muted); font-size: .9rem; }

.final-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 100px max(32px, calc((100vw - 1440px) / 2)); color: white; background: linear-gradient(110deg, #07202a, #0c5c5a); }
.final-cta h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: 1; letter-spacing: -.06em; }
.button.light { color: var(--night); background: white; }
footer { display: grid; grid-template-columns: minmax(210px, 1fr) auto auto minmax(120px, 1fr); align-items: center; gap: 40px; padding: 38px max(32px, calc((100vw - 1440px) / 2)); color: rgba(255,255,255,.6); background: #031018; font-size: .78rem; }
footer p { margin: 0; } footer > div { display: flex; justify-content: center; gap: 36px; } footer > small { justify-self: end; } footer button { padding: 0; color: inherit; background: none; border: 0; cursor: pointer; }
footer a:hover, footer a:focus-visible, footer button:hover, footer button:focus-visible { color: white; }
.verification-marker { display: inline-flex; width: max-content; padding: 5px 9px; color: var(--sky); background: rgba(53,220,199,.08); border: 1px solid rgba(53,220,199,.22); border-radius: 7px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; }

.legal-page { color: var(--ink); background: #eef4f2; }
.legal-header { display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; color: white; border-bottom: 1px solid var(--line-dark); }
.legal-home-link { padding: 9px 14px; color: rgba(255,255,255,.72); border: 1px solid var(--line-dark); border-radius: 9px; font-size: .78rem; font-weight: 700; }
.legal-home-link:hover, .legal-home-link:focus-visible { color: white; border-color: rgba(255,255,255,.4); }
.legal-page::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 480px; background: radial-gradient(circle at 72% 18%, rgba(53,220,199,.16), transparent 26%), linear-gradient(135deg, #031018, #09313c); }
.legal-main { width: min(1040px, calc(100% - 48px)); margin: 70px auto 90px; }
.legal-title { max-width: 900px; padding: 28px 0 74px; color: white; }
.legal-title h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.legal-title > p:last-child { margin: 0; color: rgba(255,255,255,.56); }
.legal-document { padding: clamp(28px, 6vw, 76px); background: white; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.legal-lead { margin-bottom: 34px; color: var(--ink-soft); font-size: 1.18rem; line-height: 1.75; }
.legal-document section { padding: 31px 0 20px; border-top: 1px solid var(--line); }
.legal-document section:first-of-type { border-top: 0; }
.legal-document h2 { margin-bottom: 20px; font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -.03em; }
.legal-document p, .legal-document li { color: #445963; font-size: .94rem; line-height: 1.82; }
.legal-document p { margin-bottom: 13px; }
.legal-document ul { display: grid; gap: 9px; padding-left: 22px; }
.legal-document a { color: var(--teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-related { display: flex; justify-content: space-between; gap: 20px; padding: 28px 6px 0; color: var(--teal-dark); font-size: .84rem; font-weight: 800; }
.legal-footer { grid-template-columns: 1fr auto auto auto; }
.legal-footer a[aria-current="page"] { color: white; }

.cabinet-dialog { width: min(1050px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; color: var(--ink); background: #eef4f2; border: 0; border-radius: 24px; box-shadow: 0 45px 120px rgba(0,0,0,.4); }
.cabinet-dialog::backdrop { background: rgba(2,12,18,.78); backdrop-filter: blur(10px); }
.cabinet-shell { position: relative; min-height: 640px; padding: 58px; }
.dialog-close { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); background: rgba(7,24,33,.06); border: 0; border-radius: 10px; font-size: 1.5rem; cursor: pointer; }
.cabinet-login { max-width: 460px; margin: 0 auto; }
.cabinet-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 48px; font-weight: 800; }
.cabinet-login h2, .dashboard-top h2 { margin-bottom: 16px; font-size: 2.3rem; line-height: 1.1; letter-spacing: -.045em; }
.cabinet-login > p:not(.eyebrow) { color: var(--muted); }
.cabinet-login form { display: grid; gap: 16px; margin-top: 30px; }
.cabinet-login label { display: grid; gap: 8px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.cabinet-login input { min-height: 50px; padding: 0 15px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 11px; outline: none; }
.cabinet-login input:focus { border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(10,169,149,.12); }
.full { width: 100%; }
.form-note, .demo-note { color: var(--muted); font-size: .73rem; }
.demo-button { display: block; margin: 22px auto 0; padding: 5px; color: var(--teal-dark); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: .78rem; font-weight: 700; }
.dashboard-top { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.dashboard-top .text-button { margin-top: 8px; color: var(--teal-dark); }
.cabinet-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 20px; padding: 7px; background: rgba(7,24,33,.06); border-radius: 14px; }
.cabinet-nav button { min-height: 42px; padding: 0 12px; color: var(--muted); background: transparent; border: 0; border-radius: 10px; cursor: pointer; font-size: .78rem; font-weight: 800; }
.cabinet-nav button.active { color: var(--night); background: var(--teal); }
.cabinet-panel { display: block; }
.subscription-card { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 35px 0 20px; padding: 30px; color: white; background: linear-gradient(120deg, #061820, #0b5754); border-radius: 20px; }
.subscription-card div { display: grid; gap: 4px; }.subscription-card small { color: rgba(255,255,255,.48); }.subscription-card strong { font-size: 1.05rem; }.demo-badge { position: absolute; top: 12px; right: 12px; padding: 5px 8px; color: var(--night); background: var(--teal); border-radius: 6px; font-size: .65rem; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dashboard-grid article { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.card-title { display: flex; justify-content: space-between; margin-bottom: 20px; font-weight: 800; }.card-title b { color: var(--teal-dark); }
.device-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .85rem; }.device-row small { color: var(--teal-dark); }.device-row > span { display: grid; }.device-row button { padding: 7px 10px; color: var(--teal-dark); background: transparent; border: 1px solid rgba(10,169,149,.28); border-radius: 8px; cursor: pointer; font-size: .72rem; font-weight: 700; }
.dashboard-grid article p { color: var(--muted); font-size: .85rem; }
.cabinet-wide-card { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.cabinet-wide-card > p { color: var(--muted); font-size: .86rem; }
.cabinet-action { margin-top: 18px; }
.setup-card ol { margin: 24px 0; padding: 0; list-style: none; }
.setup-card li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.setup-card li > span { display: grid; place-items: center; width: 34px; height: 34px; color: var(--night); background: var(--teal); border-radius: 50%; font-weight: 800; }
.setup-card li strong { font-size: .9rem; }.setup-card li p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.connection-controls { display: grid; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.connection-controls label { display: grid; gap: 8px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.connection-controls select { min-height: 48px; padding: 0 14px; color: var(--ink); background: #f7faf9; border: 1px solid var(--line); border-radius: 11px; font: inherit; }
.connection-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.connection-actions .button { width: 100%; }
.connection-actions .button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.connection-output { display: grid; justify-items: center; gap: 12px; margin-top: 18px; padding: 20px; background: #eef4f2; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.connection-output img { width: min(230px, 100%); padding: 12px; background: white; border-radius: 12px; }
.connection-output p { margin: 0; color: var(--muted); font-size: .78rem; }
.subscription-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; overflow: hidden; background: #eef4f2; border: 1px dashed var(--line); border-radius: 11px; }
.subscription-link code { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }.subscription-link button { color: var(--teal-dark); background: none; border: 0; cursor: pointer; font-size: .74rem; font-weight: 800; }
.support-tip { padding: 17px 0; border-top: 1px solid var(--line); }.support-tip p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; }
.support-card textarea { width: 100%; padding: 14px; resize: vertical; color: var(--ink); background: #f7faf9; border: 1px solid var(--line); border-radius: 11px; font: inherit; font-size: .84rem; }
.outline-button { width: 100%; min-height: 42px; margin-top: 15px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 700; font-size: .78rem; }
.demo-note { margin-top: 20px; text-align: center; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 13px 18px; color: white; background: #09242d; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; box-shadow: var(--shadow); font-size: .82rem; text-align: center; }

@media (max-width: 960px) {
  .site-header { width: 100%; padding-inline: 18px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 62px; left: 0; right: 0; display: none; padding: 20px; background: rgba(4,19,28,.97); border: 1px solid var(--line-dark); border-radius: 14px; }
  .main-nav.open { display: grid; gap: 18px; }
  .main-nav .text-button { text-align: left; }
  .hero-content { width: calc(100% - 36px); padding-top: 160px; }
  .hero-proof { flex-wrap: wrap; }
  .section { padding: 90px 24px; }
  .section-intro { display: block; }.section-intro .eyebrow { margin-bottom: 22px; }.section-intro h2 { margin-bottom: 24px; }
  .faq { grid-template-columns: 1fr; gap: 42px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 620px; }
  footer { grid-template-columns: 1fr 1fr; gap: 24px 36px; } footer > div { justify-content: flex-end; } footer > small { justify-self: end; }
  .legal-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero { min-height: 730px; min-height: max(730px, 100svh); min-height: max(730px, 100dvh); }.hero-image { object-position: 68% 50%; opacity: .7; }.hero-shade { background: linear-gradient(0deg, rgba(3,15,23,.98) 10%, rgba(3,15,23,.7) 80%); }
  .hero-content { padding-bottom: 90px; }.hero-copy { font-size: 1rem; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 9px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }.feature-grid article { grid-template-columns: 50px minmax(0, 1fr); gap: 16px; min-height: 0; padding: 22px 18px; border-radius: 22px 7px 22px 7px; }.feature-grid article + article { padding-left: 18px; }.feature-icon { width: 46px; height: 46px; }.feature-icon svg { width: 25px; height: 25px; }
  .final-cta { align-items: stretch; flex-direction: column; padding: 72px 24px; }.final-cta .button { width: 100%; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 34px 24px; } footer > div { justify-content: flex-start; gap: 26px; } footer > small { justify-self: start; }
  .legal-header, .legal-main { width: calc(100% - 32px); }
  .legal-header { padding: 18px 0; }
  .legal-main { margin-top: 36px; margin-bottom: 60px; }
  .legal-title { padding-bottom: 48px; }
  .legal-title h1 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
  .legal-document { padding: 26px 20px; border-radius: 18px; }
  .legal-related { align-items: flex-start; flex-direction: column; }
  .cabinet-shell { min-height: 590px; padding: 48px 22px 28px; }.cabinet-brand { margin-bottom: 35px; }.cabinet-login h2, .dashboard-top h2 { font-size: 1.9rem; }.dashboard-top { display: block; }.cabinet-nav { grid-template-columns: 1fr; }.subscription-card { grid-template-columns: 1fr; }.dashboard-grid { grid-template-columns: 1fr; }.subscription-link { align-items: stretch; flex-direction: column; }.connection-actions { grid-template-columns: 1fr; }
  .plan-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .plan-card.featured .plan-heading { padding-top: 28px; padding-right: 0; }
}

/* Home footer: equal side tracks keep the legal links at the page centre. */
@media (min-width: 961px) {
  .site-footer { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .site-footer > .brand { justify-self: start; }
  .site-footer > div { justify-self: center; gap: 48px; }
  .site-footer > small { justify-self: end; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
