@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --background: #F2F3F5;
  --surface: #FFFFFF;
  --surface-variant: #EDEEF1;
  --text-primary: #0B0D11;
  --text-secondary: #6B7280;
  --text-tertiary: #9AA0A8;
  --accent: #0E7A5F;
  --accent-secondary: #0E9E8F;
  --on-accent: #FFFFFF;
  --border: #C9CDD3;
  --divider: #F0F1F3;
  --nature-must: #3B6BE8;
  --nature-need: #E8A33D;
  --nature-want: #D9558B;
  --accent-soft: rgba(14, 122, 95, 0.1);
  --shadow-1: 0 1px 2px rgba(11, 13, 17, 0.06), 0 1px 3px rgba(11, 13, 17, 0.08);
  --shadow-2: 0 4px 12px rgba(11, 13, 17, 0.08), 0 12px 32px rgba(11, 13, 17, 0.1);
  --phone-shadow: 0 24px 48px rgba(11, 13, 17, 0.18), 0 6px 16px rgba(11, 13, 17, 0.12);

  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 32px;
  --space-7: 48px;
  --section-gap: clamp(64px, 10vw, 112px);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --max-width: 1120px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000000;
    --surface: #17191C;
    --surface-variant: #212429;
    --text-primary: #F2F4F6;
    --text-secondary: #AEB4BC;
    --text-tertiary: #7B828B;
    --accent: #2CC08F;
    --accent-secondary: #1FB0A6;
    --on-accent: #04120C;
    --border: #2B2F35;
    --divider: #23272C;
    --nature-must: #6D9BFF;
    --nature-need: #F0BC63;
    --nature-want: #ED7CAF;
    --accent-soft: rgba(44, 192, 143, 0.14);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --phone-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--surface);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-3);
}

.container {
  width: 100%;
  max-width: calc(var(--max-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--background) 85%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--divider);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.2px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px var(--space-3);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 419px) {
  .site-header .pill {
    display: none;
  }
}

@media (min-width: 640px) {
  .site-nav {
    gap: var(--space-6);
  }
}

.section {
  padding-block: var(--section-gap);
}

.section-title {
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-wrap: balance;
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-6);
}

.hero {
  padding-block: clamp(40px, 7vw, 88px) 0;
  overflow-x: hidden;
  overflow-x: clip;
}

.hero__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.hero__title {
  font-size: clamp(36px, 6.4vw, 56px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__sub {
  margin-top: var(--space-5);
  max-width: 34ch;
  color: var(--text-secondary);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
}

.badge {
  display: block;
  width: auto;
  height: 52px;
  margin-top: var(--space-6);
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.hero__stage .phone--front {
  position: relative;
  z-index: 2;
}

.hero__stage .phone--back {
  display: none;
}

@media (min-width: 640px) {
  .hero__stage {
    max-width: 460px;
    aspect-ratio: 460 / 640;
  }

  .hero__stage .phone--front {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62%;
  }

  .hero__stage .phone--back {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 54%;
    z-index: 1;
  }
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .hero__stage {
    margin-inline: auto 0;
  }
}

.phone {
  container-type: inline-size;
  width: 100%;
}

.phone__frame {
  position: relative;
  padding: 3cqw;
  border-radius: 15.9cqw;
  background: #0B0D11;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 0.9cqw #1A1D23, var(--phone-shadow);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1206 / 2622;
  border-radius: 12.9cqw;
  background: #F2F3F5;
}

.phone__screen picture,
.phone__screen img {
  display: block;
  width: 100%;
  height: auto;
}

.phone__status {
  position: absolute;
  inset: 0 0 auto 0;
  height: 10.6cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 8.5cqw 6.5cqw;
  color: #0B0D11;
  pointer-events: none;
}

.phone__time {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 4.1cqw;
  line-height: 1;
  letter-spacing: -0.02em;
  width: 20cqw;
}

.phone__island {
  position: absolute;
  left: 50%;
  top: 1.3cqw;
  width: 28.5cqw;
  height: 8.2cqw;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.phone__icons {
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  width: 20cqw;
  justify-content: flex-end;
}

.phone__icons svg {
  height: 2.9cqw;
  width: auto;
  fill: currentColor;
}

.features {
  padding-top: var(--section-gap);
}

.feature-grid {
  display: grid;
  gap: var(--space-4);
  padding: 0;
  list-style: none;
}

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

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
}

.feature {
  padding: var(--space-5);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__icon--nature {
  background: var(--surface-variant);
}

.feature__icon--nature svg {
  stroke: none;
}

.feature__icon--nature .must {
  fill: var(--nature-must);
}

.feature__icon--nature .need {
  fill: var(--nature-need);
}

.feature__icon--nature .want {
  fill: var(--nature-want);
}

.feature__title {
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
}

.feature__text {
  margin-top: var(--space-2);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 21px;
}

.offline__card {
  display: grid;
  gap: var(--space-6);
  padding: clamp(24px, 5vw, 48px);
}

@media (min-width: 960px) {
  .offline__card {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-7);
    align-items: center;
  }
}

.offline__body {
  margin-top: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--surface-variant);
  font-weight: 500;
}

.check-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase {
  overflow-x: hidden;
  overflow-x: clip;
}

.showcase__rows {
  display: grid;
  gap: clamp(56px, 9vw, 96px);
}

.showcase__row {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.showcase__text {
  max-width: 440px;
}

.showcase__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.showcase__text p {
  margin-top: var(--space-3);
  color: var(--text-secondary);
  line-height: 1.5;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  aspect-ratio: 10 / 13;
}

.stage .phone {
  position: absolute;
}

.stage--pair .phone--front {
  left: 2%;
  bottom: 0;
  width: 56%;
  z-index: 2;
}

.stage--pair .phone--back {
  right: 2%;
  top: 0;
  width: 50%;
  z-index: 1;
}

.stage--fan {
  max-width: 440px;
  aspect-ratio: 100 / 112;
}

.stage--fan .phone {
  bottom: 2%;
  width: 42%;
  transform-origin: 50% 100%;
}

.stage--fan .phone--left {
  left: 9%;
  transform: rotate(-7deg);
  z-index: 1;
}

.stage--fan .phone--center {
  left: 29%;
  bottom: 6%;
  z-index: 2;
}

.stage--fan .phone--right {
  right: 9%;
  transform: rotate(7deg);
  z-index: 1;
}

@media (min-width: 860px) {
  .showcase__row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }

  .showcase__row:nth-child(even) .showcase__text {
    order: 2;
  }

  .showcase__row:nth-child(even) .stage {
    order: 1;
  }
}

.faq__list {
  display: grid;
  gap: var(--space-3);
  max-width: 760px;
}

.faq__item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  border-radius: var(--radius-lg);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--text-tertiary);
  border-bottom: 2px solid var(--text-tertiary);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.faq__item p {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-secondary);
  line-height: 1.5;
}

.cta {
  text-align: center;
  padding: clamp(40px, 7vw, 72px) var(--space-5);
}

.cta__title {
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta__sub {
  margin-top: var(--space-3);
  color: var(--text-secondary);
}

.cta .badge {
  margin-inline: auto;
}

.site-footer {
  padding-block: var(--space-7);
  border-top: 1px solid var(--divider);
  color: var(--text-secondary);
  font-size: 15px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  padding: 0;
  list-style: none;
}

.footer-links a,
.link-button {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover,
.link-button:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.copyright {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-tertiary);
}

.consent {
  position: fixed;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 50;
  max-width: 520px;
  margin-inline: auto;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

.consent[hidden] {
  display: none;
}

.consent__text {
  font-size: 15px;
  line-height: 21px;
}

.consent__actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.button {
  flex: 1;
  min-height: 44px;
  padding: 0 var(--space-5);
  border: 0;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.button--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button--secondary {
  background: var(--surface-variant);
  color: var(--text-primary);
}

@media (min-width: 640px) {
  .consent {
    display: flex;
    align-items: center;
    gap: var(--space-5);
  }

  .consent__actions {
    flex: none;
    margin-top: 0;
  }
}

.legal {
  padding-block: clamp(48px, 8vw, 96px);
  min-height: 60vh;
}

.legal__title {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal__body {
  max-width: 640px;
  margin-top: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.5;
}

.legal__date {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-tertiary);
}

.legal__back {
  display: inline-block;
  margin-top: var(--space-6);
  font-weight: 600;
}

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

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