:root {
  --bg: #f5f2eb;
  --bg-soft: #faf8f4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --surface-muted: #f2efe8;
  --line: rgba(23, 35, 58, 0.08);
  --text: #182231;
  --text-soft: #5b6675;
  --accent: #5a86d6;
  --accent-soft: rgba(90, 134, 214, 0.13);
  --shadow: 0 24px 70px rgba(29, 45, 74, 0.08);
  --shadow-soft: 0 16px 35px rgba(29, 45, 74, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(147, 177, 229, 0.26), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(180deg, #f7f5f0 0%, #f4f1ea 100%);
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(214, 64, 14, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

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

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.language-switcher::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(24, 34, 49, 0.48);
  border-bottom: 1.5px solid rgba(24, 34, 49, 0.48);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.language-select {
  min-width: 122px;
  min-height: 40px;
  padding: 0 34px 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  appearance: none;
  cursor: pointer;
}

.language-select:focus {
  outline: none;
}

.language-select:hover,
.language-select:focus-visible {
  color: var(--text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #698fdd 0%, #517acf 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(81, 122, 207, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: var(--line);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.94rem;
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 530px);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1,
h2 {
  font-family: "Fraunces", "SF Pro Display", Georgia, serif;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 5.3vw, 4.25rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.1;
}

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.hero-text {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero-proof div,
.problem-card,
.feature-card,
.showcase-card,
.step-card,
.benefit-card,
.audience-card,
.cta-panel,
.site-footer {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.hero-proof div {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 700px;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
}

.glow-one {
  width: 320px;
  height: 320px;
  right: 14%;
  top: 12%;
  background: rgba(138, 173, 235, 0.28);
}

.glow-two {
  width: 260px;
  height: 260px;
  left: 10%;
  bottom: 14%;
  background: rgba(255, 255, 255, 0.7);
}

.device {
  position: relative;
  border-radius: 44px;
  padding: 12px;
  background: #141a22;
  box-shadow: 0 30px 80px rgba(18, 26, 40, 0.24);
}

.device-main {
  width: min(100%, 360px);
}

.device-mini {
  width: 210px;
}

.device-stack {
  position: absolute;
  right: 12px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.device-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 34%;
  height: 28px;
  border-radius: 18px;
  transform: translateX(-50%);
  background: #090d12;
  z-index: 2;
}

.device-screen {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  padding: 66px 20px 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(188, 207, 243, 0.42), transparent 32%),
    linear-gradient(180deg, #fcfdff 0%, #f2f5fa 100%);
}

.device-mini .device-screen {
  min-height: 380px;
  padding-top: 62px;
}

.device-screen.muted {
  background:
    radial-gradient(circle at top, rgba(227, 235, 248, 0.8), transparent 32%),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

.device-screen-image {
  min-height: auto;
  padding: 0;
  background: #f7f4f1;
}

.device-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.screen-head,
.screen-card,
.screen-calendar,
.mini-panel,
.mini-lines,
.showcase-placeholder,
.screenshot-block,
.mockup-panel {
  border: 1px dashed rgba(89, 122, 178, 0.24);
  background: rgba(255, 255, 255, 0.76);
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 20px;
}

.screen-label {
  font-weight: 600;
  color: var(--text);
}

.screen-status {
  color: var(--accent);
  font-size: 0.92rem;
}

.screen-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 24px;
}

.screen-card p {
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.screen-card strong {
  display: block;
  margin-bottom: 6px;
}

.screen-card span {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.screen-card-featured {
  background: linear-gradient(180deg, rgba(238, 244, 255, 0.95), rgba(247, 250, 255, 0.95));
}

.screen-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
}

.screen-calendar span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--text-soft);
  background: rgba(245, 247, 251, 0.85);
}

.screen-calendar .active {
  background: var(--accent-soft);
  color: #355ea8;
  font-weight: 700;
}

.mockup-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(24, 34, 49, 0.06);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.mini-lines {
  height: 14px;
  margin-bottom: 12px;
  border-radius: 999px;
}

.mini-lines.short {
  width: 70%;
}

.mini-panel {
  height: 160px;
  margin-top: 22px;
  border-radius: 28px;
}

.mini-panel.soft {
  background: rgba(234, 241, 255, 0.86);
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 34px;
}

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

.problem-grid,
.feature-grid,
.showcase-grid,
.steps-grid,
.benefits-grid,
.audience-grid,
.footer-links {
  display: grid;
  gap: 20px;
}

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

.problem-card,
.step-card,
.benefit-card,
.audience-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.problem-number,
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.feature-card {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.feature-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
}

.feature-copy {
  display: grid;
  gap: 10px;
}

.feature-visual,
.showcase-device,
.screenshot-block,
.mockup-panel {
  min-height: 220px;
  border-radius: 28px;
}

.mockup-panel,
.screenshot-block {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text-soft);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 247, 250, 0.78)),
    repeating-linear-gradient(
      -45deg,
      rgba(96, 129, 186, 0.06),
      rgba(96, 129, 186, 0.06) 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 24px
    );
}

.section-showcase {
  position: relative;
}

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

.showcase-card {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.showcase-card-tall {
  grid-row: span 2;
}

.showcase-card-wide {
  grid-column: 1 / -1;
}

.showcase-device {
  display: grid;
  place-items: center;
  padding: 26px;
  background:
    radial-gradient(circle at top, rgba(188, 207, 243, 0.32), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eff3f7 100%);
}

.showcase-device .device {
  width: min(100%, 300px);
}

.showcase-device .device-screen {
  min-height: 560px;
}

.showcase-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  border-radius: 26px;
  color: var(--text-soft);
  text-align: center;
}

.showcase-copy {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

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

.screenshot-block.small {
  min-height: 240px;
}

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

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

.benefit-card h3,
.audience-card h3,
.problem-card h3,
.step-card h3 {
  margin-bottom: 10px;
}

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

.section-cta {
  padding-bottom: 96px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  padding: 34px;
  border-radius: 36px;
}

.waitlist-form {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
}

.waitlist-form label {
  display: grid;
  gap: 10px;
}

.waitlist-form span {
  font-size: 0.94rem;
  font-weight: 600;
}

.waitlist-form input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(24, 34, 49, 0.1);
  border-radius: 16px;
  background: white;
  color: var(--text);
}

.waitlist-form input:focus {
  outline: 2px solid rgba(90, 134, 214, 0.24);
  border-color: rgba(90, 134, 214, 0.4);
}

.form-note {
  font-size: 0.92rem;
}

.form-response {
  min-height: 24px;
  color: #355ea8;
  font-size: 0.94rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
  padding: 28px;
  border-radius: 28px;
}

.footer-brand {
  max-width: 320px;
}

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

.footer-links {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
}

.footer-links h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
}

.legal-page {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding: 18px 0 48px;
}

.legal-shell {
  margin-top: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-weight: 600;
}

.legal-back:hover {
  color: var(--text);
}

.legal-header {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.legal-header h1 {
  max-width: none;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.legal-meta {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.legal-content {
  display: grid;
  gap: 24px;
}

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.65;
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-contact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 640px;
  }

  .problem-grid,
  .steps-grid,
  .audience-grid,
  .benefits-grid,
  .showcase-grid,
  .feature-grid,
  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-wide,
  .showcase-card-wide,
  .cta-panel,
  .site-footer {
    grid-column: auto;
  }

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

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

  .cta-panel,
  .site-footer {
    display: grid;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content));
  }

  .site-header {
    top: 10px;
    padding: 14px;
    border-radius: 28px;
  }

  .top-nav,
  .site-header .button-small {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .section {
    padding: 56px 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.15rem, 9.6vw, 3.2rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-proof,
  .problem-grid,
  .feature-grid,
  .showcase-grid,
  .steps-grid,
  .benefits-grid,
  .audience-grid,
  .footer-links,
  .showcase-multi,
  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .device-main {
    width: min(100%, 320px);
  }

  .device-stack {
    right: 6px;
    bottom: 24px;
  }

  .device-mini {
    width: 170px;
  }

  .problem-card,
  .feature-card,
  .showcase-card,
  .step-card,
  .benefit-card,
  .audience-card,
  .cta-panel,
  .site-footer {
    padding: 22px;
  }

  .waitlist-form {
    padding: 0;
    background: transparent;
  }

  .legal-page {
    width: min(calc(100% - 20px), 920px);
  }

  .legal-shell {
    padding: 24px 20px;
    border-radius: 24px;
  }
}
