:root {
  --ink: #21354a;
  --ink-strong: #172b3f;
  --green: #55c66e;
  --mint: #bfe7d0;
  --mint-soft: #cbeccf;
  --yellow: #ffe477;
  --yellow-soft: #fff5c7;
  --coral: #ff9ea6;
  --coral-soft: #ffe4e6;
  --sky: #9ed8f3;
  --sky-soft: #e1f3fb;
  --lime: #dce987;
  --peach: #ffd9b0;
  --background: #f7f9fc;
  --surface: #ffffff;
  --muted: #6f839d;
  --muted-light: #8ea2bd;
  --border: #dfe7ef;
  --container: min(1180px, calc(100% - 48px));
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-product: 0 28px 70px rgba(33, 53, 74, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
  margin: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

p {
  margin: 0;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  left: 16px;
  padding: 12px 16px;
  position: fixed;
  top: -60px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.section-shell {
  margin: 0 auto;
  width: var(--container);
}

.site-header {
  background: rgba(247, 249, 252, 0.95);
  border-bottom: 1px solid transparent;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
}

.nav-shell {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr auto;
  margin: 0 auto;
  min-height: 84px;
  width: var(--container);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 11px;
}

.brand img {
  border-radius: 13px;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.brand span {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
}

.nav-links a {
  color: #526981;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-download,
.app-store-button {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-download {
  border-radius: 12px;
  font-size: 14px;
  min-height: 44px;
  padding: 0 18px;
}

.nav-download:hover,
.app-store-button:hover {
  background: var(--ink-strong);
  transform: translateY(-2px);
}

.nav-download:active,
.app-store-button:active {
  transform: translateY(0);
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-button svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 25px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(44px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  margin: 0 auto;
  min-height: 880px;
  padding: 132px 0 70px;
  position: relative;
  width: var(--container);
}

.hero-copy {
  padding-bottom: 30px;
}

.hero-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-brand img {
  border-radius: 18px;
  height: 66px;
  width: 66px;
}

.hero-brand span {
  font-family: var(--serif);
  font-size: 34px;
}

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
}

.hero h1 {
  font-size: clamp(58px, 6.5vw, 96px);
  line-height: 0.94;
  max-width: 760px;
}

.hero-copy > p:not(.hero-note) {
  color: #526981;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.62;
  margin-top: 28px;
  max-width: 650px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.app-store-button {
  border-radius: 15px;
  gap: 12px;
  min-height: 62px;
  padding: 10px 20px;
}

.app-store-button .apple-icon {
  height: 29px;
  width: 29px;
}

.app-store-button > span:last-child {
  font-size: 20px;
  line-height: 1;
}

.app-store-button small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.82;
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 5px;
}

.text-link svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
  width: 18px;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-top: 22px;
}

.hero-product {
  align-self: end;
  display: flex;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.hero-shot {
  border-radius: 31px;
  box-shadow: var(--shadow-product);
  margin: 0;
  max-height: 735px;
  overflow: hidden;
  width: min(100%, 400px);
}

.hero-shot img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-sun,
.widget-sun {
  background: var(--yellow);
  border-radius: 50%;
  height: 86px;
  position: absolute;
  width: 86px;
  z-index: 2;
}

.hero-sun {
  right: -18px;
  top: 54px;
}

.hero-sun i,
.hero-sun b,
.widget-sun i,
.widget-sun b {
  background: var(--ink);
  border-radius: 50%;
  height: 6px;
  position: absolute;
  top: 33px;
  width: 6px;
}

.hero-sun i,
.widget-sun i {
  left: 27px;
}

.hero-sun b,
.widget-sun b {
  right: 27px;
}

.hero-sun::after,
.widget-sun::after {
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 40px 40px;
  bottom: 22px;
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 26px;
}

.value-section,
.features-section,
.privacy-section,
.faq-section {
  padding: 120px 0;
}

.value-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.section-intro {
  max-width: 780px;
}

.section-intro h2,
.features-copy h2,
.widget-copy h2,
.privacy-copy h2,
.final-cta h2 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
}

.section-intro p,
.features-copy > p,
.widget-copy > p,
.privacy-copy > p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-top: 20px;
}

.section-intro.left {
  margin-bottom: 64px;
}

.section-intro.split {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 0.58fr;
  max-width: none;
}

.section-intro.split p {
  padding-bottom: 6px;
}

.value-layout {
  align-items: stretch;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.value-main {
  align-items: center;
  background: var(--sky-soft);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 44px;
  grid-template-columns: 0.8fr 1fr;
  padding: clamp(32px, 5vw, 60px);
}

.ring-visual {
  display: grid;
  place-items: center;
}

.ring {
  align-items: center;
  aspect-ratio: 1;
  border: 18px solid var(--green);
  border-right-color: rgba(85, 198, 110, 0.25);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 230px;
  width: 100%;
}

.ring b {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
}

.ring small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.value-number,
.feature-index {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.value-feature h3,
.feature-list h3,
.privacy-list h3 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.28;
  margin-top: 8px;
}

.value-feature p,
.feature-list p,
.privacy-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 8px;
}

.value-list {
  border-top: 1px solid var(--border);
}

.value-list .value-feature {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 24px;
  grid-template-columns: 60px 1fr;
  padding: 27px 0;
}

.value-icon {
  align-items: center;
  border-radius: 18px;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.value-icon.mint {
  background: var(--mint);
}

.value-icon.yellow {
  background: var(--yellow-soft);
}

.value-icon.sky {
  background: var(--sky-soft);
}

.value-icon svg {
  fill: none;
  height: 26px;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 26px;
}

.showcase-section {
  padding: 130px 0 120px;
}

.screenshot-rail {
  display: flex;
  gap: 22px;
  margin-top: 64px;
  max-width: 100vw;
  overflow-x: auto;
  padding: 8px max(24px, calc((100vw - 1180px) / 2)) 48px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--mint) transparent;
  scrollbar-width: thin;
  width: 100%;
}

.screenshot-rail::-webkit-scrollbar {
  height: 8px;
}

.screenshot-rail::-webkit-scrollbar-thumb {
  background: var(--mint);
  border-radius: 99px;
}

.store-shot {
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(33, 53, 74, 0.09);
  flex: 0 0 min(360px, calc(100vw - 48px));
  margin: 0;
  overflow: hidden;
  scroll-snap-align: center;
}

.store-shot img {
  height: auto;
  width: 100%;
}

.features-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.features-layout {
  align-items: start;
  display: grid;
  gap: clamp(60px, 9vw, 130px);
  grid-template-columns: 0.76fr 1.24fr;
}

.features-copy {
  position: sticky;
  top: 124px;
}

.cycle-illustration {
  height: auto;
  margin-top: 44px;
  max-width: 430px;
  width: 100%;
}

.feature-list,
.privacy-list,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list {
  border-top: 1px solid var(--border);
}

.feature-list li {
  align-items: start;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 28px;
  grid-template-columns: 42px 1fr;
  padding: 27px 0;
}

.feature-list h3 {
  margin-top: 0;
}

.widget-section {
  background: var(--sky-soft);
  padding: 120px 0;
}

.widget-layout {
  align-items: center;
  display: grid;
  gap: clamp(56px, 9vw, 120px);
  grid-template-columns: 0.75fr 1.25fr;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.check-list li {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 12px;
}

.check-list li::before {
  background: var(--green);
  border-radius: 50%;
  content: "";
  height: 9px;
  width: 9px;
}

.widget-preview {
  align-items: end;
  display: flex;
  gap: 22px;
  min-height: 390px;
  padding: 50px 20px 15px;
  position: relative;
}

.widget {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(33, 53, 74, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 46px rgba(33, 53, 74, 0.1);
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.widget-small {
  aspect-ratio: 1;
  padding: 22px;
  width: 230px;
}

.widget-medium {
  min-height: 230px;
  padding: 22px;
  width: 430px;
}

.widget-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.widget-top img {
  border-radius: 9px;
}

.widget-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.widget p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.widget-small > p {
  margin-top: 24px;
}

.widget-small strong,
.widget-small b {
  display: block;
}

.widget-small strong {
  font-size: 19px;
  margin-top: 3px;
}

.widget-small b {
  font-size: 27px;
  margin-top: 12px;
}

.widget-stats {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.widget-stats strong {
  display: block;
  font-size: 27px;
  margin-top: 3px;
}

.widget-next {
  align-items: center;
  background: var(--yellow-soft);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  margin-top: 22px;
  padding: 13px 14px;
}

.widget-next span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.widget-next b {
  font-size: 14px;
}

.widget-next em {
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.widget-sun {
  height: 76px;
  right: 10px;
  top: 10px;
  width: 76px;
}

.widget-sun i,
.widget-sun b {
  top: 29px;
}

.widget-sun i {
  left: 24px;
}

.widget-sun b {
  right: 24px;
}

.widget-sun::after {
  bottom: 19px;
  width: 23px;
}

.privacy-section {
  background: #f4faf6;
}

.privacy-layout {
  display: grid;
  gap: clamp(56px, 9vw, 120px);
  grid-template-columns: 0.8fr 1.2fr;
}

.privacy-list {
  border-top: 1px solid rgba(33, 53, 74, 0.14);
}

.privacy-list li {
  align-items: start;
  border-bottom: 1px solid rgba(33, 53, 74, 0.14);
  display: grid;
  gap: 24px;
  grid-template-columns: 44px 1fr;
  padding: 27px 0;
}

.privacy-list > li > span {
  align-items: center;
  background: var(--mint);
  border-radius: 50%;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.privacy-list h3 {
  margin-top: 0;
}

.faq-layout {
  display: grid;
  gap: clamp(56px, 9vw, 120px);
  grid-template-columns: 0.7fr 1.3fr;
}

.faq-layout .section-intro {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  padding: 25px 52px 25px 0;
  position: relative;
}

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

.faq-list summary::after {
  color: var(--ink);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  position: absolute;
  right: 4px;
  top: 20px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
  padding: 0 50px 25px 0;
}

.final-cta {
  background: var(--yellow-soft);
  padding: 120px 24px;
}

.final-cta-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.final-cta-inner > img {
  border-radius: 20px;
  height: 74px;
  margin-bottom: 30px;
  width: 74px;
}

.final-cta .app-store-button {
  margin-top: 30px;
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 70px max(24px, calc((100vw - 1180px) / 2)) 28px;
}

.footer-main {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.7fr 1fr 1.2fr;
  padding-bottom: 56px;
}

.footer-brand span {
  color: #fff;
}

.footer-main > p {
  color: #b8c5d2;
  font-size: 14px;
  line-height: 1.7;
  max-width: 360px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: flex-end;
}

.footer-main nav a {
  color: #d8e0e8;
  font-size: 13px;
  font-weight: 600;
}

.footer-main nav a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #91a3b5;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding-top: 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto auto;
  }

  .nav-links {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    bottom: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    left: 0;
    padding: 10px 24px 24px;
    position: fixed;
    right: 0;
    top: 84px;
  }

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

  .nav-links a {
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    padding: 18px 0;
    width: 100%;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    gap: 50px;
    grid-template-columns: 1fr 0.78fr;
  }

  .hero h1 {
    font-size: clamp(50px, 7vw, 72px);
  }

  .value-layout,
  .features-layout,
  .widget-layout,
  .privacy-layout,
  .faq-layout {
    gap: 60px;
    grid-template-columns: 1fr;
  }

  .features-copy {
    position: static;
  }

  .cycle-illustration {
    max-width: 520px;
  }

  .widget-layout {
    grid-template-columns: 0.65fr 1.35fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 32px, 1180px);
  }

  .nav-shell {
    gap: 10px;
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .brand img {
    border-radius: 11px;
    height: 40px;
    width: 40px;
  }

  .brand span {
    font-size: 22px;
  }

  .nav-download {
    display: none;
  }

  .nav-links {
    top: 72px;
  }

  .hero {
    gap: 46px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 76px;
    padding-top: 112px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-brand {
    display: none;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 66px);
    line-height: 0.98;
    max-width: 620px;
  }

  .hero-copy > p:not(.hero-note) {
    font-size: 17px;
    margin-top: 22px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-product {
    justify-content: center;
  }

  .hero-shot {
    max-height: none;
    width: min(100%, 390px);
  }

  .hero-sun {
    right: -8px;
    top: 50px;
  }

  .value-section,
  .features-section,
  .privacy-section,
  .faq-section,
  .widget-section {
    padding: 82px 0;
  }

  .showcase-section {
    padding: 88px 0 74px;
  }

  .section-intro h2,
  .features-copy h2,
  .widget-copy h2,
  .privacy-copy h2,
  .final-cta h2 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .section-intro p,
  .features-copy > p,
  .widget-copy > p,
  .privacy-copy > p,
  .final-cta p {
    font-size: 16px;
  }

  .section-intro.left {
    margin-bottom: 42px;
  }

  .section-intro.split {
    align-items: start;
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .value-layout {
    gap: 38px;
  }

  .value-main {
    gap: 34px;
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .ring {
    max-width: 190px;
  }

  .screenshot-rail {
    margin-top: 38px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .store-shot {
    flex-basis: min(82vw, 320px);
  }

  .features-layout,
  .widget-layout,
  .privacy-layout,
  .faq-layout {
    gap: 46px;
    grid-template-columns: 1fr;
  }

  .cycle-illustration {
    margin-top: 30px;
  }

  .widget-preview {
    align-items: center;
    flex-direction: column;
    min-height: 0;
    padding: 50px 0 10px;
  }

  .widget-small {
    align-self: flex-start;
    max-width: 230px;
    width: 68%;
  }

  .widget-medium {
    max-width: 430px;
    width: 100%;
  }

  .widget-sun {
    right: -5px;
    top: 0;
  }

  .final-cta {
    padding: 88px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-bottom: 42px;
  }

  .footer-main nav {
    grid-column: auto;
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 47px;
  }

  .hero-actions {
    gap: 16px;
  }

  .app-store-button {
    width: 100%;
  }

  .value-list .value-feature {
    gap: 16px;
    grid-template-columns: 52px 1fr;
  }

  .value-icon {
    border-radius: 15px;
    height: 50px;
    width: 50px;
  }

  .feature-list li,
  .privacy-list li {
    gap: 18px;
    grid-template-columns: 34px 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
