:root {
  --bg: #ffffff;
  --surface: #f8fafe;
  --surface-2: #eef3fd;
  --text: #202124;
  --muted: #5f6368;
  --line: #dde3ea;
  --primary: #1a73e8;
  --primary-hover: #185abc;
  --success: #137333;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(32, 33, 36, 0.07);
  --shadow-md: 0 10px 30px rgba(32, 33, 36, 0.1);
  --shadow-lg: 0 14px 50px rgba(32, 33, 36, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section-soft {
  background: var(--surface);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: #fff;
  color: #000;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  z-index: 2000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 73px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}

.nav-wrap {
  flex-wrap: nowrap;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 32px;
}

.brand-logo {
  flex: 0 0 auto;
}

.brand-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #3c4043;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a {
  color: #3c4043;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.75rem;
}

.btn {
  --btn-bg: transparent;
  --btn-color: var(--text);
  --btn-border: transparent;
  appearance: none;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  --btn-bg: var(--primary);
  --btn-color: #fff;
  --btn-border: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  --btn-bg: var(--primary-hover);
  --btn-border: var(--primary-hover);
}

.btn-outline {
  --btn-border: #c8d2e1;
  --btn-color: #1f2a37;
  --btn-bg: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  --btn-border: var(--primary);
  --btn-color: var(--primary);
}

.btn-ghost {
  --btn-color: var(--primary);
  --btn-bg: #eef4ff;
  --btn-border: #d8e6ff;
}

.btn-lg {
  min-height: 50px;
  padding-inline: 1.4rem;
  font-size: 0.95rem;
}

.full {
  width: 100%;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #4b5563;
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  border-color: #c7d7ef;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.14);
}

.mobile-toggle.active,
.site-header.menu-open .mobile-toggle {
  background: #f3f7ff;
  border-color: #bfd5f8;
}

.mobile-toggle.active span,
.site-header.menu-open .mobile-toggle span {
  background: #1a73e8;
}

.mobile-toggle.active span:nth-child(1),
.site-header.menu-open .mobile-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2),
.site-header.menu-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3),
.site-header.menu-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@keyframes menuOpenDrop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menuDrawerIn {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 1rem;
  line-height: 1.12;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
  margin: 0;
  line-height: 1.2;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
}

h3 {
  margin: 0;
  line-height: 1.3;
  font-size: 1.2rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.microcopy {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: #68737f;
}

.hero-visual {
  min-height: clamp(300px, 34vw, 420px);
}

.dashboard-card {
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid #dbe5f5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

.dash-top {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d2d9e3;
}

.dot:first-child {
  background: #f28b82;
}

.dot:nth-child(2) {
  background: #fdd663;
}

.dot:nth-child(3) {
  background: #81c995;
}

.dash-grid {
  margin-top: 1rem;
  height: calc(100% - 1.3rem);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(80px, 1fr) minmax(80px, 1fr) minmax(80px, 1fr);
}

.panel {
  border-radius: 14px;
  border: 1px solid #dbe5f6;
  background: linear-gradient(140deg, #edf3ff 0%, #ffffff 100%);
  min-height: 80px;
}

.panel-wide {
  grid-column: 1 / -1;
}

.panel-tall {
  grid-row: span 2;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2rem;
}

.feature-list {
  display: grid;
  gap: 1.25rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: clip;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feature-row:nth-child(even) {
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 1fr);
}

.feature-row:nth-child(even) .feature-media {
  order: 2;
}

.feature-row:nth-child(even) .feature-copy {
  order: 1;
}

.feature-media {
  min-height: 220px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.media-mail {
  background-image:
    radial-gradient(circle at 15% 20%, #dbe9ff 0, #dbe9ff 22%, transparent 23%),
    linear-gradient(150deg, #f7faff 0%, #edf3ff 50%, #e8f0fe 100%);
}

.media-drive {
  background-image:
    radial-gradient(circle at 82% 20%, #daf5e2 0, #daf5e2 24%, transparent 25%),
    linear-gradient(140deg, #f7fff9 0%, #eaf8ef 55%, #e3f4e7 100%);
}

.media-meet {
  background-image:
    radial-gradient(circle at 25% 80%, #dce9ff 0, #dce9ff 22%, transparent 23%),
    linear-gradient(145deg, #f8fbff 0%, #ecf3ff 52%, #e5efff 100%);
}

.media-docs {
  background-image:
    radial-gradient(circle at 80% 72%, #e5edff 0, #e5edff 22%, transparent 23%),
    linear-gradient(145deg, #f8faff 0%, #eef3ff 55%, #e7eeff 100%);
}

.feature-copy {
  padding: 1.4rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5fb;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

.feature-copy p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.pricing-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.2vw, 2rem);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.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;
}

.pricing-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.billing-toggle {
  width: 220px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #cfd8e4;
  background: #f8fbff;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4px;
  cursor: pointer;
  user-select: none;
}

.billing-toggle span {
  text-align: center;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3f4b59;
}

.billing-toggle i {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8e2ef;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

#billing-toggle:checked ~ .pricing-controls .billing-toggle i {
  transform: translateX(100%);
}

.billing-note {
  margin: 0;
  font-size: 0.9rem;
  color: #507a58;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  position: relative;
}

.price-card.is-popular {
  border-color: #8ab4f8;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.15);
}

.badge {
  margin: 0 0 0.7rem;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #e8f0fe;
  color: #1f5cc1;
}

.price {
  margin: 0.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-monthly,
.price-annual {
  font-size: 1.8rem;
  font-weight: 700;
}

.price-annual {
  display: none;
}

#billing-toggle:checked ~ .pricing-grid .price-monthly {
  display: none;
}

#billing-toggle:checked ~ .pricing-grid .price-annual {
  display: inline;
}

.term {
  color: #5f6a77;
  font-size: 0.86rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1rem;
  display: grid;
  gap: 0.62rem;
  color: #4b5563;
  font-size: 0.94rem;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.price-card li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 35%, transparent 36%),
    linear-gradient(135deg, #34a853 0%, #137333 100%);
}

.price-card .btn {
  margin-top: auto;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 470px);
  gap: clamp(1.25rem, 3.4vw, 3rem);
  align-items: start;
}

.auth-intro p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  color: #3d4a56;
  display: flex;
  gap: 0.55rem;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0.2rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #1a73e8, #34a853);
}

.auth-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  position: relative;
}

.auth-shell input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  background: #f4f8fe;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  padding: 0.3rem;
}

.auth-tabs label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #405162;
  cursor: pointer;
}

#tab-signin:checked ~ .auth-tabs label[for="tab-signin"],
#tab-signup:checked ~ .auth-tabs label[for="tab-signup"] {
  background: #fff;
  color: #1f2937;
  box-shadow: var(--shadow-sm);
}

.auth-panels {
  margin-top: 1rem;
}

.auth-panel {
  display: none;
}

#tab-signin:checked ~ .auth-panels .panel-signin,
#tab-signup:checked ~ .auth-panels .panel-signup {
  display: block;
}

.field {
  margin-bottom: 0.92rem;
}

.field label {
  display: inline-block;
  margin-bottom: 0.42rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.field input {
  width: 100%;
  border: 1px solid #ced9e7;
  background: #fff;
  border-radius: 12px;
  padding: 0.68rem 0.78rem;
  min-height: 44px;
}

.field input:focus-visible {
  border-color: #8ab4f8;
  outline: 2px solid #dbeafe;
  outline-offset: 1px;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #1a73e8;
  font-weight: 500;
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.72rem;
}

.skeleton-block {
  margin-top: 0.9rem;
  display: none;
  border: 1px solid #d9e4f3;
  border-radius: 12px;
  padding: 0.9rem;
  background: #f8fbff;
}

.auth-shell.is-loading .skeleton-block {
  display: block;
}

.auth-shell.is-loading .auth-panels,
.auth-shell.is-loading .auth-tabs {
  opacity: 0.42;
  pointer-events: none;
}

.skeleton {
  border-radius: 10px;
  background:
    linear-gradient(100deg, #eaf1fb 20%, #f8fbff 40%, #eaf1fb 60%) #eaf1fb;
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}

.skeleton-line {
  height: 14px;
}

.skeleton-line.short {
  width: 60%;
  margin-top: 0.6rem;
}

.skeleton-card {
  height: 80px;
  margin-top: 0.8rem;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer h3 {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: #4a5563;
  font-size: 0.9rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding: 1rem 0 1.6rem;
  border-top: 1px solid #e2e8f2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  color: #566171;
  font-size: 0.88rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.crumb {
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #5f6a77;
  font-size: 0.88rem;
}

.crumb .container {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #e8f0fe;
  color: #1f5cc1;
  font-size: 0.78rem;
  font-weight: 700;
}

.meta {
  color: #667385;
  font-size: 0.88rem;
  margin: 0.5rem 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 0.75rem;
}

.accordion-btn {
  width: 100%;
  border: 0;
  background: #fff;
  min-height: 56px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-weight: 600;
  color: #2b3440;
}

.accordion-content {
  display: none;
  padding: 0 1rem 1rem;
  color: #4b5563;
}

.faq-item.active .accordion-content {
  display: block;
}

.plan-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(300px, 1fr);
  gap: 1rem;
}

.plan-summary,
.plan-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.plan-summary ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: #4b5563;
}

.plan-form h2 {
  font-size: 1.02rem;
  margin-bottom: 0.75rem;
}

.field textarea,
.field select {
  width: 100%;
  border: 1px solid #ced9e7;
  background: #fff;
  border-radius: 12px;
  padding: 0.68rem 0.78rem;
  min-height: 44px;
}

.field textarea:focus-visible,
.field select:focus-visible {
  border-color: #8ab4f8;
  outline: 2px solid #dbeafe;
  outline-offset: 1px;
}

.label-required::after {
  content: "*";
  color: #dc2626;
  margin-left: 0.2rem;
}

.form-note {
  margin: 0.65rem 0 0;
  color: #607285;
  font-size: 0.84rem;
}

.form-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2200;
  width: min(420px, calc(100% - 2rem));
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid #c7e5cf;
  background: #edf9f1;
  color: #14532d;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.form-notice.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.form-notice.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.form-notice-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-notice-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #cfd8e4;
  background: #fff;
  color: #334155;
  cursor: pointer;
  flex: 0 0 auto;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.language-picker select {
  min-height: 36px;
  border: 1px solid #cfd8e4;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  padding: 0.2rem 0.45rem;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1003;
  }

  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0) saturate(100%);
    -webkit-backdrop-filter: blur(0) saturate(100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease,
      background-color 0.35s ease;
    z-index: 999;
  }

  .site-header.menu-open::before {
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: -100%;
    top: 72px;
    right: auto;
    width: 100%;
    height: calc(100dvh - 72px);
    margin: 0;
    padding: 2.2rem 0 12rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    z-index: 1001;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav li:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .main-nav a {
    display: block;
    border: 0;
    border-radius: 0;
    padding: 1rem 2rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.01em;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: #ffffff;
    background: transparent;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
  }

  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: fixed;
    left: -100%;
    bottom: 0;
    right: auto;
    width: 100%;
    margin: 0;
    padding: 1rem 2rem 2rem;
    border-left: 0;
    border-top: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    z-index: 1002;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .nav-actions,
  .main-nav.active,
  .nav-actions.active {
    left: 0;
  }

  .nav-actions .btn {
    width: 100%;
    border-color: rgba(255, 255, 255, 0.2);
  }

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

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

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

@media (max-width: 860px) {
  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

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

  .hero-visual {
    min-height: 280px;
  }

  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(even) .feature-media,
  .feature-row:nth-child(even) .feature-copy {
    order: initial;
  }

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

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

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

  .plan-shell {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

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

@media (hover: none) and (pointer: coarse) {
  a,
  button,
  input,
  textarea,
  select,
  label {
    -webkit-tap-highlight-color: transparent;
  }
}
