:root {
  --paper: #f4eee2;
  --paper-2: #efe5d4;
  --card: #fbf7ef;
  --ink: #26211c;
  --secondary: #5c5349;
  --muted: #9a8e7c;
  --border: #d8cdb8;
  --red: #c8412b;
  --red-dark: #9f2f20;
  --gold: #dfa23b;
  --green: #1f7853;
  --dark: #252019;
  --shadow: 0 28px 70px rgba(71, 52, 29, .16);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(223, 162, 59, .18), transparent 34rem),
    linear-gradient(180deg, #f8f0e3 0%, var(--paper) 24rem);
  font-family: var(--sans);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(38, 33, 28, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 33, 28, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: .08em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(176, 52, 28, .23);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color .2s ease, transform .2s ease;
}

.site-nav a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.site-nav .nav-download {
  min-height: 34px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(200, 65, 43, .35);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(251, 247, 239, .72);
}

.site-nav .nav-download:hover {
  color: #fff;
  background: var(--red);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink);
  background: rgba(251, 247, 239, .82);
  font-weight: 700;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 64px;
  padding-top: 24px;
  padding-bottom: 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 9px 4px 0;
  background: var(--red);
}

.eyebrow.light {
  color: #b8ad9c;
}

.eyebrow.light span {
  background: #e76750;
}

.hero h1,
.section-heading h2,
.privacy-copy h2,
.cta-inner h2,
.legal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: -.045em;
  line-height: 1.08;
}

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

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.lead {
  max-width: 600px;
  margin: 30px 0;
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.9;
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(159, 47, 32, .2);
}

.button-ghost {
  color: var(--red-dark);
  border: 1px solid rgba(200, 65, 43, .32);
  background: rgba(251, 247, 239, .56);
}

.button-light {
  color: var(--red-dark);
  background: #fff7eb;
  white-space: nowrap;
}

.availability {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-list {
  display: flex;
  gap: 18px 24px;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 680;
}

.trust-list li::before {
  content: "✓";
  color: var(--green);
  margin-right: 7px;
  font-weight: 900;
}

.hero-visual {
  min-height: 690px;
  position: relative;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  width: min(540px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #eadbc1, #f7efe2);
  box-shadow: inset 0 0 0 1px rgba(216, 205, 184, .7);
}

.phone-shot {
  position: absolute;
  width: min(330px, 70vw);
  border: 8px solid #17130f;
  border-radius: 46px;
  background: #f7efe2;
  box-shadow: var(--shadow);
}

.phone-shot-main {
  z-index: 2;
  transform: translate(-72px, 8px) rotate(-6deg);
}

.phone-shot-side {
  z-index: 1;
  opacity: .72;
  transform: translate(132px, 26px) rotate(8deg) scale(.88);
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(251, 247, 239, .94);
  box-shadow: 0 14px 30px rgba(71, 52, 29, .18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}

.floating-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 65, 43, .16);
}

.note-one {
  top: 11%;
  left: 3%;
}

.note-two {
  right: 5%;
  bottom: 21%;
}

.ticker {
  padding: 17px 0;
  overflow: hidden;
  color: #fff4e7;
  background: var(--red);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 780;
  white-space: nowrap;
}

.ticker div {
  width: max-content;
  min-width: 100%;
  text-align: center;
  word-spacing: 20px;
}

.ticker span {
  opacity: .55;
}

.section {
  padding-top: 118px;
  padding-bottom: 118px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.section-heading h2,
.privacy-copy h2 {
  font-size: clamp(42px, 5vw, 66px);
}

.section-heading > p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--secondary);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-card,
.support-card,
.faq-grid article,
.legal-callout {
  border: 1px solid rgba(216, 205, 184, .86);
  background: rgba(251, 247, 239, .86);
  box-shadow: 0 18px 48px rgba(71, 52, 29, .08);
}

.workflow-card {
  min-height: 600px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
}

.workflow-card.dark-card {
  color: #fff8ed;
  background: var(--dark);
  border-color: rgba(255, 244, 231, .12);
}

.step-number {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 800;
}

.dark-card .step-number {
  color: #b4a894;
}

.workflow-card h3 {
  margin: 18px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
}

.workflow-card p {
  min-height: 74px;
  margin: 0 0 24px;
  color: var(--secondary);
  font-size: 14px;
}

.dark-card p {
  color: #cfc4b2;
}

.workflow-card img {
  width: min(280px, 100%);
  margin: auto auto -118px;
  border: 7px solid #17130f;
  border-radius: 38px;
  box-shadow: 0 22px 45px rgba(48, 36, 22, .18);
}

.scene-section {
  color: #f8f0e4;
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 65, 43, .22), transparent 34rem),
    var(--dark);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: end;
  gap: 80px;
}

.split-heading p:last-child {
  color: #b8ad9c;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #50483d;
  border-left: 1px solid #50483d;
}

.scene-grid article {
  min-height: 286px;
  padding: 30px 25px;
  border-right: 1px solid #50483d;
  border-bottom: 1px solid #50483d;
}

.scene-grid article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #756b5e;
  border-radius: 50%;
  color: #e76750;
  font-family: var(--serif);
  font-weight: 900;
}

.scene-grid h3 {
  margin: 76px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
}

.scene-grid p {
  color: #aca192;
  font-size: 13px;
}

.privacy-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 96px;
}

.privacy-visual {
  display: grid;
  place-items: center;
  min-height: 620px;
  position: relative;
}

.privacy-visual::before {
  content: "";
  position: absolute;
  width: min(470px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e8ddc9;
}

.privacy-visual img {
  position: relative;
  z-index: 1;
  width: min(310px, 76vw);
  border: 8px solid #17130f;
  border-radius: 46px;
  box-shadow: var(--shadow);
}

.privacy-copy p:not(.eyebrow) {
  color: var(--secondary);
}

.privacy-copy .fine-print {
  padding-left: 15px;
  border-left: 2px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
}

.screenshot-section {
  overflow: hidden;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screenshot-strip img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.screenshot-strip img:nth-child(2) {
  margin-top: 44px;
}

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

.faq-grid article {
  min-height: 190px;
  padding: 28px;
  border-radius: 24px;
}

.faq-grid h3,
.support-card h2,
.legal-body h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
}

.faq-grid p,
.support-card p {
  margin: 0;
  color: var(--secondary);
}

.cta-section {
  padding: 100px 0;
  color: #fff7eb;
  background: var(--red);
}

.cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  font-size: clamp(44px, 6vw, 76px);
}

.cta-actions {
  justify-content: flex-end;
}

.cta-actions span {
  width: 100%;
  color: rgba(255, 247, 235, .78);
  text-align: right;
  font-size: 13px;
}

.site-footer {
  min-height: 220px;
  padding-top: 58px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand small {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--secondary);
  font-size: 13px;
}

.site-footer > p {
  grid-column: 1 / -1;
  align-self: end;
  margin: 15px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.icp-link {
  margin-left: 12px;
}

.legal-main {
  min-height: 70vh;
}

.legal-hero {
  padding: 82px 0 56px;
  border-top: 1px solid rgba(216, 205, 184, .55);
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(50px, 6vw, 78px);
}

.legal-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--secondary);
}

.legal-body {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 110px;
}

.legal-body h2 {
  margin-top: 44px;
  font-size: 26px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--secondary);
}

.legal-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 0 0 30px;
  padding: 24px;
  border-radius: 22px;
}

.legal-callout p {
  margin: 6px 0 0;
}

.support-grid {
  width: min(980px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-card {
  padding: 26px;
  border-radius: 22px;
}

.support-card.full {
  grid-column: 1 / -1;
}

.support-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--secondary);
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
  text-decoration: none !important;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.email-pill-secondary {
  color: var(--red-dark);
  border: 1px solid rgba(200, 65, 43, .28);
  background: rgba(251, 247, 239, .82);
}

@media (max-width: 960px) {
  .hero,
  .privacy-section,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-copy {
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

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

  .availability {
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 610px;
  }

  .workflow-grid,
  .screenshot-strip {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 520px;
  }

  .workflow-card img {
    margin-bottom: -150px;
  }

  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-section {
    gap: 34px;
  }

  .privacy-visual {
    min-height: 540px;
  }

  .screenshot-strip img {
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .screenshot-strip img:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .shell,
  .site-header,
  .legal-body,
  .support-grid {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    height: 74px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 18px;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(251, 247, 239, .96);
    box-shadow: 0 15px 30px rgba(50, 39, 25, .12);
  }

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

  .site-nav .nav-download {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
    margin-top: -6px;
    overflow: hidden;
  }

  .phone-shot {
    width: 245px;
    border-width: 6px;
    border-radius: 34px;
  }

  .phone-shot-main {
    transform: translate(-44px, 12px) rotate(-6deg);
  }

  .phone-shot-side {
    transform: translate(74px, 28px) rotate(8deg) scale(.84);
  }

  .floating-note {
    display: none;
  }

  .ticker {
    font-size: 13px;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .section-heading h2,
  .privacy-copy h2 {
    font-size: 40px;
  }

  .workflow-card {
    min-height: 470px;
    padding: 24px;
  }

  .workflow-card img {
    width: 230px;
    border-radius: 32px;
  }

  .scene-grid,
  .faq-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .scene-grid article {
    min-height: 230px;
  }

  .scene-grid h3 {
    margin-top: 50px;
  }

  .privacy-visual {
    min-height: 470px;
  }

  .privacy-visual img {
    width: 250px;
    border-radius: 36px;
  }

  .cta-inner {
    align-items: start;
    flex-direction: column;
  }

  .cta-actions,
  .cta-actions span {
    width: 100%;
    text-align: left;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer > p {
    grid-column: 1;
  }

  .support-card.full {
    grid-column: 1;
  }

  .pill-row,
  .pill-row .email-pill {
    width: 100%;
  }

  .pill-row .email-pill {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
