:root {
  --background: #f7f0e4;
  --foreground: #10263b;
  --card: #fffaf1;
  --card-foreground: #10263b;
  --popover: #fffaf1;
  --popover-foreground: #10263b;
  --primary: #e29b2d;
  --primary-foreground: #10263b;
  --secondary: #eadcc7;
  --secondary-foreground: #10263b;
  --muted: #efe6d8;
  --muted-foreground: #6f746e;
  --accent: #efe0be;
  --accent-foreground: #10263b;
  --destructive: #b7473d;
  --border: rgba(16, 38, 59, 0.14);
  --input: rgba(16, 38, 59, 0.18);
  --ring: #e29b2d;
  --radius: 1rem;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --font-sans: Arial, Helvetica, sans-serif;
  --radius-sm: calc(var(--radius) - 6px);
  --radius-md: calc(var(--radius) - 3px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 8px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; }
.site-shell, .story-detail { font-family: var(--body-font, Arial, Helvetica, sans-serif); }
.site-shell :is(h1, h2, h3, .brand, .benefit-card strong, .price-box strong), .story-detail :is(h1, h2, h3, .brand) { font-family: var(--heading-font, Georgia, serif) !important; }
.site-shell :is(.brand-mark, .nav-cta, .primary-cta, .sample-button, .steps-grid article > span), .story-detail :is(.brand-mark, .nav-cta, .sample-button) { background: var(--accent, #f3b74d) !important; }
.site-shell :is(.hero-copy h1 em, .trust-row svg, .kicker.light, .sample-copy li svg), .story-detail :is(.kicker.light, .detail-facts svg) { color: var(--accent, #f3b74d) !important; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 9% 28%, rgba(226,155,45,.11), transparent 21%), radial-gradient(circle at 91% 51%, rgba(130,151,170,.15), transparent 24%), #f7f0e4; }
.topbar { max-width: 1240px; height: 84px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: Georgia, serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #10263b; background: #f3b74d; box-shadow: 0 8px 24px rgba(226,155,45,.25); }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; color: #51606a; }
.desktop-nav a:hover { color: #10263b; }
.nav-cta, .primary-cta { border-radius: 999px !important; background: #f3b74d !important; color: #10263b !important; font-weight: 700 !important; box-shadow: 0 10px 24px rgba(226,155,45,.2); }

.hero-section { min-height: 690px; padding: 64px max(28px, calc((100vw - 1184px)/2)) 78px; display: grid; grid-template-columns: 1.06fr .94fr; gap: 74px; align-items: center; position: relative; background: radial-gradient(circle at 78% 37%, rgba(70,112,139,.42), transparent 27%), linear-gradient(155deg, #0a2034 0%, #102b43 52%, #0d2135 100%); color: #fff9ed; border-radius: 0 0 56px 56px; }
.hero-section:after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -2px; height: 88px; background: radial-gradient(ellipse at 15% 110%, #25465b 0 36%, transparent 37%), radial-gradient(ellipse at 39% 120%, #18384d 0 42%, transparent 43%), radial-gradient(ellipse at 68% 120%, #214258 0 45%, transparent 46%), radial-gradient(ellipse at 91% 115%, #17374c 0 38%, transparent 39%); opacity: .8; pointer-events: none; }
.hero-stars { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(circle at 12% 19%, #f3b74d 0 1.5px, transparent 2px), radial-gradient(circle at 22% 74%, #f3b74d 0 1px, transparent 1.6px), radial-gradient(circle at 48% 32%, #fff2c8 0 1px, transparent 1.6px), radial-gradient(circle at 76% 15%, #f3b74d 0 1.5px, transparent 2px), radial-gradient(circle at 88% 61%, #fff2c8 0 1px, transparent 1.7px); background-size: 280px 260px, 340px 310px, 230px 290px, 320px 270px, 250px 230px; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex !important; align-items: center; gap: 7px; padding: 8px 13px !important; border-radius: 999px !important; color: #ffe7ab !important; background: rgba(243,183,77,.12) !important; border: 1px solid rgba(243,183,77,.28) !important; letter-spacing: .06em; text-transform: uppercase; font-size: 11px !important; }
.hero-copy h1 { max-width: 690px; margin: 26px 0 22px; font-family: Georgia, serif; font-size: clamp(48px, 5.3vw, 76px); line-height: .99; letter-spacing: -.045em; font-weight: 600; }
.hero-copy h1 em { color: #f3b74d; font-style: normal; }
.hero-lead { max-width: 640px; margin: 0; color: #c9d0d3; font-size: 19px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions a { min-height: 52px; padding-inline: 23px; }
.secondary-cta { border-radius: 999px !important; color: #fff9ed !important; background: rgba(255,255,255,.04) !important; border-color: rgba(255,255,255,.24) !important; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 29px; color: #b7c1c5; font-size: 13px; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row svg { color: #f3b74d; }

.book-stage { min-height: 570px; display: grid; place-items: center; position: relative; z-index: 2; }
.book-glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(243,183,77,.13); filter: blur(12px); }
.book-card { width: min(380px, 78vw); transform: rotate(3deg); border-radius: 10px 18px 18px 10px; overflow: hidden; box-shadow: -13px 18px 0 #081727, 0 44px 80px rgba(0,0,0,.38); transition: transform .35s ease; }
.book-card:hover { transform: rotate(1deg) translateY(-8px); }
.book-card img { width: 100%; height: auto; display: block; }
.promise-strip { max-width: 1240px; margin: 0 auto; padding: 38px 28px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card { min-height: 132px; padding: 22px; display: flex; align-items: flex-start; gap: 15px; background: rgba(255,250,241,.78); border: 1px solid rgba(16,38,59,.11); border-radius: 22px; box-shadow: 0 12px 34px rgba(35,48,51,.055); }
.benefit-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid !important; place-items: center; margin: 0 !important; color: #b96335 !important; background: #f7dfac; border-radius: 14px; }
.promise-strip strong, .promise-strip span { display: block; }
.promise-strip strong { font-family: Georgia, serif; font-size: 18px; line-height: 1.25; }
.promise-strip article div > span { margin-top: 8px; color: #68736f; font-size: 13px; line-height: 1.5; }

.section-wrap { max-width: 1240px; margin: 0 auto; padding: 112px 28px; }
.section-heading { max-width: 760px; }
.section-heading.compact { max-width: 650px; }
.kicker { display: block; margin-bottom: 14px; color: #d77e41; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.kicker.light { color: #f3b74d; }
.section-heading h2, .sample-copy h2, .final-cta h2 { margin: 0; font-family: Georgia, serif; font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.section-heading h2 { font-size: clamp(38px, 4vw, 57px); }
.section-heading > p { max-width: 700px; margin: 20px 0 0; color: #64706d; font-size: 17px; line-height: 1.65; }
.stories-section { position: relative; }
.stories-section:before { content: "✦"; position: absolute; right: 5%; top: 8%; color: rgba(216,135,53,.24); font-size: 74px; transform: rotate(12deg); }
.story-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 48px; }
.story-card { min-height: 425px; padding: 12px 18px 20px; display: flex; flex-direction: column; border: 1px solid rgba(16,38,59,.12); border-radius: 26px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.story-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(33,45,50,.1); }
.story-card:nth-child(-n+3) { grid-column: span 2; }
.story-card:nth-child(n+4) { grid-column: span 3; }
.tone-night { background: #dce8ea; }.tone-sage { background: #e1e8d6; }.tone-rose { background: #f0ded4; }.tone-gold { background: #f2dfb5; }.tone-lilac { background: #e7dfec; }
.story-teaser { height: 185px; margin: 0 -6px 17px; position: relative; overflow: hidden; border-radius: 19px; background: #183246; }
.story-teaser:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,25,39,.72)); }
.story-teaser img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.story-card:hover .story-teaser img { transform: scale(1.045); }
.story-teaser > span { position: absolute; z-index: 2; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 6px; color: #fff9ed; font-size: 11px; font-weight: 800; }
.story-topline, .story-footer { display: flex; align-items: center; justify-content: space-between; }
.story-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(16,38,59,.14); border-radius: 50%; background: rgba(255,255,255,.48); }
.story-number { color: rgba(16,38,59,.4); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.story-card h3 { max-width: 310px; margin: 18px 0 10px; font-family: Georgia, serif; font-size: 22px; line-height: 1.14; }
.story-card p { margin: 0 0 24px; color: #56635f; font-size: 14px; line-height: 1.58; }
.story-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(16,38,59,.11); font-size: 13px; font-weight: 700; }
.story-footer strong { font-size: 11px; }

.sample-section { max-width: 1184px; margin: 0 auto 112px; min-height: 640px; padding: 66px; display: grid; grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr); align-items: center; gap: 58px; color: #fff9ed; background: #10263b; border-radius: 38px; position: relative; overflow: hidden; }
.sample-section:after { content: ""; position: absolute; width: 420px; height: 420px; top: -210px; right: -110px; border: 1px solid rgba(243,183,77,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(243,183,77,.025), 0 0 0 110px rgba(243,183,77,.018); }
.sample-collage { width: 100%; max-width: 430px; min-height: 470px; position: relative; z-index: 2; }
.sample-cover { width: 235px; position: absolute; left: 4px; top: 12px; transform: rotate(-6deg); border-radius: 7px 14px 14px 7px; overflow: hidden; box-shadow: -9px 12px 0 #071522, 0 28px 55px rgba(0,0,0,.38); }
.sample-cover img { width: 100%; height: auto; display: block; }
.sample-spread { width: 330px; height: 222px; position: absolute; left: 70px; bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; transform: rotate(4deg); filter: drop-shadow(0 24px 32px rgba(0,0,0,.32)); }
.sample-spread:after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(16,38,59,.2); box-shadow: 0 0 12px rgba(16,38,59,.2); }
.sample-spread img { width: 100%; height: 100%; object-fit: cover; background: #fff8e9; }
.sample-spread img:first-child { border-radius: 9px 0 0 9px; }.sample-spread img:last-child { border-radius: 0 9px 9px 0; }
.sample-copy { min-width: 0; position: relative; z-index: 2; }
.sample-copy h2 { max-width: 620px; font-size: clamp(38px, 4.3vw, 58px); }
.sample-copy > p { max-width: 660px; margin: 22px 0; color: #c6cfd2; font-size: 17px; line-height: 1.7; }
.sample-copy ul { margin: 24px 0 31px; padding: 0; display: grid; gap: 12px; list-style: none; color: #e9ebea; font-size: 14px; }
.sample-copy li { display: flex; gap: 10px; align-items: center; }
.sample-copy li svg { color: #f3b74d; }
.sample-button { border-radius: 999px !important; background: #f3b74d !important; color: #10263b !important; font-weight: 800 !important; }

.how-section { padding-top: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 47px; }
.steps-grid article { min-height: 230px; padding: 28px; background: rgba(255,250,241,.62); border: 1px solid rgba(16,38,59,.11); border-radius: 24px; }
.steps-grid article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #10263b; background: #f3b74d; font-family: Georgia, serif; font-weight: 700; }
.steps-grid h3 { margin: 34px 0 10px; font-family: Georgia, serif; font-size: 21px; }
.steps-grid p { margin: 0; color: #66716d; font-size: 14px; line-height: 1.6; }

.final-cta { max-width: 1184px; margin: 0 auto 82px; padding: 54px 62px; display: flex; align-items: center; justify-content: space-between; gap: 38px; color: #fff9ed; background: #c86f3e; border-radius: 32px; }
.final-cta h2 { max-width: 670px; font-size: clamp(35px, 4vw, 52px); }
.final-cta p { margin: 15px 0 0; color: #f6ded1; font-size: 14px; }
.price-box { min-width: 210px; display: grid; gap: 8px; text-align: right; }
.price-box > span { color: #f6ded1; font-size: 12px; }
.price-box strong { font-family: Georgia, serif; font-size: 38px; }
.price-box a { margin-top: 8px; border-radius: 999px !important; background: #fff8e9 !important; color: #10263b !important; font-weight: 800 !important; }

footer { max-width: 1184px; margin: 0 auto; padding: 32px 0 44px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 28px; border-top: 1px solid rgba(16,38,59,.13); color: #68736f; font-size: 13px; }
.footer-brand { color: #10263b; }
footer p { margin: 0; }
footer > div { display: flex; gap: 22px; }

.builder-page { min-height: 100vh; background: #eee5d7; }
.builder-header { height: 78px; padding: 0 max(24px, calc((100vw - 1220px)/2)); display: flex; align-items: center; justify-content: space-between; background: #fffaf1; border-bottom: 1px solid rgba(16,38,59,.11); }
.secure-note { display: flex; align-items: center; gap: 7px; color: #65716e; font-size: 12px; font-weight: 700; }
.builder-layout { max-width: 1220px; margin: 0 auto; padding: 42px 24px 72px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: start; }
.builder-aside { padding: 30px 24px; position: sticky; top: 24px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 54px; color: #66726e; font-size: 13px; font-weight: 700; }
.builder-aside h1 { margin: 0; font-family: Georgia, serif; font-size: 39px; line-height: 1.05; letter-spacing: -.035em; }
.builder-aside > p { margin: 17px 0 0; color: #65716e; font-size: 14px; line-height: 1.65; }
.builder-progress { margin-top: 35px; }
.builder-progress > div { margin-bottom: 10px; display: flex; justify-content: space-between; color: #68736f; font-size: 11px; }
.builder-progress strong { color: #10263b; }
.builder-progress [data-slot="progress"] { height: 7px; background: rgba(16,38,59,.1); }
.builder-progress [data-slot="progress-indicator"] { background: #d88735; }
.aside-promise { margin-top: 28px; padding: 16px; display: flex; gap: 11px; color: #10263b; background: #e5d8c3; border-radius: 17px; }
.aside-promise > svg { flex: 0 0 auto; margin-top: 2px; color: #c86f3e; }
.aside-promise strong, .aside-promise span { display: block; }
.aside-promise strong { font-family: Georgia, serif; font-size: 14px; }
.aside-promise span { margin-top: 5px; color: #69726e; font-size: 11px; line-height: 1.45; }

.builder-card { min-height: 650px; padding: 44px 50px 30px; background: #fffaf1; border: 1px solid rgba(16,38,59,.11); border-radius: 30px; box-shadow: 0 22px 70px rgba(63,58,48,.08); }
.step-content { max-width: 770px; margin: 0 auto; }
.step-title { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; margin-bottom: 34px; }
.step-title > span { width: 42px; height: 42px; display: grid; place-items: center; color: #10263b; background: #f3b74d; border-radius: 50%; font-size: 11px; font-weight: 800; }
.step-title h2 { margin: 0; font-family: Georgia, serif; font-size: 34px; line-height: 1.08; letter-spacing: -.025em; }
.step-title p { max-width: 610px; margin: 9px 0 0; color: #69736f; font-size: 14px; line-height: 1.55; }
.example-profile { display: flex; gap: 13px; align-items: center; padding: 18px; background: #e1e8d6; border-radius: 18px 18px 0 0; }
.example-avatar { width: 46px; height: 46px; display: grid; place-items: center; color: #fffaf1; background: #c86f3e; border-radius: 50%; font-family: Georgia, serif; font-size: 20px; font-weight: 700; }
.example-profile strong, .example-profile span { display: block; }
.example-profile strong { font-family: Georgia, serif; font-size: 17px; }
.example-profile span { margin-top: 4px; color: #65716e; font-size: 11px; }
.example-list { margin: 0; padding: 4px 20px; background: #f5eddf; border-radius: 0 0 18px 18px; }
.example-list > div { padding: 13px 0; display: grid; grid-template-columns: 145px 1fr; gap: 18px; border-bottom: 1px solid rgba(16,38,59,.09); }
.example-list > div:last-child { border: 0; }
.example-list dt { color: #7a7f77; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.example-list dd { margin: 0; color: #283d4d; font-size: 13px; line-height: 1.45; }
.example-result, .retention-note, .demo-payment { margin-top: 20px; padding: 17px 18px; display: flex; gap: 13px; align-items: flex-start; color: #10263b; background: #dce8ea; border: 1px solid rgba(16,38,59,.08); border-radius: 17px; }
.example-result > svg, .retention-note > svg, .demo-payment > svg { flex: 0 0 auto; margin-top: 2px; color: #d88735; }
.example-result p, .retention-note p { margin: 0; }
.example-result strong, .example-result span, .retention-note strong, .retention-note span, .demo-payment strong, .demo-payment span { display: block; }
.example-result strong, .retention-note strong, .demo-payment strong { font-family: Georgia, serif; font-size: 14px; }
.example-result span, .retention-note span, .demo-payment span { margin-top: 5px; color: #5d6b6b; font-size: 12px; line-height: 1.5; }
.story-choice-list { display: grid !important; gap: 10px !important; }
.choice-card { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; cursor: pointer; background: #f8f1e5; border: 1px solid rgba(16,38,59,.12); border-radius: 16px; transition: .2s ease; }
.choice-card:hover, .choice-card.selected { border-color: #d88735; background: #f5e6c7; box-shadow: 0 7px 23px rgba(216,135,53,.09); }
.choice-card span strong, .choice-card span small { display: block; }
.choice-card span strong { font-family: Georgia, serif; font-size: 15px; }
.choice-card span small { margin-top: 4px; color: #69736f; font-size: 11px; }
.choice-card em { color: #7a7e76; font-style: normal; font-size: 11px; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; }
.field-wrap { margin-bottom: 23px; }
.field-wrap > label { display: block; margin-bottom: 7px; color: #22394a; font-size: 13px; font-weight: 800; }
.field-wrap > small { display: block; margin: -3px 0 9px; color: #7b817a; font-size: 11px; }
.field-wrap input, .field-wrap textarea { border-color: rgba(16,38,59,.15); background: #fbf6ed; box-shadow: none; }
.field-wrap input { height: 48px; border-radius: 13px; }
.field-wrap textarea { min-height: 92px; border-radius: 13px; resize: vertical; }
.inline-choices { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.inline-choices label { min-height: 43px; padding: 10px 13px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #52605e; background: #f8f1e5; border: 1px solid rgba(16,38,59,.12); border-radius: 12px; font-size: 12px; font-weight: 700; }
.inline-choices label.selected { color: #10263b; background: #f5e6c7; border-color: #d88735; }
.privacy-choice { padding: 15px; display: flex; align-items: flex-start; gap: 11px; background: #f0e8da; border-radius: 14px; }
.privacy-choice label { color: #566460; font-size: 11px; line-height: 1.5; cursor: pointer; }
.order-summary { margin-top: 23px; padding: 6px 19px; background: #10263b; color: #fff9ed; border-radius: 18px; }
.order-summary > div { padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.order-summary > div:last-child { border: 0; }
.order-summary span { color: #aeb9bd; }
.order-summary strong { text-align: right; }
.summary-price { color: #f3b74d; font-size: 17px; }
.retention-note { background: #e1e8d6; }
.form-error { max-width: 770px; margin: 18px auto 0; padding: 12px 15px; color: #8f322d; background: #f6dfda; border-radius: 12px; font-size: 12px; font-weight: 700; }
.builder-actions { max-width: 770px; margin: 32px auto 0; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(16,38,59,.11); }
.builder-next { min-width: 190px; border-radius: 999px !important; background: #f3b74d !important; color: #10263b !important; font-weight: 800 !important; }
.demo-payment { margin: 7px 0 0; background: #e1e8d6; }

.story-detail { min-height: 100vh; color: #10263b; background: #f7f0e4; overflow: hidden; }
.story-detail-header { max-width: 1220px; height: 82px; margin: 0 auto; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; }
.story-detail-hero { min-height: 680px; padding: 70px max(28px, calc((100vw - 1180px)/2)) 92px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 66px; align-items: center; position: relative; color: #fff9ed; background: radial-gradient(circle at 70% 32%, rgba(110,145,165,.35), transparent 26%), linear-gradient(145deg, #0b2135, #12314a); border-radius: 0 0 58px 58px; }
.story-detail-hero:before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(circle at 12% 22%, #f3b74d 0 1px, transparent 2px), radial-gradient(circle at 33% 76%, #fff2c8 0 1px, transparent 2px), radial-gradient(circle at 78% 13%, #f3b74d 0 1.4px, transparent 2px), radial-gradient(circle at 92% 62%, #fff2c8 0 1px, transparent 2px); background-size: 260px 240px, 330px 280px, 300px 270px, 250px 230px; pointer-events: none; }
.story-detail-copy { position: relative; z-index: 2; }
.story-detail-copy .back-link { margin-bottom: 70px; color: #bdc8cc; }
.story-detail-copy h1 { margin: 13px 0 22px; font-family: Georgia, serif; font-size: clamp(46px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; }
.story-detail-copy > p { margin: 0; color: #c7d0d2; font-size: 17px; line-height: 1.68; }
.detail-facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.detail-facts span { padding: 12px 16px; display: inline-flex; align-items: center; gap: 8px; color: #f4f1e9; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 15px; font-weight: 750; line-height: 1.25; }
.detail-facts svg { color: #f3b74d; }
.teaser-book { min-height: 410px; display: grid; grid-template-columns: 1.14fr .86fr; position: relative; z-index: 2; transform: rotate(1.5deg); filter: drop-shadow(0 40px 55px rgba(0,0,0,.38)); }
.teaser-book:after { content: ""; position: absolute; left: 56%; top: 0; bottom: 0; width: 2px; background: rgba(12,29,42,.22); box-shadow: 0 0 18px rgba(12,29,42,.3); }
.teaser-page { min-height: 410px; overflow: hidden; }
.teaser-page-image { border-radius: 18px 0 0 18px; background: #d9e4e3; }
.teaser-page-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.teaser-page-copy { padding: 50px 38px; display: flex; flex-direction: column; justify-content: center; color: #10263b; background: #fff7e7; border-radius: 0 18px 18px 0; }
.teaser-page-copy > span { color: #c86f3e; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.teaser-page-copy h2 { margin: 15px 0 18px; font-family: Georgia, serif; font-size: 27px; line-height: 1.08; }
.teaser-page-copy p { margin: 0; color: #425461; font-family: Georgia, serif; font-size: 14px; line-height: 1.7; }
.page-stars { margin-top: 27px; color: #d88735; text-align: center; }
.detail-content { max-width: 1180px; margin: 0 auto; padding: 105px 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.detail-content h2, .detail-personalization h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(37px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.detail-content ul { margin: 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.detail-content li { min-height: 72px; padding: 19px 21px; display: flex; align-items: center; gap: 14px; color: #294555; background: rgba(255,250,241,.84); border: 1px solid rgba(16,38,59,.11); border-radius: 18px; font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; box-shadow: 0 8px 24px rgba(42,50,49,.035); }
.detail-content li svg { width: 21px; height: 21px; flex: 0 0 21px; color: #d88735; stroke-width: 2.4; }
.detail-personalization { max-width: 1180px; margin: 0 auto 80px; padding: 64px 70px; display: grid; grid-template-columns: .55fr 1.45fr; gap: 65px; align-items: center; color: #fff9ed; background: #c86f3e; border-radius: 36px; }
.personalization-visual { width: 270px; position: relative; overflow: hidden; border: 7px solid rgba(255,248,233,.88); border-radius: 22px; transform: rotate(-3deg); box-shadow: 0 24px 48px rgba(95,38,15,.25); }
.personalization-visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9,30,44,.7)); pointer-events: none; }
.personalization-visual img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.personalization-visual span { position: absolute; z-index: 2; left: 15px; right: 15px; bottom: 13px; color: #fffaf0; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.detail-personalization p { margin: 20px 0 27px; color: #f7ded0; font-size: 15px; line-height: 1.65; }

.admin-shell { min-height: 100vh; color: #173044; background: #ebe5db; }
.admin-header { height: 76px; padding: 0 max(28px, calc((100vw - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; background: #fffaf1; border-bottom: 1px solid rgba(16,38,59,.11); }
.admin-account { display: flex; align-items: center; gap: 16px; color: #66736e; font-size: 12px; }
.admin-account a { color: #b96335; font-weight: 800; }
.admin-layout { max-width: 1320px; margin: 0 auto; padding: 38px 28px 70px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-sidebar { padding: 28px; position: sticky; top: 24px; background: #143047; color: #fff9ed; border-radius: 24px; box-shadow: 0 22px 60px rgba(18,40,54,.14); }
.admin-kicker { color: #f3b74d; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.admin-sidebar h1 { margin: 12px 0; font-family: Georgia, serif; font-size: 34px; line-height: 1.05; }
.admin-sidebar > p { margin: 0; color: #c6d0d2; font-size: 13px; line-height: 1.6; }
.admin-status { margin: 25px 0 22px; padding: 13px; display: flex; align-items: center; gap: 9px; color: #dce4e4; background: rgba(255,255,255,.06); border-radius: 13px; font-size: 11px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8bc39a; box-shadow: 0 0 0 5px rgba(139,195,154,.12); }
.admin-sidebar a { width: 100%; color: #fff9ed; border-color: rgba(255,255,255,.2); }
.admin-workspace { min-width: 0; }
.admin-tabs { width: 100%; height: 48px !important; padding: 5px !important; justify-content: flex-start !important; background: rgba(255,250,241,.72) !important; border: 1px solid rgba(16,38,59,.1); border-radius: 15px !important; }
.admin-tabs button { min-width: 130px; height: 37px !important; }
.admin-panel { margin-top: 16px; padding: 32px; background: #fffaf1; border: 1px solid rgba(16,38,59,.1); border-radius: 24px; box-shadow: 0 18px 55px rgba(50,54,51,.06); }
.admin-panel-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
.admin-panel-title > span { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: #a9562f; background: #f5dfb3; border-radius: 13px; }
.admin-panel-title svg { width: 20px; }
.admin-panel-title h2 { margin: 0; font-family: Georgia, serif; font-size: 29px; }
.admin-panel-title p { margin: 6px 0 0; color: #6a7672; font-size: 13px; line-height: 1.5; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-field { display: grid; gap: 8px; }
.admin-field.wide { grid-column: 1 / -1; }
.admin-field label { color: #334d5a; font-size: 12px; font-weight: 800; }
.admin-field input, .admin-field textarea, .admin-select { background: #fffdf8; border-color: rgba(16,38,59,.15); }
.admin-select, .admin-field [data-slot="native-select-wrapper"] { width: 100% !important; min-width: 100% !important; }
.admin-subtitle { margin: 32px 0 15px; font-family: Georgia, serif; font-size: 20px; }
.benefit-editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.benefit-editor { padding: 16px; display: grid; gap: 10px; background: #f5eee3; border: 1px solid rgba(16,38,59,.09); border-radius: 17px; }
.benefit-editor > span { color: #c56c3b; font-size: 11px; font-weight: 900; }
.admin-savebar { margin-top: 30px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(16,38,59,.1); color: #697470; font-size: 12px; }
.admin-savebar button { border-radius: 999px; color: #10263b; background: #f3b74d; font-weight: 800; }
.story-admin-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.story-admin-nav { display: grid; gap: 8px; }
.story-admin-nav button { width: 100%; padding: 8px; display: grid; grid-template-columns: 56px 1fr; gap: 11px; align-items: center; color: #314956; background: #f4ede2; border: 1px solid transparent; border-radius: 13px; text-align: left; cursor: pointer; }
.story-admin-nav button.active { background: #fff8ea; border-color: #d88735; box-shadow: 0 8px 24px rgba(60,47,35,.07); }
.story-admin-nav img { width: 56px; height: 48px; object-fit: cover; border-radius: 9px; }
.story-admin-nav span { font-family: Georgia, serif; font-size: 13px; font-weight: 700; line-height: 1.18; }
.story-admin-nav small { margin-top: 5px; display: block; color: #7b8580; font-family: Arial, sans-serif; font-size: 10px; font-weight: 600; }
.story-admin-form { display: grid; gap: 17px; }
.color-control { display: grid; grid-template-columns: 54px 1fr; gap: 9px; }
.color-control input[type="color"] { height: 36px; padding: 4px; }
.font-preview { margin-top: 28px; padding: 34px; background: #132f46; color: #fff9ed; border-radius: 22px; }
.font-preview > span { color: var(--preview-accent); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.font-preview h3 { margin: 11px 0 8px; font-size: 34px; }
.font-preview p { color: #ccd5d7; }
.font-preview button { margin-top: 10px; padding: 11px 18px; color: #10263b; background: var(--preview-accent); border: 0; border-radius: 999px; font-weight: 800; }
.integration-grid { display: grid; gap: 12px; }
.integration-card { padding: 20px; display: flex; align-items: flex-start; gap: 15px; background: #f5eee3; border: 1px solid rgba(16,38,59,.09); border-radius: 17px; }
.integration-card > span { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; color: #b45d33; background: #f5dcaa; border-radius: 12px; }
.integration-card > div { width: 100%; }
.integration-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.integration-heading h3 { margin: 0; font-family: Georgia, serif; font-size: 18px; }
.integration-heading em { padding: 5px 8px; color: #916743; background: #eadbc5; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.integration-card p { margin: 7px 0 0; color: #68746f; font-size: 12px; }
.integration-note { margin-top: 20px; padding: 18px; display: flex; gap: 12px; background: #e4eadb; border-radius: 16px; }
.integration-note svg { flex: 0 0 auto; color: #5d8e66; }
.integration-note strong { font-size: 13px; }.integration-note p { margin: 5px 0 0; color: #617066; font-size: 12px; line-height: 1.5; }
.admin-denied { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; background: #f7f0e4; }
.admin-denied h1 { margin-bottom: 0; font-family: Georgia, serif; }.admin-denied p { color: #69746f; }.admin-denied a { color: #b96335; font-weight: 800; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero-section { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .book-stage { min-height: 500px; }
  .promise-strip { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card:nth-child(n) { grid-column: span 1; }
  .story-card:last-child { grid-column: 1 / -1; }
  .sample-section { margin-left: 20px; margin-right: 20px; padding: 52px 42px; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); gap: 38px; }
  .steps-grid { grid-template-columns: 1fr; }
  .final-cta { margin-left: 20px; margin-right: 20px; padding: 44px; }
  footer { margin-left: 28px; margin-right: 28px; grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer > div { justify-content: center; }
  .builder-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .builder-aside { padding: 15px 8px; position: static; }
  .builder-aside .back-link { margin-bottom: 28px; }
  .builder-aside h1 { font-size: 34px; }
  .aside-promise { display: none; }
  .story-detail-hero { grid-template-columns: 1fr; }
  .story-detail-copy { text-align: center; }
  .story-detail-copy .back-link { margin-bottom: 35px; }
  .detail-facts { justify-content: center; }
  .teaser-book { max-width: 760px; width: 100%; margin: 0 auto; }
  .detail-content { grid-template-columns: 1fr; gap: 38px; }
  .detail-personalization { margin-left: 20px; margin-right: 20px; grid-template-columns: .55fr 1.45fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .benefit-editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { height: 72px; padding: 0 18px; }
  .brand { font-size: 17px; }.brand-mark { width: 31px; height: 31px; }
  .nav-cta { height: 38px !important; padding-inline: 14px !important; font-size: 12px !important; }
  .hero-section { padding: 42px 18px 56px; border-radius: 0 0 30px 30px; }
  .hero-copy h1 { margin-top: 21px; font-size: 45px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .trust-row { gap: 10px 14px; }
  .book-stage { min-height: 450px; }
  .book-card { width: 260px; }
  .promise-strip { padding-left: 20px; padding-right: 20px; }
  .section-wrap { padding: 78px 20px; }
  .section-heading h2 { font-size: 38px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card:nth-child(n) { grid-column: span 1; min-height: 250px; }
  .sample-section { min-height: auto; padding: 48px 24px; grid-template-columns: 1fr; text-align: center; border-radius: 26px; }
  .sample-book { max-width: 230px; margin: 0 auto; }
  .sample-copy h2 { font-size: 37px; }
  .sample-copy ul { text-align: left; }
  .final-cta { padding: 39px 24px; display: grid; text-align: center; }
  .price-box { text-align: center; }
  footer > div { flex-wrap: wrap; }
  .builder-header { height: 70px; padding: 0 17px; }
  .secure-note { font-size: 0; }
  .builder-layout { padding: 13px 12px 45px; }
  .builder-aside { padding: 13px 6px; }
  .builder-aside h1 { font-size: 31px; }
  .builder-card { min-height: 560px; padding: 26px 17px 21px; border-radius: 22px; }
  .step-title { grid-template-columns: 35px 1fr; gap: 11px; margin-bottom: 26px; }
  .step-title > span { width: 35px; height: 35px; }
  .step-title h2 { font-size: 27px; }
  .example-list > div { grid-template-columns: 1fr; gap: 5px; }
  .choice-card { grid-template-columns: auto 1fr; }
  .choice-card em { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .builder-actions { gap: 9px; }
  .builder-actions button { padding-inline: 12px; }
  .builder-next { min-width: 0; flex: 1; }
  .order-summary > div { display: grid; gap: 4px; }
  .order-summary strong { text-align: left; }
  .story-detail-header { height: 72px; padding: 0 18px; }
  .story-detail-hero { padding: 46px 18px 58px; gap: 45px; border-radius: 0 0 30px 30px; }
  .story-detail-copy h1 { font-size: 43px; }
  .story-detail-copy > p { font-size: 15px; }
  .teaser-book { min-height: 0; grid-template-columns: 1fr; transform: none; }
  .teaser-book:after { display: none; }
  .teaser-page { min-height: 280px; }
  .teaser-page-image { border-radius: 15px 15px 0 0; }
  .teaser-page-copy { min-height: 300px; padding: 36px 28px; border-radius: 0 0 15px 15px; }
  .detail-content { padding: 74px 20px; }
  .detail-content h2, .detail-personalization h2 { font-size: 36px; }
  .detail-personalization { padding: 48px 24px; grid-template-columns: 1fr; text-align: center; }
  .personalization-visual { width: min(280px, 100%); margin: 0 auto; }
  .sample-collage { min-height: 410px; }
  .sample-cover { width: 205px; left: 8px; }
  .sample-spread { width: 285px; height: 192px; left: 20px; bottom: 8px; }
  .admin-header { padding: 0 18px; }
  .admin-account span { display: none; }
  .admin-layout { padding: 18px 12px 45px; }
  .admin-panel { padding: 22px 16px; }
  .admin-tabs { height: auto !important; display: grid !important; grid-template-columns: 1fr 1fr; }
  .admin-tabs button { min-width: 0; }
  .admin-form-grid, .story-admin-layout { grid-template-columns: 1fr; }
  .story-admin-nav { grid-template-columns: 1fr 1fr; }
  .admin-savebar { align-items: stretch; flex-direction: column; }
}
