:root {
  color-scheme: dark;
  --bg: #070b14;
  --panel: rgba(14, 22, 36, 0.72);
  --panel-strong: #101827;
  --line: rgba(166, 184, 216, 0.18);
  --text: #f7fbff;
  --muted: #a9b8ce;
  --soft: #70839f;
  --blue: #4f7cff;
  --cyan: #22d3ee;
  --green: #2dd4bf;
  --amber: #f5b84b;
  --danger: #ff6b6b;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(15, 25, 44, 0.72), transparent 620px),
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 55%);
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  width: min(calc(100% - 32px), 1180px);
  transform: translateX(-50%);
  margin-top: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(79, 124, 255, 0.45);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 14px;
  font-weight: 900;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover,
.ghost-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-link {
  color: var(--muted);
  font-size: 14px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #bcecff);
  color: #07111f;
  font-weight: 800;
  box-shadow: 0 16px 35px rgba(34, 211, 238, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(34, 211, 238, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: none;
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.button.full {
  width: 100%;
}

.menu-button {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: 135px 0 80px;
  display: grid;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 900px;
  text-align: center;
  justify-self: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 960px;
  margin: 0 auto;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--soft);
  font-size: 13px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-stage {
  position: relative;
  isolation: isolate;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% -6%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(45, 212, 191, 0.12), rgba(79, 124, 255, 0.14));
  filter: blur(55px);
  border-radius: 8px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(166, 184, 216, 0.22);
  border-radius: 8px;
  background: rgba(8, 14, 25, 0.82);
  box-shadow: var(--shadow);
}

.hero-frame {
  max-height: 560px;
}

.browser-dots {
  display: flex;
  gap: 7px;
  height: 38px;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #46536a;
}

.browser-dots span:nth-child(1) {
  background: #ff6b6b;
}

.browser-dots span:nth-child(2) {
  background: #f5b84b;
}

.browser-dots span:nth-child(3) {
  background: #2dd4bf;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
  object-position: left top;
}

.showcase,
.problem,
.solution,
.proof,
.features,
.workflow,
.pricing,
.final-cta {
  padding: 98px 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-heading p:not(.eyebrow),
.split-layout p,
.solution-band p,
.pricing-card p,
.final-inner p,
.product-card p,
.feature-card p {
  color: var(--muted);
  line-height: 1.7;
}

.showcase-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 34px;
}

.product-card{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:14px;
    justify-content:flex-start;
}

.product-card:hover,
.feature-card:hover,
.proof-card:hover,
.problem-list div:hover,
.flow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.product-card.large {
  grid-row: span 2;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: left top;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 650ms ease;
}

.product-card:hover img,
.solution-band:hover img,
.hero-frame:hover img {
  transform: scale(1.035);
}

.product-card.large img{
    height:650px;
    object-fit:cover;
    object-position:center top;
}

.product-card span {
  display: block;
  margin-bottom: 6px;
  font-weight: 850;
}

.product-card p {
  margin-bottom: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 48px;
  align-items: center;
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-list div {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #eaf2ff;
  font-weight: 720;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.bad {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.12);
  color: var(--danger);
  font-weight: 950;
  text-transform: uppercase;
}

.solution-band {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

solution-band img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 650ms ease;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.proof-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.proof-card strong {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
  color: var(--text);
}

.proof-card span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 720;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.feature-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  font-weight: 900;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.flow-step {
  min-height: 90px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.flow-step span {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.12);
  color: var(--green);
}

.flow-line {
  display: none;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 124, 255, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.05);
}

.price-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 11, 20, 0.72);
}

.plan-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  margin: 14px 0 8px;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.call-link {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.final-inner {
  padding: 70px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.045);
}

.final-inner h2,
.final-inner p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.center {
  justify-content: center;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 52px 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 18px 0 0;
  color: var(--soft);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.founder-note {
  text-align: right;
  white-space: nowrap;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 110ms;
}

.delay-2 {
  transition-delay: 220ms;
}

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

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.open {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.open .desktop-nav,
  .site-header.open .header-actions {
    width: 100%;
    display: grid;
    gap: 14px;
  }

  .showcase-grid,
  .split-layout,
  .solution-band,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-card.large {
    grid-row: auto;
  }

  .product-card.large img,
  .solution-band img {
    height: 360px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .founder-note {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    width: min(calc(100% - 20px), 1180px);
    margin-top: 10px;
  }

  .hero {
    padding-top: 118px;
    gap: 38px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-frame img {
    aspect-ratio: 5 / 4;
  }

  .showcase,
  .problem,
  .solution,
  .features,
  .workflow,
  .pricing,
  .final-cta {
    padding: 70px 0;
  }

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

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

  .product-card img,
  .product-card.large img,
  .solution-band img {
    height: 300px;
  }

  .pricing-card,
  .solution-band,
  .flow {
    padding: 18px;
  }

  .price {
    font-size: 46px;
  }
}
.footer-brand {
    text-align: left;
}

.footer-brand .brand {
    margin-bottom: 14px;
}

.footer-brand-link{
    display:inline-flex;
    align-items:center;
    gap:14px;
    margin-bottom:14px;
}

.footer-tagline{
    display:block;
    max-width:240px;
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

/* GymOS v1.0 additions */
.brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.announcement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 8px;
  color: #dffbff;
  background: rgba(34, 211, 238, 0.08);
  font-size: 13px;
  font-weight: 850;
}

.hero__copy {
  max-width: 900px;
  text-align: center;
  justify-self: center;
}

.hero__subtitle {
  max-width: 790px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
}

.hero-visual,
.automation-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(166, 184, 216, 0.22);
  border-radius: 8px;
  background: rgba(8, 14, 25, 0.82);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.automation-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 11, 20, 0.32), transparent 56%);
}

.hero-visual img,
.automation-visual img,
.visual-card img,
.solution-band img {
  width: 100%;
  transition: transform 650ms ease;
}

.hero-visual img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center;
}

.hero-visual:hover img,
.automation-visual:hover img,
.visual-card:hover img {
  transform: scale(1.035);
}

.why,
.automation,
.choose,
.founder,
.testimonials,
.security,
.faq {
  padding: 98px 0;
}

.benefit-list,
.automation-list,
.security-grid {
  display: grid;
  gap: 12px;
}

.benefit-list span,
.automation-list span,
.security-grid span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #eaf2ff;
  font-weight: 780;
}

.showcase-grid {
  align-items: stretch;
}

.visual-card {
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.visual-card--large {
  grid-row: span 2;
}

.visual-card picture {
  overflow: hidden;
  border-radius: 8px;
}

.visual-card img {
  height: 680px;
  object-fit: cover;
  object-position: center top;
}

.visual-card span {
  display: block;
  margin-bottom: 6px;
  font-weight: 850;
}

.visual-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-panel,
.testimonial-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mini-panel:hover,
.testimonial-card:hover,
.visual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.automation-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.automation-list {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.automation-visual img {
  height: 620px;
  object-fit: cover;
  object-position: center;
}

.choice-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.founder-card {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.founder-name {
  color: var(--cyan);
  font-weight: 800;
}


.testimonial-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--amber);
}

.testimonial-card p {
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card small {
  margin-top: 4px;
  color: var(--soft);
}

.security-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.faq-list summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 820;
}

.faq-list summary::after {
  content: "+";
  color: var(--green);
  font-size: 22px;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.price-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price-panel li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: none;
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.button--full {
  width: 100%;
  margin-top: 10px;
}

.site-footer {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 28px;
}
.footer-brand {
    min-width: 220px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-size: 15px;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}
.footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.footer-brand p {
  max-width: 100%;
  margin-top: 16px;
}
.footer-brand .brand{
    gap:14px;
}
.footer-brand .brand{
    gap:14px;
    margin-bottom:16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

.legal-page,
.contact-page {
  padding: 90px 0;
}

.legal-brand {
  margin-bottom: 46px;
}

.legal-page h1,
.contact-page h1 {
  max-width: 820px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  margin-bottom: 24px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p,
.contact-page p {
  max-width: 840px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-actions {
  display: grid;
  gap: 12px;
  max-width: 360px;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(7, 11, 20, 0.72);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 980px) {
  .automation-layout,
  .founder-card {
    grid-template-columns: 1fr;
  }

  .choice-grid,
  .testimonial-grid,
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .announcement {
    font-size: 12px;
  }

  .hero-visual img {
    aspect-ratio: 9 / 14;
    object-position: center;
  }

  .visual-card img,
  .automation-visual img {
    height: auto;
    aspect-ratio: 9 / 14;
    object-fit: cover;
  }

  .automation-list,
  .choice-grid,
  .testimonial-grid,
  .security-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    padding: 20px;
  }

  .founder-card img {
    width: 160px;
    height: 160px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
