:root {
  --bg: #f4efe7;
  --panel: rgba(255, 255, 255, 0.8);
  --panel-strong: #fffdf8;
  --ink: #101726;
  --muted: #5f6673;
  --line: rgba(16, 23, 38, 0.09);
  --brand: #0d9488;
  --brand-deep: #0f766e;
  --accent: #f97316;
  --shadow: 0 22px 60px rgba(12, 23, 37, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, #f4efe7 100%);
}

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

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

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(16, 23, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

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

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  background: rgba(13, 148, 136, 0.1);
  color: var(--ink);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-toggle span + span {
  margin-top: 4px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0 44px;
}

.eyebrow,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.details-grid h2,
.showcase h2,
.contact-band h2 {
  margin: 14px 0 16px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  max-width: 12ch;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  box-shadow: 0 18px 32px rgba(13, 148, 136, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 700px;
}

.meta-card,
.feature-card,
.mini-panel,
.contact-card,
.stat-strip article {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.meta-card {
  padding: 16px 18px;
  border-radius: 18px;
}

.meta-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.device {
  position: relative;
  width: min(100%, 420px);
  padding: 16px;
  border-radius: 34px;
  background: linear-gradient(160deg, #112038, #172847 65%, #254260);
  box-shadow: 0 28px 64px rgba(16, 23, 38, 0.28);
}

.device-notch {
  position: absolute;
  inset: 10px auto auto 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  border-radius: 999px;
  background: rgba(7, 13, 24, 0.7);
}

.device-screen {
  min-height: 640px;
  padding: 42px 18px 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(249, 115, 22, 0.12), transparent 25%),
    linear-gradient(180deg, #0f1726 0%, #18263a 100%);
  color: #ebf4ff;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.2);
  color: #8ef7ec;
  font-size: 0.78rem;
  font-weight: 700;
}

.screen-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.mail-card,
.message-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.mail-card {
  padding: 18px;
}

.mail-card strong,
.message-card strong {
  display: block;
  margin: 8px 0 6px;
}

.mail-label,
.message-source {
  color: #8db1d9;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.message-stack {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.message-card {
  padding: 16px;
}

.message-card.accent {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.14), rgba(13, 148, 136, 0.06));
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 32px;
}

.stat-strip article {
  padding: 18px;
  border-radius: 20px;
}

.stat-strip strong {
  display: block;
  margin-bottom: 8px;
}

.stat-strip span,
.feature-card p,
.showcase-copy p,
.mini-panel p,
.contact-band p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card-large {
  grid-column: span 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 247, 241, 0.95));
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}

.inline-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand-deep);
  font-weight: 800;
}

.inline-link:hover {
  text-decoration: underline;
}

.showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.48));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.showcase-panels {
  display: grid;
  gap: 14px;
}

.mini-panel {
  padding: 18px;
  border-radius: 18px;
}

.mini-panel strong {
  display: block;
  margin-bottom: 8px;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: center;
  margin: 32px 0 20px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f1b31, #172b4d);
  color: white;
  box-shadow: 0 28px 56px rgba(16, 23, 38, 0.26);
}

.contact-band p {
  color: rgba(235, 244, 255, 0.75);
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.contact-card span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 8px;
}

.footer strong {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero,
  .showcase,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

  .feature-card-large {
    grid-column: 1 / -1;
  }
}

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

  .topbar {
    border-radius: 26px;
    padding: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 251, 245, 0.96);
    box-shadow: var(--shadow);
  }

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

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .meta-row,
  .stat-strip,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
