:root {
  --ink: #24221d;
  --muted: #6d685e;
  --cream: #f5f0e8;
  --paper: #fffdf8;
  --line: #ded6ca;
  --sage: #879d7c;
  --sage-deep: #4c6a51;
  --rust: #b45b42;
  --rust-soft: #f2d7c9;
  --yellow: #e7bd63;
  --shadow: 0 24px 70px rgba(57, 48, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

a {
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

.topbar,
main,
.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 20px;
  border-bottom: 1px solid rgba(100, 89, 73, 0.18);
}

.wordmark {
  color: var(--sage-deep);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.topbar p,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}

.hero {
  min-height: 760px;
  padding: 92px 0 100px;
}

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

.eyebrow,
.card-kicker,
.sheet-eyebrow,
.message-label {
  margin: 0 0 14px;
  color: var(--sage-deep);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 30px;
  color: #4f4a41;
  font-size: 1.12rem;
  line-height: 1.65;
}

.outcome-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 0 32px;
}

.outcome-row div {
  display: grid;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--rust);
}

.outcome-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.outcome-row span {
  color: var(--muted);
  font-size: 0.78rem;
}

.capture-card {
  max-width: 630px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(100, 89, 73, 0.15);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(57, 48, 37, 0.07);
}

.capture-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

.card-copy {
  max-width: 550px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.capture-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid #cfc5b8;
  border-radius: 9px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}

.input-row input::placeholder {
  color: #aaa196;
}

.input-row button {
  flex: 0 1 auto;
  border: 0;
  border-radius: 9px;
  padding: 13px 18px;
  background: var(--sage-deep);
  color: #fffdf7;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.25;
  transition: background 160ms ease, transform 160ms ease;
}

.input-row button:hover {
  background: #39523e;
  transform: translateY(-1px);
}

.form-helper,
.form-status,
.no-script-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.1em;
  color: var(--rust);
  font-weight: 700;
}

.success-panel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid #b9cbb8;
  border-radius: 12px;
  background: #f1f6ee;
}

.success-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.success-mark {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
}

.success-mark svg,
.footer-arrow svg {
  display: block;
}

.footer-arrow {
  display: inline-flex;
  color: var(--ink);
}

.no-script-note {
  display: block;
  max-width: 630px;
  padding: 12px 14px;
  border: 1px dashed #bd8f7e;
  border-radius: 8px;
  background: #fbebe4;
}

[hidden] {
  display: none !important;
}

.sheet-stage {
  position: relative;
  min-height: 500px;
  padding: 34px 0 0 20px;
}

.paper-shadow {
  position: absolute;
  top: 88px;
  right: 2%;
  width: 84%;
  height: 74%;
  border-radius: 14px;
  background: rgba(81, 94, 73, 0.2);
  filter: blur(1px);
  transform: rotate(5deg);
}

.sheet-window {
  position: relative;
  z-index: 1;
  width: min(100%, 490px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid #d4cbbb;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid #e3dbce;
  background: #eee8de;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red {
  background: #cd806a;
}

.dot-yellow {
  background: #d9ac58;
}

.dot-green {
  background: #83a079;
}

.window-title {
  margin-left: 5px;
  color: #827a6e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.sheet-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding: 28px 28px 14px;
}

.sheet-eyebrow {
  margin-bottom: 5px;
  color: var(--rust);
  font-size: 0.62rem;
}

.sheet-heading h2 {
  margin: 0;
  font-size: 2rem;
}

.completion-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e5efe1;
  color: var(--sage-deep);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.sheet-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 28px 16px;
  color: #8b8378;
  font-size: 0.64rem;
}

.sheet-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-requested {
  background: var(--yellow);
}

.dot-received {
  background: var(--sage);
}

.dot-exception {
  background: var(--rust);
}

.sheet-table {
  margin: 0 20px;
  border: 1px solid #e5ded3;
  border-radius: 7px;
  overflow: hidden;
}

.sheet-row {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 0.82fr);
  align-items: center;
  min-height: 43px;
  border-bottom: 1px solid #eee8de;
  color: #5c574f;
  font-size: 0.68rem;
}

.sheet-row:last-child {
  border-bottom: 0;
}

.sheet-row > span {
  padding: 0 8px;
}

.sheet-row-head {
  min-height: 33px;
  background: #f6f1e9;
  color: #9b9183;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status {
  justify-self: start;
  margin: 5px 0;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 800;
}

.status-received {
  background: #e4eee0;
  color: #527052;
}

.status-requested {
  background: #fbefce;
  color: #917021;
}

.status-exception {
  background: #f5dfd6;
  color: #9b4c37;
}

.sheet-footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 28px 22px;
  color: #8b8378;
  font-size: 0.66rem;
}

.footer-arrow {
  color: var(--rust);
  font-size: 1rem;
  font-weight: 800;
}

.visual-caption {
  max-width: 360px;
  margin: 34px 0 0 auto;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.35;
  text-align: right;
}

.pain {
  padding: 110px 0;
  border-top: 1px solid rgba(100, 89, 73, 0.14);
  border-bottom: 1px solid rgba(100, 89, 73, 0.14);
}

.section-intro h2 {
  max-width: 540px;
}

.pain-copy > p,
.magnet-copy > p,
.next-step-inner > p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.message-chain {
  position: relative;
  min-height: 255px;
  margin-top: 30px;
}

.message {
  position: absolute;
  display: grid;
  gap: 6px;
  width: min(82%, 340px);
  padding: 17px 18px;
  border: 1px solid rgba(100, 89, 73, 0.16);
  border-radius: 11px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(57, 48, 37, 0.07);
}

.message::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -13px;
  width: 22px;
  height: 22px;
  border-right: 1px solid rgba(100, 89, 73, 0.16);
  border-bottom: 1px solid rgba(100, 89, 73, 0.16);
  background: var(--paper);
  transform: rotate(45deg);
}

.message strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
}

.message-label {
  margin: 0;
  color: var(--rust);
  font-size: 0.6rem;
}

.message-one {
  top: 0;
  left: 0;
  transform: rotate(-2deg);
}

.message-two {
  top: 88px;
  right: 0;
  z-index: 1;
  background: #edf3e9;
  transform: rotate(2deg);
}

.message-two::after {
  background: #edf3e9;
}

.message-three {
  bottom: 0;
  left: 11%;
  transform: rotate(-1deg);
}

.magnet {
  padding: 124px 0 132px;
}

.magnet-visual {
  position: relative;
  min-height: 350px;
}

.mini-sheet {
  position: absolute;
  width: min(78%, 350px);
  height: 250px;
  border: 1px solid #d4cbbb;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(57, 48, 37, 0.09);
}

.mini-sheet-back {
  top: 36px;
  left: 11%;
  background: #dbe4d5;
  transform: rotate(8deg);
}

.mini-sheet-front {
  top: 12px;
  left: 4%;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  transform: rotate(-6deg);
}

.mini-sheet-line {
  display: block;
  width: 72%;
  height: 9px;
  border-radius: 5px;
  background: #d4dfce;
}

.mini-sheet-line.wide {
  width: 92%;
  height: 17px;
  background: var(--sage-deep);
}

.mini-sheet-line.short {
  width: 45%;
  background: #f0d9ce;
}

.mini-sheet-grid {
  display: block;
  width: 100%;
  height: 117px;
  margin-top: 4px;
  border: 1px solid #dfe5da;
  background: repeating-linear-gradient(0deg, transparent 0 22px, #e7ece3 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 67px, #e7ece3 67px 68px);
}

.free-sticker {
  position: absolute;
  top: 10px;
  right: 4%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: var(--rust);
  color: #fff9f1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  transform: rotate(11deg);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #4f4a41;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #dfead9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%232f5d3a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.micro-note {
  color: var(--rust) !important;
  font-size: 0.82rem !important;
  font-weight: 800;
}

.next-step {
  margin: 0 calc(50% - 50vw);
  padding: 88px 24px 94px;
  background: var(--sage-deep);
  color: #f7f5ee;
}

.next-step-inner {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.next-step .eyebrow {
  color: #d9e4ce;
}

.next-step h2 {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: #fffdf6;
}

.next-step-inner > p {
  max-width: 630px;
  margin-right: auto;
  margin-left: auto;
  color: #e0e8da;
}

.next-step .not-live {
  margin-top: 24px;
  color: #c4d2bb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.closing {
  padding: 124px 0 130px;
  text-align: center;
}

.closing-line {
  max-width: 760px;
  margin: 0 auto 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.closing-note {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(100, 89, 73, 0.18);
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

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

  .sheet-stage {
    min-height: 520px;
    padding-left: 0;
  }

  .sheet-window {
    margin: 0 auto;
  }

  .visual-caption {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .pain-copy,
  .magnet-copy {
    max-width: 700px;
  }

  .magnet-visual {
    min-height: 300px;
    max-width: 550px;
  }
}

@media (max-width: 620px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 32px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    gap: 16px;
  }

  .topbar p {
    max-width: 140px;
    text-align: right;
  }

  .hero {
    padding: 58px 0 76px;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .capture-card {
    padding: 22px 18px;
  }

  .input-row {
    display: grid;
  }

  .input-row button {
    width: 100%;
  }

  .sheet-stage {
    min-height: 450px;
  }

  .sheet-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 18px 12px;
  }

  .sheet-legend {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sheet-table {
    margin-right: 12px;
    margin-left: 12px;
  }

  .sheet-row > span {
    padding: 0 5px;
  }

  .sheet-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .message {
    width: 90%;
  }

  .message-two {
    right: -2%;
  }

  .message-three {
    left: 2%;
  }

  .magnet-visual {
    min-height: 270px;
  }

  .mini-sheet {
    width: 82%;
    height: 215px;
  }

  .mini-sheet-front {
    padding: 22px;
  }

  .mini-sheet-grid {
    height: 94px;
  }

  .free-sticker {
    right: 0;
    width: 74px;
    height: 74px;
    font-size: 0.98rem;
  }

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

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

  .input-row button {
    transition: none;
  }
}


.google-signin {
  margin: 0.75rem 0 0.25rem;
  min-height: 44px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.google-signin {
  display: flex;
  justify-content: flex-start;
  margin: 0.85rem 0 0.35rem;
  min-height: 44px;
}

.google-signin > div {
  width: 100%;
  max-width: 360px;
}

.cta-label {
  margin: 0.85rem 0 0;
}


.success-panel-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.success-panel-body h3 {
  margin: 0;
}

.pay-reminder-pack {
  align-self: flex-start;
  border: 0;
  border-radius: 9px;
  padding: 13px 18px;
  background: var(--sage-deep);
  color: #fffdf7;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.25;
  transition: background 160ms ease, transform 160ms ease;
}

.pay-reminder-pack:hover:not(:disabled) {
  background: #39523e;
  transform: translateY(-1px);
}

.pay-reminder-pack:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.pay-status {
  margin: 0;
  min-height: 1.1em;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .pay-reminder-pack {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pay-reminder-pack {
    transition: none;
  }
}
