:root {
  color-scheme: light;
  --ink: #1a2332;
  --muted: #5f6f82;
  --muted-soft: #93a1b2;
  --border: #e4ebf2;
  --surface: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-transparent: #ffffffb3;
  --accent: #6eb4d1;
  --accent-strong: #4a9bbe;
  --accent-deep: #3e5cc7;
  --band: #8fc7de;
  --band-ink: #ffffff;
  --shadow: 0 18px 40px rgba(74, 120, 150, 0.12);
  --shadow-soft: 0 10px 28px rgba(74, 120, 150, 0.08);
  --radius: 18px;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Sora", "Manrope", sans-serif;
  --max: 980px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.015rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 22px 0 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.85;
}

.brand__mark {
  width: 42px;
  height: 21px;
  flex-shrink: 0;
  color: currentColor;
}

.brand__mark--hero {
  width: 52px;
  height: 26px;
  color: var(--accent-strong);
}

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

.hero__title span {
  display: block;
}

/* Soft panel used on inner sections / product pages */
.frame {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card,
.panel {
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

@media (min-width: 720px) {
  .card,
  .panel {
    padding: 34px 36px;
  }
}

/* —— Hero: circular photo + overlapping panel + deco —— */
.hero {
  padding: 12px 0 8px;
  animation: rise 0.55s ease both;
}

.hero-stage {
  position: relative;
  display: grid;
  margin: 0 0 50px;
  min-height: 420px;
}

@media (min-width: 760px) {
  .hero-stage {
    min-height: 560px;
    padding: 36px 0 48px;
  }
}

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.deco-blob {
  width: min(42vw, 220px);
  height: min(42vw, 220px);
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
  left: max(-20px, 2%);
  bottom: 0;
  transform: translateY(-20%);
  z-index: 3;
}

.deco-ring {
  width: min(28vw, 150px);
  height: min(28vw, 150px);
  border-radius: 50%;
  border: 20px solid var(--accent);
  opacity: 0.7;
  right: max(0px, 8%);
  top: 2%;
  right: 2%;
}

.deco-waves {
  width: min(51vw, 240px);
  height: auto;
  aspect-ratio: 210 / 120;
  color: var(--accent);
  opacity: 0.9;
  right: max(-8px, 4%);
  top: 45%;
  z-index: 2;
}

.hero-photo {
  margin: 5% 0 5% 10%;
  width: 70%;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: transparent;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
  object-position: unset;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  width: min(100%, 420px);
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: left;
  bottom: 0;
  right: 0;
  padding: 30px 32px 28px;
}

@media (max-width: 930px) {
  .deco-waves {
    top: 0%;
  }

  .deco-ring {
    display: none;
  }

  .deco-blob {
    display: none;
  }
}

@media (max-width: 760px) {
  .deco-waves {
    display: none;
  }

  .hero-photo {
    border-radius: 20%;
    margin: 0;
    width: 100%;
  }

  .hero {
    padding: 3%;
  }

  .hero-panel {
    left: 0;
    bottom: 5%;
    margin: auto;
    background-color: var(--bg-transparent);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 3%;
  }

  .hero-panel {
    width: 95%;
    padding: 3%;
  }

  .hero-photo img {
    height: 100%;
  }
}

.hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-panel h1,
.hero__title {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.hero__lead {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 12px;
}

.hero__actions {
  margin-top: 18px;
}

.hero__actions a.btn {
  width: 100%;
  border: 3px solid var(--accent);
  color: var(--accent);
  background-color: var(--bg);
}

.section {
  margin: 28px 0;
  animation: rise 0.6s ease both;
  animation-delay: 0.06s;
}

.section__head {
  margin-bottom: 18px;
}

.section__head h2 {
  font-size: 1.45rem;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 8px;
}

.section__head p {
  color: var(--muted);
  max-width: 36rem;
  font-weight: 500;
}

.section__head--on-band h2 {
  color: var(--band-ink);
}

.section__head--on-band p,
.section__head--on-band span {
  color: rgba(255, 255, 255, 0.88);
}

/* Soft full-bleed band with wavy top/bottom edges */
.band {
  margin: 48px 0;
  padding: 0;
  background: transparent;
  animation: rise 0.6s ease both;
  text-align: center;
  overflow: visible;
}

.band__inner {
  background: var(--band);
  padding: 36px 0 44px;
}

.band__wave {
  display: block;
  width: 100%;
  height: 42px;
  color: var(--band);
}

.band__wave path {
  fill: currentColor;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#concepts-title {
  font-size: 30px;
}

.app-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

a.app-card:hover {
  text-decoration: none;
  background: var(--surface);
  border-color: #c5dde9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.app-card--soon {
  opacity: 0.9;
}

.app-card img,
.app-glyph {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}

.app-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  background: rgba(110, 180, 209, 0.18);
}

.app-glyph svg {
  width: 20px;
  height: 20px;
}

.app-card__body {
  min-width: 0;
  flex: 1;
}

.app-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 4px;
}

.app-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.app-card__meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
}

.badge--live {
  color: #166534;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.badge--beta {
  color: #1e4b7a;
  background: #eef7fb;
  border-color: #c5dde9;
}

.concepts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px 36px;
  margin-top: 6px;
}

@media (min-width: 720px) {
  .concepts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.concept {
  padding: 0;
  border: 0;
  background: transparent;
}

.concepts--on-band .concept h3 {
  color: var(--band-ink);
}

.concepts--on-band .concept p {
  color: rgba(255, 255, 255, 0.86);
  max-width: none;
}

.concepts--on-band .concept__icon {
  color: var(--bg);
  background: transparent;
  width: 100%;
}

.concept__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--accent-strong);
  background: rgba(110, 180, 209, 0.18);
}

.concept__icon svg {
  width: 50px;
  height: 50px;
  display: block;
  transform: scaleY(-1);
}

.concept h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.concept p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 17.5rem;
}

.faq {
  display: grid;
  gap: 8px;
}

.faq__item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 0 14px;
}

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

.faq__summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  padding: 14px 0;
  color: var(--ink);
}

.faq__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted-soft);
  transition: transform 0.35s ease;
}

.faq__toggle:checked + .faq__summary .faq__chevron {
  transform: rotate(180deg);
}

.faq__toggle:focus-visible + .faq__summary {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq__toggle:checked ~ .faq__panel {
  grid-template-rows: 1fr;
}

.faq__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 40rem;
}

.product-hero {
  display: grid;
  gap: 22px;
  margin-bottom: 8px;
}

@media (min-width: 720px) {
  .product-hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.product-hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.product-hero__brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.product-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.product-hero__lead {
  color: var(--muted);
  margin-bottom: 18px;
}

.product-hero__promo {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-soft);
}

.product-hero__promo img {
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

.pricing {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}

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

.price-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: var(--bg-soft);
}

.price-card--pro {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.price-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.price-card__amount {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card li {
  margin-bottom: 4px;
}

.legal-page h1 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.legal-page .meta {
  color: var(--muted-soft);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.legal-page h2 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 10px;
}

.legal-page ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.site-footer {
  margin: 28px 0 40px;
  animation: rise 0.65s ease both;
  animation-delay: 0.1s;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 0;
  color: var(--muted-soft);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .section,
  .band,
  .site-footer,
  .app-card,
  .btn,
  .faq__chevron,
  .faq__panel {
    animation: none;
    transition: none;
  }
}

@media (max-width: 560px) {
  .deco-blob {
    width: 120px;
    height: 120px;
    left: -24px;
    top: 48%;
  }

  .deco-ring {
    width: 72px;
    height: 72px;
    top: 18px;
    right: 8px;
  }

  .deco-waves {
    width: 132px;
    top: 38%;
    right: -6px;
  }

  .hero-panel {
    margin-top: -56px;
  }

  .site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
