:root {
  --background: #faf8f4;
  --background-soft: #f7f3ec;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --border-soft: rgba(30, 30, 30, 0.08);
  --accent: #ff9500;
  --accent-soft: #ffe7c2;
  --accent-bg: #fff4e5;
  --accent-dark: #c96a00;
  --success: #1f9d6a;
  --success-bg: #e7f6ef;
  --danger: #e5484d;
  --danger-bg: #ffecec;
  --text-primary: #1c1c1e;
  --text-secondary: #6e6e73;
  --text-tertiary: #9a9a9e;
  --shadow-soft: 0 12px 32px rgba(20, 20, 20, 0.08);
  --shadow-card: 0 18px 44px rgba(20, 20, 20, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    system-ui, sans-serif;
  background:
    radial-gradient(circle at 22% 12%, rgba(255, 149, 0, 0.15), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(31, 157, 106, 0.09), transparent 26%),
    linear-gradient(180deg, var(--background), var(--background-soft));
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(30, 30, 30, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 30, 30, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 74%);
  content: "";
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  right: clamp(16px, 4vw, 56px);
  left: clamp(16px, 4vw, 56px);
  z-index: 10;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.brand,
.top-nav,
.hero-actions,
.trust-strip,
.insight-band,
.feature-grid,
.workflow,
.download-section,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(255, 149, 0, 0.18);
}

.top-nav {
  gap: 6px;
}

.top-nav a {
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 650;
}

.top-nav a:hover {
  color: var(--text-primary);
  background: #fff;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  padding: 118px 0 72px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 104px);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.2;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
}

.button.primary {
  color: #fff;
  background: #1c1c1e;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.button.secondary {
  border: 1px solid rgba(30, 30, 30, 0.07);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.trust-strip {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 999px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 650;
}

.hero-media {
  position: relative;
  min-height: 690px;
}

.phone-mockup {
  position: absolute;
  right: 26px;
  bottom: 0;
  width: min(360px, 78vw);
  min-height: 650px;
  padding: 22px;
  border: 11px solid #202024;
  border-radius: 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 248, 244, 0.94)),
    var(--background);
  box-shadow:
    0 35px 90px rgba(28, 28, 30, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.phone-status {
  width: 72px;
  height: 6px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #141416;
}

.mock-pill {
  width: 132px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
}

.mock-headline {
  display: grid;
  gap: 10px;
  margin: 32px 0 26px;
}

.mock-headline span {
  height: 34px;
  border-radius: 999px;
  background: #1c1c1e;
}

.mock-headline span:last-child {
  width: 78%;
  background: #6e6e73;
}

.mock-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.primary-card {
  display: grid;
  align-content: end;
}

.mock-card strong {
  display: block;
  margin-top: 128px;
  font-size: 22px;
}

.mock-card em {
  display: inline-flex;
  width: max-content;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-bg);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.mock-device {
  position: absolute;
  top: 40px;
  left: 38px;
  filter: drop-shadow(0 20px 26px rgba(28, 28, 30, 0.18));
}

.laptop {
  width: 150px;
  height: 92px;
  border: 8px solid #222226;
  border-radius: 13px;
  background: linear-gradient(145deg, #4a4a50, #17171a);
}

.laptop::after {
  position: absolute;
  right: -22px;
  bottom: -18px;
  left: -22px;
  height: 15px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #d8d8dc, #a8a8ae);
  content: "";
}

.mock-receipt {
  position: absolute;
  top: 64px;
  right: 34px;
  display: grid;
  gap: 8px;
  width: 80px;
  min-height: 106px;
  padding: 17px 13px;
  border: 1px solid rgba(30, 30, 30, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(20, 20, 20, 0.12);
  transform: rotate(5deg);
}

.mock-receipt i {
  height: 7px;
  border-radius: 999px;
  background: #dedee2;
}

.mock-receipt i:first-child {
  width: 68%;
  background: var(--accent-soft);
}

.mock-receipt i:last-child {
  width: 48%;
}

.mock-row {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.06);
}

.mock-row b {
  font-size: 14px;
}

.mock-row span {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 650;
}

.mock-row.muted {
  opacity: 0.78;
}

.floating-proof {
  position: absolute;
  display: grid;
  gap: 5px;
  min-width: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.12);
  backdrop-filter: blur(18px);
}

.floating-proof span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.floating-proof strong {
  font-size: 26px;
}

.proof-one {
  top: 138px;
  left: 8px;
}

.proof-two {
  right: 0;
  bottom: 120px;
}

.insight-band {
  gap: 14px;
  justify-content: space-between;
  margin: 0 0 86px;
  padding: 18px;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.insight-band div {
  display: grid;
  min-height: 116px;
  flex: 1;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.insight-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.insight-icon.success {
  background: var(--success);
}

.insight-icon.dark {
  background: #1c1c1e;
}

.insight-band p,
.insight-band strong {
  margin: 0;
}

.insight-band p {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 750;
}

.insight-band strong {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: 86px 0;
}

.section-copy {
  max-width: 620px;
}

.section-copy.centered {
  margin: 0 auto;
  text-align: center;
}

.section-copy h2,
.download-section h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.download-section p {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.45;
}

.feature-grid {
  align-items: stretch;
  gap: 18px;
  margin-top: 34px;
}

.feature-grid article,
.workflow article {
  flex: 1;
  border: 1px solid rgba(30, 30, 30, 0.06);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.feature-grid article {
  min-height: 260px;
  padding: 26px;
  border-radius: 28px;
}

.feature-icon {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 42px;
  border-radius: 18px;
  background: var(--accent-bg);
}

.receipt-icon::after,
.warranty-icon::after,
.return-icon::after {
  position: absolute;
  content: "";
}

.receipt-icon::after {
  inset: 12px 16px;
  border: 2px solid var(--accent);
  border-radius: 8px;
}

.warranty-icon::after {
  inset: 12px;
  border: 2px solid var(--success);
  border-radius: 50%;
}

.return-icon::after {
  top: 18px;
  left: 16px;
  width: 22px;
  height: 16px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.feature-grid h3,
.workflow h3 {
  margin: 0;
  font-size: 23px;
}

.feature-grid p,
.workflow p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.45;
}

.workflow-section {
  padding: 86px 0;
}

.workflow {
  align-items: stretch;
  gap: 18px;
  margin-top: 36px;
}

.workflow article {
  min-height: 244px;
  padding: 28px;
  border-radius: 28px;
}

.workflow span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-bg);
  font-size: 13px;
  font-weight: 800;
}

.download-section {
  justify-content: space-between;
  gap: 40px;
  margin: 78px 0 48px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(20, 20, 20, 0.1);
}

.download-section > div {
  max-width: 600px;
}

.signup-form {
  display: grid;
  width: min(100%, 420px);
  gap: 10px;
}

.signup-form label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 750;
}

.signup-form div {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.signup-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--text-primary);
  background: transparent;
}

.signup-form button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #1c1c1e;
  font-weight: 750;
  cursor: pointer;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 32px 0 42px;
  color: var(--text-secondary);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--text-primary);
  font-weight: 750;
}

.site-footer span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--text-secondary);
  font-weight: 650;
}

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

.legal-page {
  padding: 136px 0 56px;
}

.legal-hero {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: 0;
}

.legal-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--text-secondary);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.35;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.15;
}

.legal-card h2:first-of-type {
  margin-top: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-card a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .top-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 112px;
  }

  .hero-content {
    order: 1;
  }

  .hero-media {
    order: 2;
    min-height: 590px;
  }

  .phone-mockup {
    right: 50%;
    transform: translateX(50%);
  }

  .proof-one {
    left: 0;
  }

  .proof-two {
    right: 0;
  }

  .insight-band,
  .feature-grid,
  .workflow,
  .download-section {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    top: 14px;
    min-height: 56px;
  }

  .brand {
    font-size: 15px;
  }

  .hero-section {
    gap: 28px;
    padding-top: 100px;
  }

  .hero-content h1 {
    font-size: clamp(54px, 18vw, 78px);
  }

  .hero-lede {
    font-size: 21px;
  }

  .hero-media {
    min-height: 620px;
    margin-top: 22px;
  }

  .phone-mockup {
    width: min(326px, 86vw);
    min-height: 560px;
    padding: 18px;
    border-width: 9px;
    border-radius: 42px;
  }

  .mock-card {
    min-height: 224px;
  }

  .mock-card strong {
    margin-top: 116px;
  }

  .floating-proof {
    min-width: 112px;
    padding: 14px;
    border-radius: 20px;
  }

  .floating-proof strong {
    font-size: 22px;
  }

  .proof-one {
    top: 80px;
  }

  .proof-two {
    bottom: 48px;
  }

  .insight-band,
  .section,
  .workflow-section {
    margin-bottom: 0;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .insight-band {
    padding: 12px;
  }

  .feature-grid article,
  .workflow article {
    min-height: auto;
  }

  .download-section {
    margin-top: 36px;
    border-radius: 28px;
  }

  .signup-form div {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }

  .signup-form input,
  .signup-form button {
    min-height: 48px;
  }

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

  .legal-page {
    padding-top: 112px;
  }

  .legal-hero {
    text-align: left;
  }

  .legal-hero p:not(.eyebrow) {
    margin-right: 0;
    margin-left: 0;
  }

  .legal-card {
    border-radius: 28px;
  }
}
