:root {
  --black: #050505;
  --text: #0b0b0c;
  --muted: #5b5b62;
  --line: #111111;
  --soft-line: #e7e7ea;
  --paper: #ffffff;
  --soft: #f8f8f9;
  --rose: #ef4f67;
  --rose-soft: #fff5f7;
  --blue-soft: #eef4ff;
  --violet: #6d5dfc;
  --violet-2: #b9a8ff;
  --shadow: 0 26px 72px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1232px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1.5px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand strong {
  font-size: 22px;
  font-weight: 850;
  line-height: 1;
}

.brand span {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.main-nav .nav-cta {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--black);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav .nav-cta:hover {
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--black);
  transition: transform 160ms ease;
}

.menu-button span + span {
  margin-top: -11px;
}

.menu-open .menu-button span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

.hero {
  padding: 58px 0 106px;
}

.hero-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.hero h1 {
  max-width: 660px;
  margin: 0 0 30px;
  font-size: clamp(50px, 4.2vw, 60px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  max-width: 640px;
  margin: 0 0 34px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
}

.outline-button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.outline-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.outline-button.filled {
  width: 100%;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--black);
}

.hero-button {
  margin-left: 0;
}

.metrics {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1.5px solid var(--line);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 8px;
  font-size: 31px;
  font-weight: 850;
  line-height: 1;
}

.metrics span {
  font-size: 15px;
  line-height: 1.3;
}

.product-window {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  align-self: flex-start;
  justify-self: end;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: scale(0.9);
  transform-origin: top right;
}

.window-bar {
  display: grid;
  flex: 0 0 auto;
  min-height: 50px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 18px;
  border-bottom: 1.5px solid var(--line);
  font-size: 12px;
  font-weight: 500;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: #ff6b5f;
}

.window-dots span:nth-child(2) {
  background: #f6be4f;
}

.window-dots span:nth-child(3) {
  background: #56c55d;
}

.window-body {
  flex: 1;
}

.product-mockup {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.mockup-title-row,
.product-card-head,
.lawyer-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mockup-title-row span,
.product-card-head span,
.lawyer-note span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.mockup-title-row h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.1;
}

.mockup-title-row a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--black);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.mockup-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mockup-summary article,
.product-card {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.mockup-summary article {
  min-height: 94px;
  padding: 14px;
}

.mockup-summary span,
.mockup-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mockup-summary strong {
  display: block;
  margin: 10px 0 5px;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.mockup-card-grid {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.product-card {
  min-width: 0;
  padding: 16px;
}

.ai-review-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  grid-row: span 2;
  background: linear-gradient(145deg, #eef5ff, #f3f2ff);
}

.product-card-head {
  margin-bottom: 12px;
}

.product-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
}

.product-card-head em {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff1f4;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.product-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.ai-review-card p {
  margin-bottom: 14px;
}

.ai-review-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}

.ai-review-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.35;
}

.ai-review-card li::before {
  flex: 0 0 auto;
  color: #d49a2c;
  content: "△";
}

.ai-review-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin-top: auto;
  padding: 0 13px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.compact-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.score-label {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3f8ff;
  font-size: 12px;
  font-weight: 800;
}

.calendar-scale {
  display: grid;
  grid-template-columns: 1fr 0.65fr 0.45fr;
  gap: 6px;
  margin-top: 16px;
}

.calendar-scale span {
  height: 7px;
  border-radius: 999px;
  background: var(--black);
}

.calendar-scale span:nth-child(2) {
  background: var(--violet);
}

.calendar-scale span:nth-child(3) {
  background: var(--rose);
}

.lawyer-note {
  align-items: flex-start;
  padding: 16px;
}

.lawyer-note h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.lawyer-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.lawyer-note time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 92px 0;
}

.center-title,
.wide-title,
.split-section h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 56px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.center-title {
  max-width: 940px;
  margin: 0 auto 64px;
  text-align: center;
}

.wide-title {
  margin-bottom: 70px;
  text-align: center;
}

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

.problem-card {
  min-height: 270px;
  padding: 28px 24px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
}

.line-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--black);
  color: var(--paper);
  font-size: 22px;
  font-weight: 750;
}

.problem-card h3,
.feature-card h3,
.workflow-grid h3,
.audience-grid h3,
.security-grid h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
}

.problem-card p,
.feature-card p,
.workflow-grid p,
.audience-grid p,
.security-grid p,
.split-section p,
.cta-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

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

.feature-card {
  min-height: 220px;
  padding: 28px 26px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--black);
  color: var(--paper);
  font-size: 20px;
  font-weight: 850;
}

.split-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.78fr);
  gap: 72px;
}

.split-section h2 {
  margin-bottom: 22px;
}

.split-section > div > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.process-line {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.process-line span {
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
}

.chat-mockup {
  padding: 24px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.chat-head,
.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.chat-head strong,
.dialog-bar strong {
  font-size: 20px;
}

.chat-head span,
.dialog-bar span {
  color: var(--muted);
  font-size: 13px;
}

.dialog-bar {
  min-height: 42px;
  margin-bottom: 0;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--line);
}

.dialog-dots {
  display: flex;
  gap: 7px;
}

.dialog-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  opacity: 0.22;
}

.dialog-body {
  display: grid;
  gap: 16px;
  padding-top: 22px;
}

.dialog-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dialog-row.user {
  justify-content: flex-end;
}

.dialog-row.assistant {
  justify-content: flex-start;
}

.ai-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-size: 12px;
  font-weight: 850;
}

.message {
  padding: 18px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.message.user {
  width: fit-content;
  max-width: min(360px, 82%);
  border: 1.5px solid var(--line);
}

.message.assistant {
  max-width: 390px;
  background: var(--blue-soft);
}

.message.assistant strong {
  display: block;
  margin-bottom: 8px;
}

.message.assistant p {
  margin: 0 0 12px;
}

.message.assistant ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.message.assistant li::before {
  margin-right: 8px;
  content: "△";
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.workflow-grid article,
.audience-grid article,
.security-grid article {
  padding: 24px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
}

.workflow-grid span,
.audience-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--muted);
  font-weight: 750;
}

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

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

.integration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.integration-tags span {
  display: inline-flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 20px;
  font-weight: 850;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.security-grid article {
  grid-column: span 2;
}

.security-grid article:last-child {
  grid-column: span 4;
  background: var(--black);
  color: var(--paper);
}

.security-grid article:last-child p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-section {
  padding: 92px 0;
}

.cta-box {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.7fr);
  gap: 72px;
  padding: 54px;
  border-radius: 18px;
  background: var(--black);
  color: var(--paper);
}

.cta-box h2 {
  margin-bottom: 22px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.demo-form {
  display: grid;
  gap: 14px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.demo-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  outline: none;
  background: transparent;
  color: var(--paper);
}

.demo-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.demo-form input:focus {
  border-color: var(--paper);
}

.footer {
  border-top: 1.5px solid var(--line);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-meta span,
.footer-meta a {
  color: var(--muted);
  font-size: 14px;
}

.footer-meta a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-hero {
  padding: 78px 0 46px;
  border-bottom: 1.5px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 850;
  line-height: 1.05;
}

.legal-hero p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.legal-section-wrap {
  padding: 58px 0 96px;
}

.legal-document {
  max-width: 900px;
  margin: 0;
}

.legal-document section,
.legal-details {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1.5px solid var(--soft-line);
}

.legal-document section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-document h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.legal-document p,
.legal-document li,
.legal-details p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.72;
}

.legal-document ul {
  display: grid;
  gap: 10px;
  padding-left: 24px;
  margin: 0 0 18px;
}

.legal-details {
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.legal-details h2 {
  margin-bottom: 18px;
}

.legal-details p:last-child,
.legal-document p:last-child,
.legal-document li:last-child {
  margin-bottom: 0;
}

.auth-page {
  min-height: 100vh;
  background: var(--soft);
}

.auth-screen {
  min-height: 100vh;
  padding: 32px;
}

.auth-shell {
  display: grid;
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  gap: 28px;
}

.auth-intro,
.auth-card {
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  padding: 42px;
  background: var(--black);
  color: var(--paper);
}

.auth-brand {
  color: var(--paper);
}

.auth-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.auth-intro h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 850;
  line-height: 1.05;
}

.auth-intro p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.6;
}

.auth-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.auth-preview article {
  min-height: 132px;
  padding: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.auth-preview span,
.auth-preview small {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.35;
}

.auth-preview strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--paper);
  font-size: 36px;
  font-weight: 850;
  line-height: 1;
}

.auth-card {
  align-self: center;
  padding: 26px;
  box-shadow: var(--shadow);
}

.auth-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  margin-bottom: 28px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.auth-tabs label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

#auth-login:checked ~ .auth-tabs label[for="auth-login"],
#auth-register:checked ~ .auth-tabs label[for="auth-register"] {
  background: var(--black);
  color: var(--paper);
}

.auth-panel {
  display: none;
}

#auth-login:checked ~ .auth-panel-login,
#auth-register:checked ~ .auth-panel-register {
  display: block;
}

.auth-panel-head {
  margin-bottom: 26px;
}

.auth-panel-head h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.1;
}

.auth-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--paper);
  color: var(--text);
}

.auth-form input::placeholder {
  color: rgba(11, 11, 12, 0.36);
}

.auth-form input:focus {
  box-shadow: 0 0 0 4px rgba(5, 5, 5, 0.08);
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

.auth-form-row a {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.auth-checkbox {
  display: flex !important;
  align-items: flex-start;
  grid-template-columns: none;
  gap: 10px !important;
  color: var(--text) !important;
  line-height: 1.45;
}

.auth-checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--black);
}

.auth-checkbox span {
  font-size: 13px;
  font-weight: 700;
}

.auth-consent {
  margin-top: 2px;
}

.auth-submit {
  min-height: 58px;
  margin-top: 8px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--black);
  color: var(--paper);
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.auth-success {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.auth-form.submitted .auth-success {
  display: block;
}

@media (max-width: 1180px) {
  .hero-grid,
  .split-section,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .auth-card {
    align-self: stretch;
  }

  .hero-button {
    margin-left: 0;
  }

  .product-window {
    justify-self: center;
    max-width: 640px;
    margin: 0 auto;
    transform: none;
  }

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

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 64px;
  }

  .brand strong {
    font-size: 18px;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  }

  .main-nav a {
    padding: 16px;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .menu-button {
    display: grid;
  }

  .features-grid,
  .audience-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-grid article,
  .security-grid article:last-child {
    grid-column: auto;
  }

  .auth-screen {
    padding: 20px;
  }

  .auth-shell {
    min-height: auto;
  }

  .auth-intro {
    gap: 38px;
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 32px, 390px);
  }

  .hero {
    padding: 44px 0 70px;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.12;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-copy p,
  .split-section > div > p,
  .cta-box p {
    font-size: 16px;
  }

  .outline-button {
    width: 100%;
    min-height: 58px;
    font-size: 16px;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 22px;
  }

  .metrics strong {
    font-size: 28px;
  }

  .mockup-title-row {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .mockup-title-row h2 {
    flex: 1 0 100%;
    margin: 0;
    font-size: 24px;
  }

  .product-mockup {
    padding: 18px;
  }

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

  .mockup-card-grid {
    grid-template-rows: auto;
  }

  .problem-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .cta-section {
    padding: 68px 0;
  }

  .center-title,
  .wide-title,
  .split-section h2,
  .cta-box h2 {
    font-size: 34px;
  }

  .center-title {
    margin-bottom: 38px;
  }

  .wide-title {
    margin-bottom: 42px;
  }

  .problem-card {
    min-height: auto;
  }

  .feature-card {
    min-height: auto;
  }

  .integration-tags span {
    min-height: 54px;
    padding: 0 18px;
    font-size: 16px;
  }

  .cta-box {
    gap: 34px;
    padding: 28px 20px;
    border-radius: 14px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .footer-meta {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-hero {
    padding: 54px 0 34px;
  }

  .legal-section-wrap {
    padding: 42px 0 68px;
  }

  .legal-document h2 {
    font-size: 21px;
  }

  .legal-document p,
  .legal-document li,
  .legal-details p {
    font-size: 15px;
  }

  .legal-details {
    padding: 22px 18px;
  }

  .auth-screen {
    padding: 14px;
  }

  .auth-intro,
  .auth-card {
    border-radius: 14px;
  }

  .auth-intro {
    padding: 24px 20px;
  }

  .auth-intro h1 {
    font-size: 34px;
  }

  .auth-intro p {
    font-size: 16px;
  }

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

  .auth-preview article {
    min-height: auto;
  }

  .auth-card {
    padding: 18px;
  }

  .auth-panel-head h2 {
    font-size: 28px;
  }

  .auth-form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
