:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --page: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --line: rgba(29, 29, 31, 0.14);
  --accent: #006c5f;
  --accent-strong: #00483f;
  --disabled: #77777d;
  --radius: 22px;
  --shadow-soft: 0 24px 70px rgba(29, 29, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 5.2vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(245, 245, 247, 0.72);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(100%, 760px);
  color: rgba(29, 29, 31, 0.72);
  font-size: 0.86rem;
  font-weight: 520;
  white-space: nowrap;
}

.top-nav a {
  position: relative;
  padding: 18px 0 17px;
  text-decoration: none;
}

.top-nav a:hover {
  color: #000000;
}

.top-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 0;
  height: 1px;
  content: "";
  background: rgba(29, 29, 31, 0.72);
  transform: translateX(-50%);
  transition: width 160ms ease;
}

.top-nav a:hover::after {
  width: 100%;
}

.hero {
  min-height: calc(100dvh - 56px);
  display: grid;
  grid-template-columns: minmax(580px, 1.02fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) clamp(22px, 6vw, 92px);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--page) 100%);
}

.hero-copy {
  max-width: 840px;
  text-align: left;
  transform: translateY(-24px);
}

.hero h1 {
  max-width: none;
  margin-bottom: 22px;
  white-space: nowrap;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.36rem);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(100%, 760px);
  margin-top: 30px;
}

.store-button {
  min-width: 178px;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 8px 18px;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  background: var(--disabled);
  cursor: not-allowed;
  opacity: 0.74;
  text-align: left;
  font-family: inherit;
}

.store-button span {
  font-size: 0.72rem;
}

.store-button strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.store-button em {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-style: normal;
}

.product-visual {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(100%, 540px);
  margin: 0;
  transform: translateY(-24px);
}

.product-visual::after {
  position: absolute;
  right: 6%;
  bottom: -18px;
  width: 76%;
  height: 24px;
  content: "";
  background: rgba(29, 29, 31, 0.16);
  border-radius: 999px;
  filter: blur(18px);
}

.device-mockup {
  position: relative;
  z-index: 1;
  width: min(100%, 382px);
  aspect-ratio: 382 / 780;
  padding: 10px;
  border-radius: 56px;
  background:
    linear-gradient(145deg, #09090b 0%, #2d2d32 44%, #0b0b0d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 -2px 5px rgba(255, 255, 255, 0.22),
    0 34px 78px rgba(29, 29, 31, 0.24);
}

.device-mockup::before,
.device-mockup::after {
  position: absolute;
  content: "";
  background: #1b1b1f;
}

.device-mockup::before {
  left: -3px;
  top: 132px;
  width: 3px;
  height: 76px;
  border-radius: 3px 0 0 3px;
}

.device-mockup::after {
  right: -3px;
  top: 206px;
  width: 3px;
  height: 98px;
  border-radius: 0 3px 3px 0;
}

.device-screen {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 13px;
  overflow: hidden;
  padding: 17px 18px 14px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 46px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}

.dynamic-island {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 92px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050507;
}

.status-row {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  color: #121214;
  font-size: 0.76rem;
  font-weight: 720;
}

.status-icons {
  letter-spacing: 0;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px 0;
}

.screen-header div {
  display: grid;
  gap: 1px;
}

.screen-city {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 680;
}

.screen-header strong {
  color: var(--accent);
  font-size: 1.42rem;
  line-height: 1.1;
}

.notification-dot {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 108, 95, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 66% 31%, var(--accent) 0 3px, transparent 4px),
    #ffffff;
  box-shadow: 0 8px 18px rgba(29, 29, 31, 0.08);
}

.search-pill {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #a0a0a6;
  border-radius: 999px;
  background: #f0f0f3;
  font-size: 0.82rem;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-row span {
  display: grid;
  min-height: 38px;
  place-items: center;
  color: var(--muted);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 720;
}

.category-row .active {
  color: #ffffff;
  border-color: transparent;
  background: var(--accent);
}

.app-card,
.mini-card {
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(29, 29, 31, 0.06);
}

.spotlight-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #ffffff;
  border-color: transparent;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.54)),
    linear-gradient(135deg, #79c7bc 0%, #0b6d60 54%, #173232 100%);
}

.spotlight-card span,
.spotlight-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.spotlight-card strong {
  max-width: 13rem;
  margin: 5px 0;
  font-size: 1.25rem;
  line-height: 1.08;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-card {
  min-height: 92px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 14px;
  border-radius: 22px;
}

.mini-card span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 760;
}

.mini-card strong {
  font-size: 0.88rem;
  line-height: 1.16;
}

.message-list {
  display: grid;
  gap: 10px;
}

.message-list div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.message-list span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(0, 108, 95, 0.18), rgba(0, 108, 95, 0.04)),
    #ffffff;
  border: 1px solid rgba(0, 108, 95, 0.12);
}

.message-list p {
  width: 100%;
  height: 12px;
  margin: 0;
  border-radius: 999px;
  background: #e3e3e7;
}

.message-list div:nth-child(2) p {
  width: 76%;
}

.message-list div:nth-child(3) p {
  width: 88%;
}

.tab-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding: 12px 8px 2px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.tab-bar span {
  width: 22px;
  height: 22px;
  justify-self: center;
  border-radius: 8px;
  background: #c8c8ce;
}

.tab-bar .active {
  background: var(--accent);
}

.tab-bar .create-tab {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background:
    linear-gradient(#ffffff 0 0) center / 16px 3px no-repeat,
    linear-gradient(#ffffff 0 0) center / 3px 16px no-repeat,
    var(--accent);
}

.feature-section {
  padding: clamp(64px, 9vw, 112px) clamp(22px, 6vw, 92px);
  background: var(--surface);
}

.feature-section h2 {
  width: min(1120px, 100%);
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.feature-grid {
  width: min(1120px, 100%);
  margin: clamp(30px, 5vw, 50px) auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article {
  min-height: 190px;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--page);
}

.feature-grid article:first-child,
.feature-grid article:last-child {
  grid-column: span 4;
}

.feature-grid article:nth-child(2),
.feature-grid article:nth-child(3) {
  grid-column: span 2;
}

.feature-grid article:first-child {
  color: #ffffff;
  background: var(--accent);
}

.feature-grid article:nth-child(3) {
  background: var(--surface-soft);
  border-color: var(--line);
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid article:first-child p {
  color: rgba(255, 255, 255, 0.82);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) clamp(22px, 6vw, 92px);
  background: var(--page);
}

.support-section > div:first-child {
  max-width: 660px;
}

.support-section h2 {
  margin-inline: 0;
  text-align: left;
}

.support-section p,
.legal-content p,
.legal-heading p,
.contact-hero p {
  color: var(--muted);
}

.support-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.support-email {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 740;
  overflow-wrap: anywhere;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: minmax(140px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 680;
}

.legal-page {
  min-height: 100dvh;
  background: var(--page);
}

.legal-heading,
.contact-hero {
  padding: clamp(64px, 9vw, 112px) clamp(22px, 6vw, 92px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.legal-shell,
.contact-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 740;
}

.legal-heading h1,
.contact-hero h1 {
  max-width: 920px;
  margin-inline: 0;
  text-align: left;
}

.legal-content {
  width: min(1080px, calc(100% - 24px));
  max-width: none;
}

.legal-card {
  margin: clamp(22px, 4vw, 42px) auto clamp(52px, 7vw, 92px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(29, 29, 31, 0.07);
}

.legal-card section {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
}

.legal-card section + section {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.3;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.legal-section-body {
  min-width: 0;
}

.legal-section-body p {
  max-width: 72ch;
  margin: 0;
}

.legal-section-body p + p {
  margin-top: 12px;
}

.legal-content a,
.contact-hero a {
  color: var(--accent);
  font-weight: 740;
}

.contact-hero {
  min-height: 44vh;
  display: flex;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 26px;
  padding: 0 18px;
  border: 1px solid rgba(0, 108, 95, 0.28);
  border-radius: 999px;
  background: rgba(0, 108, 95, 0.08);
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.facts-section {
  padding: clamp(44px, 7vw, 80px) clamp(22px, 6vw, 92px);
}

.facts-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.fact-card {
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  background: var(--surface);
}

.fact-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.fact-card strong {
  display: block;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  line-height: 1.28;
}

.site-footer {
  display: grid;
  gap: 12px;
  padding: 30px clamp(22px, 6vw, 92px) 36px;
  color: #e8e8ed;
  background: #1d1d1f;
  font-size: 0.92rem;
}

.footer-company,
.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer span,
.site-footer p {
  margin: 0;
  color: #c7c7cc;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

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

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 1060px) {
  .hero,
  .support-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-copy {
    max-width: 780px;
    transform: none;
  }

  .product-visual {
    width: min(100%, 500px);
    transform: none;
  }

  .device-mockup {
    width: min(100%, 360px);
  }

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

  .feature-grid article,
  .feature-grid article:first-child,
  .feature-grid article:nth-child(2),
  .feature-grid article:nth-child(3),
  .feature-grid article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 14px;
  }

  .top-nav {
    gap: 14px;
    overflow-x: auto;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .lead {
    margin-inline: auto;
  }

  .store-row {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button {
    width: min(100%, 260px);
    margin-inline: auto;
  }

  .product-visual {
    width: min(100%, 360px);
  }

  .device-mockup {
    width: min(100%, 326px);
    border-radius: 48px;
  }

  .device-screen {
    border-radius: 38px;
    padding-inline: 15px;
  }

  .feature-section h2,
  .support-section h2 {
    text-align: left;
  }

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

  .support-section {
    padding-bottom: 72px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-card section {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-content h2 {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .top-nav {
    gap: 12px;
  }

  .legal-card,
  .support-card {
    border-radius: 18px;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
    padding-inline: 12px;
    font-size: 0.94rem;
  }
}
