:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --ink: #111827;
  --muted: #5c6674;
  --line: #dce4ea;
  --surface: #ffffff;
  --surface-tint: #edf8f8;
  --accent: #08a4a7;
  --accent-dark: #06787d;
  --accent-soft: #d9f7f7;
  --mint: #effdf7;
  --blue: #2662f0;
  --lime: #c7f04b;
  --dark: #0c111d;
  --shadow: 0 22px 58px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(8, 164, 167, 0.14), transparent 26rem),
    radial-gradient(circle at 88% 10%, rgba(199, 240, 75, 0.16), transparent 24rem),
    radial-gradient(circle at 58% 36%, rgba(38, 98, 240, 0.08), transparent 30rem),
    linear-gradient(180deg, #fbfcfd 0%, var(--bg) 46%, #ffffff 100%);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dark), #08787d 72%, var(--accent));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(12, 17, 29, 0.2);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.language-button {
  min-width: 80px;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.language-button.is-active {
  background: var(--dark);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.76fr);
  align-items: center;
  gap: clamp(30px, 5vw, 62px);
  min-height: 620px;
  padding: 48px 0 34px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.93rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 4.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dark), #0d6f75);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(8, 120, 125, 0.24);
}

.primary-cta:hover,
.primary-cta:focus-visible,
.secondary-cta:hover,
.secondary-cta:focus-visible {
  background: var(--accent-dark);
}

.primary-cta[aria-disabled="true"],
.secondary-cta[aria-disabled="true"] {
  opacity: 0.72;
  cursor: not-allowed;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(8, 164, 167, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #25414a;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  position: absolute;
  inset: 12% 0 auto;
  width: min(88%, 410px);
  height: 76%;
  margin: auto;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(8, 164, 167, 0.18), rgba(199, 240, 75, 0.18)),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.7), transparent 58%);
  content: "";
  filter: blur(22px);
}

.device-shell {
  position: relative;
  width: min(100%, 390px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 253, 247, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.device-shell::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.device-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--dark);
  font-weight: 900;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

.status-pill {
  margin-inline-start: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
}

.chat-card,
.request-card {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 13px;
  border-radius: 12px;
  line-height: 1.45;
}

.chat-card {
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.chat-card.is-owner {
  margin-inline-start: auto;
  background: var(--dark);
  color: #fff;
}

.choice-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.choice-grid span,
.assistant-card span {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 7px;
  border: 1px solid rgba(8, 164, 167, 0.22);
  border-radius: 10px;
  background: rgba(217, 247, 247, 0.76);
  color: #095a5e;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.product-preview {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #101827, #173b43 58%, #08787d);
  color: #fff;
}

.product-glow {
  width: 58px;
  height: 72px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, var(--lime), var(--accent));
  box-shadow: 0 18px 34px rgba(8, 164, 167, 0.3);
}

.product-preview p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.product-preview strong {
  font-size: 1.2rem;
}

.request-card {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
}

.request-card span {
  font-weight: 900;
}

.request-card small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.section {
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.assistant-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.step-grid,
.category-grid,
.benefit-list,
.flow-list {
  display: grid;
  gap: 16px;
}

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

.step-grid article,
.category-grid article,
.benefit-list article,
.flow-list li {
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.055);
}

.step-grid article {
  min-height: 190px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.step-grid h3,
.category-grid h3,
.benefit-list h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
}

.step-grid p,
.category-grid p,
.benefit-list p,
.assistant-panel p,
.flow-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.category-grid article {
  min-height: 230px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 252, 0.9)),
    #fff;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--dark);
  color: var(--lime);
  font-size: 1.15rem;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.benefit-list {
  grid-template-columns: 1fr;
}

.benefit-list article {
  padding: 22px;
}

.benefit-list h3 {
  margin-top: 0;
}

.assistant-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(199, 240, 75, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(12, 17, 29, 0.96), rgba(12, 58, 68, 0.94)),
    var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.assistant-panel .eyebrow {
  color: var(--lime);
}

.assistant-panel p {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.assistant-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.assistant-card span {
  min-height: 64px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.order-flow {
  padding-bottom: 48px;
}

.flow-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 150px;
  padding: 22px;
}

.flow-list span {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
  font-weight: 900;
}

[dir="ltr"] .chat-card.is-owner {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

[dir="ltr"] .status-pill {
  margin-inline-start: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(17, 24, 39, 0.09);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer div,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.footer-links {
  justify-content: center;
}

.site-footer strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer span + span,
.footer-credit span,
.footer-links a + a {
  position: relative;
}

.site-footer span + span::before,
.footer-credit span::before,
.footer-links a + a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-inline-end: 14px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: middle;
}

.legal-page {
  background:
    radial-gradient(circle at top right, rgba(53, 162, 159, 0.16), transparent 34%),
    linear-gradient(180deg, #f8fbfb 0%, #eef5f4 100%);
}

.legal-shell {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.legal-card {
  margin: 42px 0;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.legal-content[hidden] {
  display: none;
}

.legal-card h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-inline-start: 1.3rem;
}

.legal-footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 24px, 700px);
    padding-top: 16px;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 42px 0 32px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  [dir="ltr"] .hero-visual {
    justify-content: flex-start;
  }

  .step-grid,
  .category-grid,
  .flow-list,
  .split-section,
  .assistant-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }
}

@media (max-width: 520px) {
  .language-switcher {
    width: 100%;
  }

  .language-button {
    flex: 1;
    min-width: 0;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1.08;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .device-shell {
    border-radius: 24px;
    padding: 14px;
  }

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

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

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

  .legal-header,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
