﻿/* Extracted from site-new.css. Legacy rules remain in site-new.css until visual verification is complete. */

.new-page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfdff 0%, var(--background) 45%, #ffffff 100%);
}

.new-main {
  position: relative;
  z-index: 10;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) 4rem;
}

.new-landing-content {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
}

.new-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 1.05fr);
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 4rem) 0 0;
}

.new-hero-copy {
  display: grid;
  align-content: center;
  gap: 1.35rem;
  min-width: 0;
}

.new-hero h1,
.new-section h2,
.panel h2 {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: 0;
}

.new-hero h1 {
  max-width: 42rem;
  font-size: clamp(2.75rem, 6.2vw, 5rem);
  line-height: 1;
}

.new-hero h1 span {
  color: var(--primary);
}

.new-hero-description {
  max-width: 35rem;
  margin: 0;
  color: var(--muted-foreground);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.62;
}

.new-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 34rem;
  padding: clamp(0.5rem, 2vw, 1.5rem);
}

.new-section {
  display: grid;
  gap: 1.2rem;
  padding: 0;
}

.new-section-head {
  display: grid;
  gap: 0.55rem;
  max-width: 50rem;
}

.new-section h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.12;
}

.new-section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
}

.new-feature-grid,
.new-price-grid,
.new-step-grid {
  display: grid;
  gap: 0.9rem;
}

.new-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.new-price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.new-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.new-feature-grid article,
.new-price-grid article,
.new-step-grid article,
.faq-list details,
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.new-feature-grid article,
.new-price-grid article,
.new-step-grid article {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.new-feature-grid h3,
.new-step-grid h3 {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-headings);
  font-size: 1.05rem;
  line-height: 1.25;
}

.new-feature-grid p,
.new-price-grid p,
.new-step-grid p,
.faq-list p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.5;
}

.new-step-grid article {
  position: relative;
  min-height: 10rem;
}

.new-step-grid article > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.new-price-grid span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.new-price-grid strong {
  color: var(--foreground);
  font-family: var(--font-headings);
  font-size: 1.55rem;
  line-height: 1.1;
}

.composer {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  align-items: start;
  gap: 1rem;
  min-height: calc(100svh - 7rem);
  padding: 2.5rem 0 0;
}

.main-stack,
.side-stack {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.main-stack {
  grid-template-rows: auto minmax(0, 1fr);
}

.side-stack {
  grid-template-rows: auto minmax(0, 1fr);
}

.panel {
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.panel-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.panel-head-compact {
  margin-bottom: 0.75rem;
}

.panel h2 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.16;
}

.panel-animate {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 300ms ease;
  transition-delay: var(--panel-delay, 0ms);
}

.panel-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.site-footer-brand {
  color: var(--foreground);
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  gap: 5px;
  align-items: center;
}

.site-footer-logo {
  width: 24px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0;
}

.site-footer-links a {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: var(--primary);
}

.site-footer p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.82rem;
}

.site-footer-legal {
  max-width: 34rem;
}

.cookie-banner {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(48rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.cookie-banner-actions a {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.cookie-banner-actions a:hover {
  text-decoration: underline;
}
