@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url("assets/fonts/IBMPlexSansThai-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url("assets/fonts/IBMPlexSansThai-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url("assets/fonts/IBMPlexSansThai-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url("assets/fonts/IBMPlexSansThai-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #30281f;
  --ink-soft: #5d5449;
  --navy: #173253;
  --paper: #fffdf8;
  --cream: #f6f0e4;
  --cream-deep: #ede2cf;
  --line: #cbbda7;
  --gold: #cc972e;
  --gold-soft: #f3d48d;
  --olive: #738b48;
  --olive-dark: #526a31;
  --mint: #9adbd2;
  --blue-soft: #dce6f4;
  --peach: #f3cfbb;
  --shadow: #b8aa92;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(95, 83, 61, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 83, 61, .045) 1px, transparent 1px),
    #f7f1e5;
  background-size: 26px 26px;
  font-family: "IBM Plex Sans Thai", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .28;
}

body::before { top: -180px; right: -100px; background: var(--mint); }
body::after { bottom: -210px; left: -150px; background: var(--gold-soft); }

button,
a { font: inherit; }

button { color: inherit; }

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(20px, 4vw, 72px);
  color: #fffdf6;
  background: rgba(43, 36, 28, .97);
  border-bottom: 4px solid rgba(147, 169, 99, .45);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: var(--navy);
  background: var(--mint);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 12px;
  box-shadow: 4px 4px 0 #5e6f62;
  font-weight: 700;
}

.brand strong { display: block; font-size: 16px; }
.brand small { display: block; margin-top: 4px; color: #cec8bd; font-size: 10px; letter-spacing: .18em; }

.site-header nav { display: flex; gap: 30px; }
.site-header nav a { color: #d8d2c8; font-size: 14px; text-decoration: none; }
.site-header nav a:hover { color: #fff; }
.site-header > .button { justify-self: end; }

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

.section-shell.narrow { width: min(920px, calc(100% - 40px)); }

.eyebrow,
.section-tag,
.card-kicker {
  margin: 0 0 10px;
  color: #a8731c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 { line-height: 1.18; }

h1 { margin-bottom: 14px; color: var(--navy); font-size: clamp(48px, 6.6vw, 86px); letter-spacing: -.045em; }
h1 em { color: var(--gold); font-style: normal; }
h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(34px, 4vw, 52px); letter-spacing: -.025em; }
h3 { margin-bottom: 12px; color: var(--navy); font-size: clamp(24px, 2.4vw, 34px); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  min-height: min(860px, calc(100vh - 76px));
  padding-top: 70px;
}

.hero-subtitle { margin-bottom: 18px; color: var(--ink); font-size: clamp(23px, 2.8vw, 36px); font-weight: 600; }
.hero-lead { max-width: 700px; margin-bottom: 28px; color: var(--ink-soft); font-size: clamp(18px, 1.8vw, 22px); }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 5px 0 rgba(48, 40, 31, .18);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 5px 7px 0 rgba(48, 40, 31, .18); }
.button:active { transform: translateY(1px); box-shadow: 2px 3px 0 rgba(48, 40, 31, .2); }
.button.primary { color: #fff; background: var(--olive); }
.button.primary:hover { background: var(--olive-dark); }
.button.secondary { color: var(--ink); background: var(--paper); }
.button.compact { min-height: 44px; padding: 9px 16px; border-width: 1.5px; border-radius: 11px; font-size: 14px; }
.button.full { width: 100%; }

.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 680px;
  margin-top: 28px;
  overflow: hidden;
  background: rgba(255, 253, 248, .82);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.promo-strip div { padding: 14px 16px; }
.promo-strip div + div { border-left: 1px solid var(--line); }
.promo-strip small { display: block; color: var(--ink-soft); font-size: 12px; }
.promo-strip strong { display: block; color: var(--navy); font-size: 19px; }

.countdown { margin: 10px 0 0; color: var(--olive-dark); font-size: 14px; font-weight: 700; }
.countdown.large { margin: 12px 0 0; font-size: 17px; }

.hero-visual { position: relative; min-height: 660px; display: grid; place-items: center; }
.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(410px, 86%);
  border-radius: 6px;
  box-shadow: 20px 24px 0 #514637, 0 36px 70px rgba(48, 40, 31, .28);
  transform: rotate(1.8deg);
}

.cover-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 214, 203, .65), rgba(150, 214, 203, 0) 67%);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fffaf0;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 6px 0 rgba(48, 40, 31, .24);
}

.floating-card b { color: var(--gold); font-size: 27px; }
.floating-card span { font-size: 13px; font-weight: 600; }
.floating-card-one { top: 14%; left: 0; }
.floating-card-two { right: -2%; bottom: 17%; }

.story {
  position: relative;
  text-align: center;
}

.story::before {
  content: "“";
  position: absolute;
  top: 25px;
  left: 50%;
  color: rgba(204, 151, 46, .16);
  font-size: 240px;
  font-weight: 700;
  line-height: 1;
  transform: translateX(-50%);
}

.story blockquote { position: relative; margin: 10px 0 24px; color: var(--navy); font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.38; }
.story > p:last-child { max-width: 760px; margin-inline: auto; color: var(--ink-soft); font-size: 20px; }

.bundle-section,
.preview-section,
.phase-section { border-top: 1px solid rgba(106, 91, 67, .16); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 510px; margin-bottom: 6px; color: var(--ink-soft); }

.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bundle-card {
  position: relative;
  min-height: 530px;
  padding: 34px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 9px 0 var(--shadow);
}

.bundle-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(48, 40, 31, .12);
  border-radius: 50%;
}

.book-card { background: #fff4e8; }
.workbook-card { background: #edf2cf; }
.app-card { background: #e1e9f7; }
.card-number { position: absolute; top: 25px; right: 28px; color: rgba(48,40,31,.28); font-size: 15px; font-weight: 700; letter-spacing: .12em; }
.card-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 25px; background: rgba(255,255,255,.6); border: 2px solid var(--ink); border-radius: 17px; font-size: 28px; box-shadow: 4px 5px 0 rgba(48,40,31,.17); }
.bundle-card p { color: var(--ink-soft); }
.bundle-card ul { position: relative; z-index: 1; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(48,40,31,.18); list-style: none; }
.bundle-card li { position: relative; margin: 8px 0; padding-left: 24px; }
.bundle-card li::before { content: "◆"; position: absolute; left: 0; top: 2px; color: var(--olive); font-size: 11px; }

.preview-section { padding-bottom: 70px; }
.preview-block {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 46px;
  align-items: center;
  margin: 50px 0 86px;
}

.preview-block.reverse { grid-template-columns: 1.28fr .72fr; }
.preview-block.reverse .preview-copy { order: 2; }
.preview-index { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; background: var(--gold-soft); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 5px 0 rgba(48,40,31,.18); font-weight: 700; }
.preview-copy p:not(.card-kicker) { color: var(--ink-soft); font-size: 19px; }

.text-button { padding: 0 0 4px; color: var(--olive-dark); background: none; border: 0; border-bottom: 1px solid currentColor; font-weight: 700; cursor: pointer; }
.image-frame,
.screen-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 12px 0 var(--shadow);
  cursor: zoom-in;
}

.image-frame::after,
.screen-frame::after { content: "เปิดภาพเต็ม ↗"; position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; color: #fff; background: rgba(43, 36, 28, .88); border-radius: 999px; font-size: 12px; font-weight: 700; }
.image-frame img { width: 100%; }
.workbook-frame { max-height: 600px; }
.case-frame { max-height: 680px; }

.app-showcase,
.dashboard-showcase {
  position: relative;
  margin-top: 70px;
  padding: clamp(28px, 4vw, 50px);
  background: #29342b;
  border: 2px solid var(--ink);
  border-radius: 30px;
  box-shadow: 10px 12px 0 #9b8b71;
}

.app-showcase-copy { max-width: 780px; color: #f8f3e8; }
.app-showcase-copy h3,
.dashboard-copy h3 { color: #fff; }
.app-showcase-copy p:not(.card-kicker),
.dashboard-copy p:not(.card-kicker) { color: #d9d8cc; }
.app-showcase .screen-frame { margin-top: 28px; }
.mini-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.mini-features span { padding: 7px 11px; color: #eef7df; background: rgba(137, 162, 86, .22); border: 1px solid rgba(194, 214, 149, .46); border-radius: 999px; font-size: 13px; font-weight: 600; }

.dashboard-showcase { background: #173253; }
.dashboard-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-items: end; }
.dashboard-copy .card-kicker,
.dashboard-copy h3 { grid-column: 1; }
.dashboard-copy p { grid-column: 2; grid-row: 1 / span 2; }
.dashboard-copy .demo-note { grid-column: 1 / -1; grid-row: auto; margin: 12px 0 0; color: #d7e3ee; font-size: 13px; }
.dashboard-showcase .screen-frame { margin-top: 28px; }
.screen-frame img { width: 100%; }

.fit-section { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-card { padding: clamp(28px, 4vw, 46px); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 9px 0 var(--shadow); }
.good-fit { background: #e7efcb; }
.not-fit { background: #f3dfd1; }
.fit-card h2 { font-size: clamp(30px, 3vw, 43px); }
.fit-card ul { margin: 24px 0 0; padding: 0; list-style: none; }
.fit-card li { position: relative; margin: 12px 0; padding-left: 27px; }
.fit-card li::before { content: "✓"; position: absolute; left: 0; color: var(--olive-dark); font-weight: 700; }

.comparison-section { padding-top: 62px; }
.comparison-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
}
.comparison-heading h2 { max-width: 720px; margin-bottom: 0; }
.comparison-heading > p { max-width: 520px; margin-bottom: 5px; color: var(--ink-soft); }
.comparison-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 253, 248, .86);
  box-shadow: 8px 9px 0 var(--shadow);
}
.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  table-layout: fixed;
}
.comparison-item-col { width: 39%; }
.comparison-package-col { width: 15%; }
.comparison-delivery-col { width: 31%; }
.comparison-table th,
.comparison-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(106, 91, 67, .2);
  vertical-align: middle;
}
.comparison-table thead th {
  color: #fff;
  background: var(--navy);
  font-size: 15px;
  text-align: left;
}
.comparison-table thead th:not(:first-child),
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table tbody th { color: var(--ink-soft); font-weight: 500; text-align: left; }
.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table .guided-column { background: rgba(242, 201, 105, .16); }
.comparison-table thead .guided-column { color: var(--ink); background: var(--gold-soft); }
.table-check {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background: var(--olive);
  border-radius: 50%;
  font-weight: 700;
}
.table-dash { color: #887d6f; }
.comparison-price-row th,
.comparison-price-row td { background: #edf2dc; }
.comparison-price-row .guided-column { background: #e4d8a8; }
.comparison-price-row strong { color: var(--navy); font-size: 18px; }
.comparison-note { margin: 25px 0 15px; color: var(--ink-soft); font-size: 14px; text-align: center; }
.comparison-cta { display: flex; margin: 0 auto; }

.order-section { padding-top: 55px; }
.package-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.package-heading h2 { max-width: 760px; margin-bottom: 0; }
.package-heading > div:last-child { flex: 0 0 auto; text-align: right; }
.package-heading .deadline { margin: 0; color: var(--navy); font-weight: 700; }
.package-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; min-width: 0; }
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 9px 11px 0 var(--shadow);
}
.core-pricing { background: #fff9ef; }
.guided-pricing { padding-top: clamp(62px, 5vw, 72px); color: #f9f6ee; background: var(--navy); box-shadow: 9px 11px 0 #9c8c72; }
.pricing-badge {
  position: absolute;
  top: 14px;
  right: 28px;
  padding: 7px 14px;
  color: var(--ink);
  background: var(--gold-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 23px; padding-bottom: 15px; border-bottom: 1px solid rgba(48,40,31,.18); }
.guided-pricing .pricing-head { border-bottom-color: rgba(255,255,255,.2); }
.pricing-head span { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.pricing-head small { color: var(--ink-soft); }
.guided-pricing .pricing-head small { color: #cfd8e6; }
.pricing-card h3 { margin-bottom: 17px; }
.guided-pricing h3 { color: #fff; }
.package-price { display: flex; align-items: end; gap: 11px; }
.package-price strong { color: var(--navy); font-size: clamp(68px, 7vw, 96px); line-height: .88; letter-spacing: -.055em; }
.guided-pricing .package-price strong { color: var(--gold-soft); }
.package-price span { padding-bottom: 7px; font-size: 20px; font-weight: 700; }
.package-regular { margin: 17px 0 0; color: var(--ink-soft); }
.guided-pricing .package-regular { color: #cfd8e6; }
.pricing-card .check-list { flex: 1; }
.guided-pricing .check-list li::before { color: var(--navy); background: var(--gold-soft); }
.package-delivery { margin: 0 0 24px; padding: 14px 16px; color: var(--olive-dark); background: #edf2dc; border-radius: 12px; font-size: 13px; font-weight: 600; }
.guided-pricing .package-delivery { color: #f7e8b6; background: rgba(255,255,255,.1); }
.order-shared-note { margin: 30px auto 0; max-width: 880px; color: var(--ink-soft); font-size: 14px; text-align: center; }
.order-shared-note p { margin-bottom: 6px; }
.order-card { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; background: var(--paper); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 12px 14px 0 #a9997d; }
.order-main { padding: clamp(34px, 5vw, 70px); color: #fff; background: var(--navy); }
.order-main h2 { color: #fff; }
.price-row { display: flex; align-items: end; gap: 12px; margin-top: 25px; }
.price-row span { color: var(--gold-soft); font-size: clamp(76px, 9vw, 120px); font-weight: 700; line-height: .8; letter-spacing: -.06em; }
.price-row b { padding-bottom: 7px; font-size: 23px; }
.usual-price { margin: 22px 0 4px; color: #cfd8e6; }
.deadline { margin-bottom: 0; color: #fff; font-weight: 600; }
.order-main .countdown { color: var(--gold-soft); }
.order-details { padding: clamp(34px, 5vw, 70px); }
.order-details h3 { font-size: 28px; }
.check-list { margin: 24px 0 32px; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 13px 0; padding-left: 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 23px; height: 23px; color: #fff; background: var(--olive); border-radius: 50%; font-size: 12px; font-weight: 700; }
.order-hint { margin: 13px 0 0; color: #8a641d; font-size: 13px; text-align: center; }
.order-hint.attention { animation: hintPulse .7s ease 2; }
.delivery-note { margin: 20px 0 0; padding-top: 18px; color: var(--ink-soft); border-top: 1px dashed var(--line); font-size: 14px; }

@keyframes hintPulse {
  50% { color: #b24a2e; transform: scale(1.02); }
}

.phase-section { padding-top: 90px; }
.phase-heading { max-width: 830px; margin-bottom: 38px; }
.phase-label { display: inline-flex; padding: 7px 11px; margin-bottom: 16px; color: #453a27; background: var(--gold-soft); border: 1px solid #8f6c28; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.phase-heading > p { color: var(--ink-soft); font-size: 19px; }
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.phase-grid article { padding: 30px; background: rgba(255, 253, 248, .82); border: 1.5px solid var(--line); border-radius: 19px; }
.phase-grid article > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 20px; color: var(--navy); background: var(--blue-soft); border: 1.5px solid var(--navy); border-radius: 13px; font-size: 13px; font-weight: 700; }
.phase-grid h3 { font-size: 24px; }
.phase-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: 15px; }
.upgrade-note { display: grid; grid-template-columns: 220px 1fr; gap: 30px; margin-top: 24px; padding: 28px 32px; background: #e5edd0; border-left: 5px solid var(--olive); border-radius: 0 16px 16px 0; }
.upgrade-note strong { color: var(--navy); font-size: 21px; }
.upgrade-note p { margin: 0; }
.delivery-timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; overflow: hidden; background: #e5edd0; border-left: 5px solid var(--olive); border-radius: 0 17px 17px 0; }
.delivery-timeline div { padding: 26px 28px; }
.delivery-timeline div + div { border-left: 1px solid rgba(82,106,49,.24); }
.delivery-timeline strong { color: var(--navy); font-size: 20px; }
.delivery-timeline p { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; }

.author-section { display: grid; grid-template-columns: 230px 1fr; gap: 45px; align-items: center; }
.author-section img { width: 230px; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); border-radius: 28px; box-shadow: 8px 9px 0 var(--shadow); }
.author-section h2 { font-size: clamp(32px, 3.5vw, 46px); }
.author-section p:not(.section-tag) { max-width: 760px; color: var(--ink-soft); }

.faq-section { padding-top: 60px; }
.faq-section > h2 { margin-bottom: 25px; }
.faq-section details { background: rgba(255,253,248,.8); border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { padding: 20px 5px; color: var(--navy); font-size: 19px; font-weight: 700; cursor: pointer; }
.faq-section details p { padding: 0 34px 22px 5px; margin: 0; color: var(--ink-soft); }

.closing-cta { padding-top: 55px; text-align: center; }
.closing-cta h2 { max-width: 760px; margin-inline: auto; }
.closing-cta .button { margin-top: 10px; }
.closing-cta > a { display: block; width: max-content; margin: 18px auto 0; color: var(--olive-dark); }

footer { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 30px; align-items: center; padding: 35px clamp(20px, 4vw, 72px); color: #ded7cb; background: var(--ink); }
footer p { margin: 0; font-size: 12px; }
.footer-brand .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }

.mobile-cta { display: none; }

.lightbox {
  width: min(95vw, 1500px);
  max-width: none;
  height: min(92vh, 1100px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: #1f1b17;
  border: 0;
  border-radius: 18px;
}

.lightbox::backdrop { background: rgba(24, 20, 16, .85); backdrop-filter: blur(6px); }
.lightbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; margin: 0; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox figcaption { padding: 12px 55px 12px 18px; color: #ece6db; background: #2d2822; font-size: 13px; }
.lightbox-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 40px; height: 40px; color: #fff; background: rgba(32,28,23,.82); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 26px; cursor: pointer; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr .8fr; }
  .hero-visual { min-height: 540px; }
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-card { min-height: auto; }
  .preview-block,
  .preview-block.reverse { grid-template-columns: 1fr; }
  .preview-block.reverse .preview-copy { order: initial; }
  .fit-section { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: minmax(0, 1fr); }
  .phase-grid { grid-template-columns: 1fr; }
  .delivery-timeline { grid-template-columns: 1fr; }
  .delivery-timeline div + div { border-top: 1px solid rgba(82,106,49,.24); border-left: 0; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .site-header { min-height: 64px; padding: 8px 16px; border-bottom-width: 3px; }
  .site-header > .button { display: none; }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; box-shadow: 3px 3px 0 #5e6f62; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 8px; }
  .section-shell,
  .section-shell.narrow { width: min(100% - 28px, 680px); padding-block: 62px; }
  .hero { display: flex; flex-direction: column; min-height: auto; padding-top: 48px; }
  .hero-copy { order: 1; width: 100%; }
  .hero-visual { order: 2; width: 100%; min-height: 450px; overflow: hidden; }
  .hero-visual img { width: min(300px, 75%); box-shadow: 13px 16px 0 #514637, 0 25px 50px rgba(48,40,31,.24); }
  .cover-glow { width: 390px; height: 390px; }
  .floating-card { padding: 8px 11px; border-radius: 11px; }
  .floating-card b { font-size: 21px; }
  .floating-card span { font-size: 10px; }
  .floating-card-one { top: 10%; left: 0; }
  .floating-card-two { right: 8px; bottom: 12%; }
  h1 { font-size: clamp(38px, 11vw, 48px); letter-spacing: -.035em; }
  h2 { font-size: clamp(32px, 10vw, 43px); }
  .hero-actions { display: grid; }
  .promo-strip { grid-template-columns: 1fr; }
  .promo-strip div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .bundle-card { padding: 28px; box-shadow: 6px 7px 0 var(--shadow); }
  .preview-block { gap: 25px; margin: 35px 0 65px; }
  .preview-copy p:not(.card-kicker) { font-size: 17px; }
  .image-frame,
  .screen-frame { border-radius: 16px; box-shadow: 6px 7px 0 var(--shadow); }
  .app-showcase,
  .dashboard-showcase { padding: 24px 18px; border-radius: 21px; box-shadow: 6px 7px 0 #9b8b71; }
  .dashboard-copy { display: block; }
  .fit-card { padding: 28px 23px; box-shadow: 6px 7px 0 var(--shadow); }
  .comparison-heading { display: block; }
  .comparison-heading > p { margin-top: 16px; }
  .comparison-table-wrap { margin-inline: -2px; box-shadow: 6px 7px 0 var(--shadow); }
  .comparison-table { min-width: 720px; }
  .comparison-table th,
  .comparison-table td { padding: 13px 14px; }
  .comparison-note { text-align: left; }
  .package-heading { display: block; }
  .package-heading > div:last-child { margin-top: 18px; text-align: left; }
  .pricing-card { padding: 32px 23px; box-shadow: 6px 7px 0 var(--shadow); }
  .guided-pricing { margin-top: 12px; padding-top: 62px; box-shadow: 6px 7px 0 #9c8c72; }
  .pricing-head { display: block; }
  .pricing-head small { display: block; margin-top: 4px; }
  .package-heading h2,
  .pricing-card h3,
  .pricing-card li,
  .package-delivery { overflow-wrap: anywhere; }
  .order-card { grid-template-columns: 1fr; box-shadow: 7px 8px 0 #a9997d; }
  .order-main,
  .order-details { padding: 36px 24px; }
  .upgrade-note { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .author-section { grid-template-columns: 1fr; gap: 28px; }
  .author-section img { width: 180px; }
  footer { padding-bottom: 35px; }
  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: #fff;
    background: rgba(43, 36, 28, .97);
    border-top: 2px solid rgba(147, 169, 99, .55);
    backdrop-filter: blur(12px);
  }
  .mobile-cta small { display: block; color: #d0c9bd; font-size: 10px; }
  .mobile-cta strong { display: block; line-height: 1.1; }
  .lightbox { width: 96vw; height: 88vh; border-radius: 12px; }
}

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