:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #ecfbfd;
  --text: #111318;
  --muted: #626875;
  --line: rgba(17, 19, 24, 0.1);
  --teal: #22bfd0;
  --teal-dark: #008a95;
  --green: #34d26f;
  --orange: #ff9a1f;
  --pink: #ff3d6e;
  --shadow: 0 24px 70px rgba(19, 28, 45, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 191, 208, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(52, 210, 111, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 247, 251, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(34, 191, 208, 0.28);
}

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

.top-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

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

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.language-switcher button {
  min-width: 38px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: white;
  background: var(--text);
  border-color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) 56px;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.hero-text,
.section-heading p,
.premium-section p,
.availability {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-text {
  max-width: 560px;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.app-store-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 18px;
  font-weight: 850;
}

.app-store-button {
  gap: 12px;
  min-width: 224px;
  padding: 10px 20px;
  color: white;
  background: #111318;
  box-shadow: 0 18px 42px rgba(17, 19, 24, 0.22);
}

.app-store-button.is-disabled {
  cursor: not-allowed;
}

.app-store-button small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.app-store-button strong {
  display: block;
  font-size: 1.12rem;
}

.button-icon {
  font-size: 1.9rem;
}

.secondary-button {
  padding: 0 22px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.availability {
  max-width: 600px;
  margin-top: 16px;
  font-size: 0.98rem;
}

.hero-device {
  position: relative;
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 320px);
  padding: 12px;
  background: #14171d;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 96px;
  height: 26px;
  content: "";
  background: #050608;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 30px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(19, 28, 45, 0.16);
}

.floating-card span {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 10px;
  font-weight: 900;
}

.floating-card strong {
  font-size: 0.92rem;
}

.card-ai {
  top: 12%;
  left: -34px;
}

.card-gi {
  right: -24px;
  bottom: 15%;
}

.card-gi span {
  background: var(--green);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 clamp(20px, 5vw, 72px) 56px;
}

.stats-band div {
  min-height: 118px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.stats-band strong {
  display: block;
  font-size: 1.7rem;
}

.stats-band span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
}

.section,
.premium-section {
  padding: 56px clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading p {
  margin-top: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(19, 28, 45, 0.06);
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--teal-dark);
  background: var(--surface-soft);
  border-radius: 16px;
  font-weight: 900;
}

.screenshots-section {
  background: linear-gradient(180deg, rgba(236, 251, 253, 0), rgba(236, 251, 253, 0.8));
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.screens-grid figure {
  margin: 0;
  min-width: 190px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(19, 28, 45, 0.08);
}

.screens-grid img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 18px;
}

.screens-grid figcaption {
  min-height: 72px;
  padding: 14px 6px 4px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.premium-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: start;
}

.premium-section > div,
.premium-list,
.waitlist-section {
  padding: clamp(26px, 4vw, 44px);
  background: #111318;
  color: white;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.premium-section p,
.premium-section .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.premium-list {
  margin: 0;
  list-style: none;
}

.premium-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  line-height: 1.45;
}

.premium-list li:last-child {
  border-bottom: 0;
}

.waitlist-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px clamp(20px, 5vw, 72px) 72px;
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(135deg, #16bcc9, #34d26f);
}

.waitlist-section .section-heading {
  margin: 0;
}

.waitlist-section .eyebrow,
.waitlist-section p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px) 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  font-weight: 800;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 22px;
}

.legal-page h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.legal-page section {
  margin-top: 36px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}

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

.support-email {
  font-weight: 800;
  color: var(--teal-dark);
}

.support-note {
  font-size: 0.95rem;
}

.support-form {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-weight: 800;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(34, 191, 208, 0.18);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.support-submit {
  justify-self: start;
  min-height: 52px;
  padding: 0 28px;
  color: white;
  background: #111318;
  border: 0;
  border-radius: 16px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(17, 19, 24, 0.2);
}

.support-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.support-status {
  margin: 0;
  font-weight: 750;
  min-height: 1.2em;
}

.support-status[data-state="success"] {
  color: var(--teal-dark);
}

.support-status[data-state="error"] {
  color: var(--pink);
}

.support-status[data-state="pending"] {
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(19, 28, 45, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(19, 28, 45, 0.12);
}

.blog-card .tag {
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--surface-soft);
  border-radius: 999px;
}

.blog-card h3 {
  margin: 4px 0 0;
  font-size: 1.3rem;
  line-height: 1.25;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.blog-card .read-more {
  margin-top: auto;
  padding-top: 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

.article {
  max-width: 760px;
}

.article h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
}

.article .article-meta {
  margin: 12px 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.article h2 {
  margin: 30px 0 0;
  font-size: 1.35rem;
}

.article p,
.article li {
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.7;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding: 28px;
  color: white;
  background: linear-gradient(135deg, #16bcc9, #34d26f);
  border-radius: 24px;
}

.article-cta p {
  margin: 0;
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
}

.article-cta a {
  padding: 13px 24px;
  color: var(--text);
  background: white;
  border-radius: 14px;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .top-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .language-switcher {
    justify-content: flex-start;
  }

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

  .hero-device {
    order: -1;
  }

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

  .screens-grid {
    grid-template-columns: repeat(5, 240px);
  }

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-device {
    justify-items: center;
  }

  .phone-frame {
    width: min(82vw, 340px);
    border-radius: 34px;
  }

  .floating-card {
    position: static;
    width: min(82vw, 340px);
    margin-top: 10px;
  }

  .stats-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    min-height: auto;
  }

  .screens-grid {
    grid-template-columns: repeat(5, 74vw);
  }

  .site-footer {
    flex-direction: column;
  }
}
