:root {
  --sky-100: #eef8ff;
  --sky-200: #d7efff;
  --sky-400: #75c7ff;
  --sky-600: #4d8ff2;
  --sun-300: #ffd34b;
  --sun-500: #ffb432;
  --sun-600: #ff932c;
  --orange-500: #ff7a2f;
  --pin-600: #eb4328;
  --leaf-500: #8dca44;
  --ink-900: #17335f;
  --ink-700: #32517a;
  --text: #20304a;
  --muted: #536681;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(32, 48, 74, 0.1);
  --shadow-lg: 0 28px 70px rgba(47, 85, 140, 0.16);
  --shadow-md: 0 18px 40px rgba(47, 85, 140, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(117, 199, 255, 0.32), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 147, 44, 0.22), transparent 22%),
    radial-gradient(circle at 75% 80%, rgba(141, 202, 68, 0.12), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #f4fbff 36%, #fff7ef 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink-900);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 251, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 26px rgba(39, 74, 121, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(79, 113, 175, 0.18);
}

.brand-lockup {
  display: flex;
  align-items: center;
}

.brand-company,
.brand-product {
  display: block;
  font-family: "Manrope", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand-company {
  font-size: 0.88rem;
  color: var(--ink-700);
  font-weight: 700;
}

.brand-product {
  font-size: 1.1rem;
  color: var(--ink-900);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink-900);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.26rem;
  border: 1px solid rgba(32, 48, 74, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section,
.demo-section,
.feature-section,
.story-section,
.contact-section {
  padding: 2rem 0 5rem;
}

.hero-section {
  padding-top: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.section-shell,
.story-card,
.contact-card {
  position: relative;
}

.hero-copy {
  padding: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 50, 0.28), transparent 70%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  bottom: -5rem;
  left: -4rem;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 199, 255, 0.24), transparent 70%);
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-700);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 7vw, 5.9rem);
  color: var(--ink-900);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink-900);
}

h3 {
  font-size: 1.35rem;
  color: var(--ink-900);
}

.hero-text,
.section-heading p,
.feature-card p,
.detail-card p,
.story-copy p,
.contact-copy p,
.contact-link,
.visual-card p {
  font-size: 1rem;
}

.hero-text {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.platform-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--sky-600) 0%, var(--orange-500) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(82, 122, 206, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(82, 122, 206, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(32, 48, 74, 0.1);
  color: var(--ink-900);
}

.hero-points,
.story-points {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero-points li,
.story-points li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
}

.hero-points li::before,
.story-points li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun-500), var(--pin-600));
  box-shadow: 0 0 0 5px rgba(255, 147, 44, 0.12);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.visual-card,
.feature-card,
.detail-card,
.story-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.visual-card {
  padding: 1.6rem;
}

.visual-card-main {
  min-height: 22rem;
  background:
    radial-gradient(circle at top right, rgba(255, 211, 75, 0.22), transparent 30%),
    linear-gradient(160deg, rgba(238, 248, 255, 0.94), rgba(255, 247, 239, 0.9));
}

.visual-card-device {
  overflow: hidden;
}

.visual-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-pill,
.status-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill {
  background: rgba(77, 143, 242, 0.12);
  color: var(--sky-600);
}

.status-note {
  background: rgba(255, 147, 44, 0.14);
  color: var(--orange-500);
}

.visual-app {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
  margin-top: 2.1rem;
}

.hero-icon {
  width: min(12rem, 34vw);
  height: auto;
  border-radius: 38px;
  box-shadow: 0 24px 48px rgba(64, 95, 150, 0.18);
}

.panel-label {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-700);
}

.visual-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.visual-copy {
  margin-top: 1.4rem;
}

.visual-card-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-title {
  margin: 0 0 0.7rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink-900);
}

.device-stage {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.device-frame,
.thumb-card,
.demo-card {
  margin: 0;
}

.device-frame {
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)),
    linear-gradient(145deg, rgba(77, 143, 242, 0.18), rgba(255, 147, 44, 0.14));
  box-shadow: 0 26px 52px rgba(57, 92, 144, 0.18);
}

.device-frame-main {
  width: min(14.5rem, 100%);
}

.device-frame img,
.thumb-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 34px;
}

.visual-card-strip {
  background:
    radial-gradient(circle at left top, rgba(117, 199, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.72));
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.thumb-card {
  padding: 0.35rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 30px rgba(57, 92, 144, 0.12);
}

.section-shell {
  padding: 3rem;
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-lg);
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.section-heading p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto 0;
}

.feature-card,
.detail-card,
.story-card,
.contact-card {
  padding: 1.8rem;
}

.demo-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.6rem;
  align-items: start;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.demo-card img {
  width: 96px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 18px;
  justify-self: start;
  box-shadow: 0 12px 24px rgba(57, 92, 144, 0.12);
}

.demo-card figcaption {
  padding: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(77, 143, 242, 0.14), rgba(255, 122, 47, 0.18));
  color: var(--sky-600);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.feature-card p,
.detail-card p,
.visual-card p,
.story-copy p,
.contact-copy p,
.contact-link {
  color: var(--muted);
}

.detail-grid {
  margin-top: 1.25rem;
}

.story-grid,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: start;
}

.story-copy,
.contact-copy {
  padding: 0.45rem 0.25rem;
}

.story-copy p + p,
.contact-copy p + p {
  margin-top: 1rem;
}

.contact-shell {
  padding: 3rem;
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    radial-gradient(circle at top left, rgba(117, 199, 255, 0.16), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255, 180, 50, 0.18), transparent 25%),
    linear-gradient(155deg, #14386a 0%, #255d9a 52%, #2c6f92 100%);
  color: #f8fbff;
  box-shadow: var(--shadow-lg);
}

.contact-shell .eyebrow,
.contact-shell .contact-label {
  color: rgba(248, 251, 255, 0.74);
}

.contact-shell p,
.contact-shell .contact-link {
  color: rgba(248, 251, 255, 0.9);
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-label {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-link {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: var(--muted);
}

.footer-inner p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-divider {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: rgba(32, 48, 74, 0.24);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 180, 50, 0.36);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .section-shell,
  .contact-shell {
    padding: 2rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(247, 251, 255, 0.96);
    box-shadow: 0 18px 34px rgba(32, 48, 74, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .visual-app {
    grid-template-columns: 1fr;
  }

  .visual-card-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .demo-card img {
    width: 80px;
    border-radius: 16px;
  }

  .footer-inner,
  .footer-inner p,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-section,
  .demo-section,
  .feature-section,
  .story-section,
  .contact-section {
    padding-bottom: 4rem;
  }

  h1 {
    max-width: 100%;
  }

  .hero-copy,
  .section-shell,
  .visual-card,
  .feature-card,
  .detail-card,
  .story-card,
  .contact-card,
  .contact-shell {
    padding: 1.45rem;
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
