:root {
  --grey-50:  #FAFAFA;
  --grey-100: #F4F4F5;
  --grey-200: #E4E4E7;
  --grey-300: #D4D4D8;
  --grey-500: #71717A;

  --background:   #FFFFFF;
  --surface:      #FFFFFF;
  --elevated:     #FAFAFA;
  --ink:          #0A0A0B;
  --muted:        #71717A;
  --faint:        #A1A1AA;
  --line:         #E4E4E7;
  --line-strong:  #D4D4D8;

  --success: #34C759;
  --warning: #FF9F0A;

  --r-lg:  16px;
  --r-2xl: 28px;

  --shadow-card:  0 8px 16px rgba(0, 0, 0, .06);
  --shadow-float: 0 10px 20px rgba(0, 0, 0, .12);
  --shadow-xl:    0 30px 60px -20px rgba(0, 0, 0, .25);

  --container: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --icon-fuel:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2s5 5 5 9a5 5 0 0 1-10 0c0-4 5-9 5-9z'/%3E%3C/svg%3E");
  --icon-wrench: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6a3.5 3.5 0 0 0-4.6 4.6L4 16v4h4l5.4-5.4A3.5 3.5 0 0 0 18 10l-2 2-2-2 2-2a3.5 3.5 0 0 0-2-2z'/%3E%3C/svg%3E");
  --icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3.5 8-7 9-3.5-1-7-4-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  --icon-check:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, p { margin: 0; }
a  { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section          { padding: 96px 0; }
.section--alt {
  background: var(--grey-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease),
              box-shadow .18s var(--ease),
              background .18s var(--ease),
              color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg    { padding: 16px 26px; font-size: 16px; }

.btn--dark        { background: var(--ink); color: #fff; }
.btn--dark:hover  { transform: translateY(-1px); box-shadow: var(--shadow-float); }

.btn--ghost       { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--grey-50); border-color: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--grey-50);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--grey-100);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.chip--up {
  color: var(--success);
  background: rgba(52, 199, 89, .1);
  border-color: rgba(52, 199, 89, .25);
}


.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-left: -8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand__img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
}
.brand__name { color: var(--ink); }

/* Burger menu */
.menu-btn {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 0;
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-width: 184px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.menu a:hover { background: var(--grey-50); }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-float);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover      { transform: translateY(-2px); }

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__title {
  margin-top: 18px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
}
.section__lead {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(70% 55% at 82% 12%, var(--grey-100), transparent 60%),
    linear-gradient(180deg, var(--grey-50) 0%, #fff 72%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  min-height: 560px;
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero__sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 19px;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ink-underline { position: relative; white-space: nowrap; }
.ink-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: .18em;
  border-radius: 999px;
  background: var(--ink);
  opacity: .12;
}

.hero__device {
  --d: .12s;               
  position: relative;
  display: grid;
  place-items: center;
}
.hero__glow {
  position: absolute;
  inset: -14% -24%;
  z-index: -1;
  background: radial-gradient(58% 48% at 55% 42%, rgba(0, 0, 0, .14), transparent 72%);
}

.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}
.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 110px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
}
.phone__screen {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 34px;
  background: var(--background);
}

.phone__shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.app { padding: 18px 16px 22px; }

.app__statusbar {
  display: flex;
  justify-content: space-between;
  padding: 4px 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.app__signal { letter-spacing: 1px; }

.app__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.app__hello  { font-size: 12px; color: var(--muted); }
.app__title  { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.app__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.vcard {
  margin-bottom: 12px;
  padding: 18px;
  border-radius: var(--r-2xl);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.vcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.vcard__badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.vcard .chip {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
  border-color: rgba(255, 255, 255, .16);
}
.vcard__name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.vcard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.vcard__row span    { font-size: 12px; color: rgba(255, 255, 255, .55); }
.vcard__row strong  { font-size: 16px; font-weight: 700; }

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--elevated);
}
.mini__k { font-size: 11px; color: var(--muted); }
.mini__v { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }

.app__list { display: flex; flex-direction: column; gap: 2px; }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row__t { flex: 1; font-size: 14px; font-weight: 500; }
.row__v { font-size: 14px; font-weight: 700; }

.row__ic {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grey-100);
}
.row__ic::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--grey-500);
  -webkit-mask: var(--mask) center / contain no-repeat;
          mask: var(--mask) center / contain no-repeat;
}
.row__ic[data-i="fuel"]   { --mask: var(--icon-fuel); }
.row__ic[data-i="wrench"] { --mask: var(--icon-wrench); }
.row__ic[data-i="shield"] { --mask: var(--icon-shield); }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.feature p  { margin-top: 8px; font-size: 15px; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  color: var(--ink);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink) var(--icon-check) center / 62% no-repeat;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.panel__k { font-size: 13px; color: var(--muted); }
.panel__v { margin-top: 4px; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }

.chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 10px;
  height: 150px;
  margin-top: 26px;
}
.chart span {
  display: block;
  height: 0;                         
  border-radius: 6px 6px 3px 3px;
  background: var(--grey-200);
  transition: height .9s var(--ease);
}
.chart span:nth-child(6) { background: var(--ink); }

.chart__labels {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.chart__labels span { font-size: 10px; text-align: center; color: var(--faint); }

.legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.legend__item b { margin-left: auto; color: var(--ink); }

.dot { flex: none; width: 10px; height: 10px; border-radius: 999px; }
.dot[data-c="fuel"]  { background: var(--ink); }
.dot[data-c="maint"] { background: var(--grey-500); }
.dot[data-c="ins"]   { background: var(--grey-300); }
.dot[data-c="other"] { background: var(--grey-200); }

#schedule .split__visual {
  position: relative;               
  display: grid;
  place-items: center;              
}

.sched-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}
.sched__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.sched__name { font-size: 14px; font-weight: 600; }
.sched__due  { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sched__bar {
  height: 6px;
  margin: 8px 0 5px;
  border-radius: 999px;
  background: var(--grey-100);
  overflow: hidden;
}
.sched__bar span {
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
}
.sched__left { font-size: 11px; color: var(--faint); }

.sched--soon .sched__bar span { background: var(--warning); }
.sched--soon .sched__left     { color: var(--warning); font-weight: 600; }

.sync-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.sync-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.sync-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.sync-card__icon svg { width: 22px; height: 22px; }
.sync-card__meta { flex: 1; }
.sync-card__title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.sync-card__sub { margin-top: 2px; font-size: 12px; color: var(--muted); }

.sync-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sync-row:last-of-type { border-bottom: 0; }
.sync-row__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grey-100);
  color: var(--muted);
}
.sync-row__ic svg { width: 18px; height: 18px; }
.sync-row__name { flex: 1; font-size: 14px; font-weight: 600; }
.sync-row__meta { font-size: 12px; font-weight: 600; color: var(--success); }

.sync-foot { margin-top: 16px; font-size: 12px; text-align: center; color: var(--muted); }

.cta {
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta__title { font-size: clamp(30px, 5vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.cta__sub   { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, .6); }
.cta__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.store span  { display: flex; flex-direction: column; text-align: left; font-size: 17px; font-weight: 700; line-height: 1.1; }
.store small { font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

.store--soon {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
  cursor: default;
}
.store--soon:hover { transform: none; box-shadow: none; }
.store--soon small { color: rgba(255, 255, 255, .55); }

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 20px; margin-left: -8px; font-size: 26px; font-weight: 800; }
.footer__brand .brand__img { width: 72px; height: 72px; }
.footer__copy  { margin-left: auto; font-size: 13px; color: var(--faint); }

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

.features .feature:nth-child(2) { --d: .09s; }
.features .feature:nth-child(3) { --d: .18s; }
.features .feature:nth-child(4) { --d: .27s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.split__visual.is-in .chart span                 { height: var(--h); }
.split__visual.is-in .chart span:nth-child(1)    { transition-delay: .05s; }
.split__visual.is-in .chart span:nth-child(2)    { transition-delay: .12s; }
.split__visual.is-in .chart span:nth-child(3)    { transition-delay: .19s; }
.split__visual.is-in .chart span:nth-child(4)    { transition-delay: .26s; }
.split__visual.is-in .chart span:nth-child(5)    { transition-delay: .33s; }
.split__visual.is-in .chart span:nth-child(6)    { transition-delay: .40s; }
.split__visual.is-in .chart span:nth-child(7)    { transition-delay: .47s; }
.split__visual.is-in .chart span:nth-child(8)    { transition-delay: .54s; }

@media (max-width: 960px) {
  .hero__inner   { grid-template-columns: 1fr; gap: 40px; }
  .hero__device  { order: -1; }
  .features      { grid-template-columns: repeat(2, 1fr); }
  .split         { grid-template-columns: 1fr; gap: 40px; }
  .split__visual { order: -1; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero    { padding: 48px 0 24px; }
}

@media (max-width: 460px) {
  .features { grid-template-columns: 1fr; }
  .legend   { grid-template-columns: 1fr; }
  .to-top   { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone  { animation: none; }
  .chart span,
  .split__visual.is-in .chart span { height: var(--h); transition: none; }
}
