:root {
  color-scheme: dark;
  --ink: #fffaf8;
  --ink-soft: #d7d0e4;
  --muted: #a79fb9;
  --deep: #070712;
  --deep-2: #0d1022;
  --panel: #10172c;
  --panel-2: #17113a;
  --line: rgba(180, 170, 230, 0.18);
  --purple: #8755ff;
  --purple-2: #5b27e9;
  --gold: #ebb055;
  --coral: #ff716c;
  --blue: #72bcff;
  --radius-lg: 34px;
  --radius-md: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(91, 39, 233, 0.12), transparent 34%),
    linear-gradient(180deg, #060710 0%, #0c0920 44%, #070b17 100%);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(135, 85, 255, 0.08) 18% 19%, transparent 19% 100%),
    linear-gradient(155deg, transparent 0 66%, rgba(235, 176, 85, 0.06) 66% 67%, transparent 67% 100%);
  opacity: 0.9;
}

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

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

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  padding: 18px max(20px, calc((100vw - 1160px) / 2)) 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: transparent;
}

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

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(95, 71, 206, 0.28);
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 12, 26, 0.68);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(135, 85, 255, 0.18);
  color: var(--ink);
  outline: none;
}

.hero {
  min-height: calc(100svh - 72px);
  padding: 56px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8.2vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
  font-weight: 600;
}

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

.app-store-button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 14px;
  border: 1px solid rgba(135, 85, 255, 0.58);
  border-radius: 18px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #7b4cff, #5928e8 64%, #30168c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 0 1px rgba(35, 12, 110, 0.18),
    0 18px 44px rgba(91, 39, 233, 0.36);
  font-size: 19px;
  font-weight: 900;
}

.app-store-button small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.apple-mark {
  width: 34px;
  height: 40px;
  color: #ffffff;
  fill: currentColor;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.ghost-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.ghost-link:hover,
.ghost-link:focus-visible,
.support-button:hover,
.support-button:focus-visible {
  border-color: rgba(235, 176, 85, 0.65);
  color: white;
  outline: none;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(135, 85, 255, 0.3);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(135, 85, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
}

.phone-stage {
  position: relative;
  padding: 24px;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 7% -10% 4% 10%;
  transform: skewY(-8deg) rotate(-1deg);
  border-radius: 40px;
  background:
    linear-gradient(120deg, rgba(135, 85, 255, 0.18), transparent 50%),
    linear-gradient(90deg, rgba(235, 176, 85, 0.16), rgba(255, 113, 108, 0.1), transparent 72%);
  filter: blur(18px);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0a0a17;
  box-shadow: var(--shadow);
}

.hero-phone {
  width: min(390px, 84vw);
  aspect-ratio: 1206 / 2622;
  border-radius: 44px;
  transform: rotate(2.2deg);
}

.hero-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.02), inset 0 0 28px rgba(255, 255, 255, 0.08);
}

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

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: -28px;
  margin-bottom: 96px;
}

.stats-band div {
  min-height: 140px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    rgba(13, 18, 36, 0.82);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
}

.stats-band span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.feature-intro {
  text-align: center;
  margin-bottom: 34px;
}

.feature-intro h2 {
  max-width: 780px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 520px;
  display: grid;
  align-content: space-between;
  gap: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(135, 85, 255, 0.2), rgba(8, 10, 28, 0.2) 36%),
    rgba(11, 16, 34, 0.86);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.feature-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 0.7fr);
  align-items: center;
  min-height: 500px;
}

.feature-wide.reverse {
  grid-template-columns: minmax(310px, 0.7fr) minmax(0, 0.95fr);
}

.feature-wide.reverse .feature-copy {
  order: 2;
}

.feature-copy {
  padding: clamp(28px, 4vw, 46px);
}

.feature-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 650;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--gold);
  background: rgba(235, 176, 85, 0.12);
  border: 1px solid rgba(235, 176, 85, 0.32);
  font-weight: 950;
}

.feature-shot {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(430px, calc(100% - 48px));
  aspect-ratio: 0.76;
  margin: 0 auto 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  overflow: hidden;
  background: #080914;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.feature-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(0deg, rgba(7, 7, 18, 0.16), transparent 36%);
}

.feature-shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.005);
}

.feature-wide .feature-shot {
  width: min(430px, calc(100% - 48px));
}

@media (min-width: 921px) {
  .feature-wide .feature-shot {
    margin-top: 30px;
  }
}

.shot-today img {
  object-position: center 19%;
}

.shot-map img {
  object-position: center 33%;
}

.shot-timesheet img {
  object-position: center 17%;
}

.shot-break img {
  object-position: center 19%;
}

.privacy-panel,
.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: 28px;
  align-items: center;
  margin-top: 110px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(135, 85, 255, 0.18), transparent 42%),
    rgba(12, 15, 31, 0.84);
}

.panel-copy p,
.support p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 650;
}

.small-note {
  color: var(--gold) !important;
  font-size: 15px !important;
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 18px;
  border: 1px solid rgba(235, 176, 85, 0.44);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(235, 176, 85, 0.12);
  font-weight: 900;
}

.privacy-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(235, 176, 85, 0.24);
  border-radius: 26px;
  background: rgba(235, 176, 85, 0.08);
}

.linked-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.linked-card:hover,
.linked-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(235, 176, 85, 0.62);
  background: rgba(235, 176, 85, 0.12);
  outline: none;
}

.privacy-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-card strong {
  margin-bottom: 12px;
  line-height: 1.35;
}

.privacy-card em {
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 36px;
  margin-top: 110px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(13, 18, 36, 0.76);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  list-style: none;
}

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

summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 26px;
  line-height: 18px;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -8px 24px 22px;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 650;
}

.support {
  margin-bottom: 70px;
}

.support-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(235, 176, 85, 0.44);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(235, 176, 85, 0.12);
  font-size: 17px;
  font-weight: 900;
}

.support-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.support-button.primary {
  color: white;
  border-color: rgba(135, 85, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #8e58ff, #5928e8);
  box-shadow: 0 18px 44px rgba(91, 39, 233, 0.28);
}

.subpage .site-header {
  margin-bottom: 28px;
}

.page-hero {
  padding: clamp(42px, 8vw, 96px) 0 38px;
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(46px, 7vw, 82px);
}

.legal-layout,
.support-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.43fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 86px;
}

.legal-card,
.contact-card,
.policy-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(135, 85, 255, 0.14), transparent 42%),
    rgba(12, 15, 31, 0.84);
}

.legal-card,
.contact-card {
  position: sticky;
  top: 92px;
  padding: 28px;
}

.legal-card h2,
.contact-card h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.legal-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.45;
  font-weight: 700;
}

.policy-content {
  padding: clamp(28px, 4vw, 52px);
}

.policy-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.contact-card p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 650;
}

.policy-content a {
  color: var(--gold);
  font-weight: 850;
}

.support-layout {
  grid-template-columns: minmax(270px, 0.46fr) minmax(0, 1fr);
}

.contact-card img {
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: 0 18px 44px rgba(91, 39, 233, 0.28);
}

.support-mail {
  width: 100%;
  justify-content: flex-start;
  margin: 10px 0 24px;
}

.support-mail > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mail-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.mail-mark::before {
  content: "@";
  color: #2d176d;
  font-weight: 950;
  font-size: 22px;
}

.support-tips {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.support-tips strong {
  margin-bottom: 4px;
}

.support-tips span {
  color: var(--muted);
  font-weight: 750;
}

.support-faq {
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.compact strong {
  font-size: 16px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  outline: none;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 38px;
    text-align: center;
  }

  .hero-copy,
  .lede {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-strip {
    justify-content: center;
  }

  .stats-band,
  .feature-grid,
  .privacy-panel,
  .support,
  .faq {
    grid-template-columns: 1fr;
  }

  .stats-band {
    margin-top: 0;
    margin-bottom: 72px;
  }

  .feature-wide,
  .feature-wide.reverse {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .feature-wide.reverse .feature-copy {
    order: 0;
  }

  .feature-card {
    min-height: auto;
  }

  .support-button {
    justify-self: start;
  }

  .support-actions {
    justify-items: start;
  }

  .legal-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .legal-card,
  .contact-card {
    position: static;
  }
}

@media (max-width: 650px) {
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    align-items: flex-start;
    padding: 14px 14px 8px;
  }

  .nav-links {
    gap: 0;
    padding: 4px;
  }

  .nav-links a {
    padding: 9px 9px;
    font-size: 12px;
  }

  .brand strong {
    font-size: 18px;
  }

  .site-header .brand span {
    display: none;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 34px 0 50px;
    gap: 24px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 62px);
  }

  .lede {
    font-size: 17px;
  }

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

  .ghost-link {
    flex: 1 1 calc(50% - 8px);
  }

  .phone-stage {
    padding: 10px 0 0;
  }

  .hero-phone {
    width: min(310px, 78vw);
    border-radius: 34px;
    transform: rotate(1.2deg);
  }

  .stats-band {
    gap: 10px;
    margin-bottom: 58px;
  }

  .stats-band div {
    min-height: 0;
    padding: 20px;
  }

  .feature-intro {
    text-align: left;
  }

  .feature-copy {
    padding: 26px;
  }

  .feature-copy p,
  .panel-copy p,
  .support p {
    font-size: 16px;
  }

  .feature-shot {
    width: calc(100% - 38px);
    border-radius: 28px;
  }

  .privacy-panel,
  .support {
    margin-top: 72px;
    padding: 24px;
  }

  .support-actions,
  .support-button {
    width: 100%;
  }

  .support-button {
    justify-self: stretch;
  }

  .page-hero {
    padding-top: 38px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .legal-card,
  .contact-card,
  .policy-content {
    border-radius: 26px;
  }

  .legal-card,
  .contact-card,
  .policy-content {
    padding: 24px;
  }

  .support-mail {
    min-height: 72px;
    align-items: center;
  }

  .faq {
    gap: 18px;
    margin-top: 72px;
  }

  summary {
    padding: 19px 20px;
    font-size: 17px;
  }

  details p {
    margin: -6px 20px 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1180px) {
  .hero-phone {
    width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
