:root {
  --ink: #142553;
  --navy: #0f2f66;
  --muted: #53627a;
  --line: #dce6f6;
  --paper: #fffdf8;
  --soft-blue: #eef7ff;
  --soft-mint: #eefaf4;
  --soft-peach: #fff4ea;
  --coral: #ff625f;
  --coral-dark: #d94743;
  --blue: #3478f6;
  --green: #54b978;
  --yellow: #ffc845;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(20, 37, 83, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 56px;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(220, 230, 246, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 42px;
  align-items: center;
  min-height: 680px;
  padding: 46px 56px 36px;
  background: linear-gradient(180deg, #fffdf8 0%, #fffdf8 74%, var(--soft-blue) 74%);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 4.9rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.6rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--navy);
  font-weight: 750;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 28px;
}

.hero-list li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 12px;
}

.centered-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(255, 98, 95, 0.25);
}

.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.payment {
  color: var(--navy);
  background: var(--yellow);
}

.payment-note {
  cursor: default;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border: 1px solid rgba(220, 230, 246, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.photo-to-cards,
.sample-section,
.start-section {
  padding: 72px 56px;
}

.photo-to-cards {
  background: var(--soft-blue);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p,
.sample-copy p,
.process p,
.start-section p,
.thanks-panel p {
  color: var(--muted);
}

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

.transformation {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 48px minmax(0, 1.45fr);
  gap: 22px;
  align-items: center;
}

.reference-card,
.flashcard,
.payment-panel,
.thanks-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 37, 83, 0.1);
}

.reference-card {
  overflow: hidden;
}

.reference-card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.reference-card div {
  padding: 18px;
}

.arrow {
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
}

.example-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flashcard {
  overflow: hidden;
}

.flashcard img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.flashcard p {
  min-height: 54px;
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
}

.card-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--coral-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sample-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: 32px;
  align-items: center;
  background: var(--paper);
}

.sample-copy {
  max-width: 520px;
}

.app-preview {
  height: 620px;
  overflow: hidden;
  background: #dfeeff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.process div {
  padding: 40px 56px;
  background: var(--soft-mint);
}

.process span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.process h2 {
  font-size: 1.3rem;
}

.start-section {
  background: var(--soft-peach);
}

.basin-form {
  display: grid;
  gap: 18px;
  max-width: 940px;
}

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

.form-section-title {
  margin-top: 8px;
}

.form-section-title h3,
.form-section-title p {
  margin-bottom: 4px;
}

.form-section-title p {
  color: var(--muted);
}

.package-options {
  display: grid;
  gap: 18px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.package-options legend {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

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

.package-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 37, 83, 0.08);
  cursor: pointer;
}

.package-card:hover,
.package-card.is-selected,
.package-card:has(.package-radio:checked) {
  border-color: var(--green);
}

.package-radio {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
}

.package-card strong {
  padding-right: 30px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.15;
}

.package-price {
  color: var(--coral-dark);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.package-description,
.best-for {
  color: var(--muted);
  font-weight: 700;
}

.best-for {
  margin-top: auto;
}

.package-button {
  width: 100%;
  margin-top: 6px;
}

.package-card.is-selected .package-button,
.package-card:has(.package-radio:checked) .package-button {
  color: var(--white);
  background: var(--green);
  border-color: transparent;
}

.selected-package-line {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d8ec;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

select {
  background: #ffffff;
}

input[type="file"] {
  padding: 10px;
}

.photo-remove {
  width: fit-content;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--coral-dark);
  background: var(--white);
  border: 1px solid rgba(255, 98, 95, 0.38);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.photo-remove[hidden] {
  display: none;
}

.hidden {
  display: none;
}

.photo-fields {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(220, 230, 246, 0.9);
  border-radius: 8px;
}

.photo-fields legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 900;
}

.photo-fields p {
  margin-bottom: 0;
}

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

.photo-slot {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-line input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 3px;
}

.payment-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 8px;
  padding: 24px;
}

.payment-panel p {
  max-width: 560px;
  margin: 0;
}

.basin-form button[type="submit"] {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  color: var(--white);
  background: var(--coral);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(255, 98, 95, 0.25);
  font: inherit;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.basin-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--coral-dark);
  font-weight: 800;
}

.form-status.is-uploading {
  color: var(--navy);
}

.form-status.is-error {
  color: var(--coral-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 56px;
  color: var(--white);
  background: var(--navy);
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--white);
}

.thanks-page {
  display: grid;
  min-height: calc(100vh - 75px);
  place-items: center;
  padding: 72px 18px;
}

.thanks-panel {
  width: min(760px, 100%);
  padding: 44px;
}

.thanks-panel h1 {
  font-size: 3.6rem;
}

@media (max-width: 1100px) {
  .site-header,
  .hero,
  .photo-to-cards,
  .sample-section,
  .start-section,
  .site-footer {
    padding-right: 28px;
    padding-left: 28px;
  }

  h1 {
    font-size: 3.9rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .transformation,
  .sample-section {
    grid-template-columns: 1fr;
  }

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

  .process div {
    padding: 34px 28px;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 780px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero,
  .photo-to-cards,
  .sample-section,
  .start-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2rem;
    overflow-wrap: break-word;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .example-cards,
  .process,
  .form-row,
  .package-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .app-preview {
    height: 560px;
  }

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

  .button,
  .basin-form button[type="submit"] {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
