/* Photoalbumz — marketing / setup pages */
:root {
  --bg: #fbf8f3;
  --bg-alt: #f3ede4;
  --ink: #1f1b16;
  --muted: #72685e;
  --line: #e6ddd1;
  --accent: #c2573a;
  --gold: #b08d57;
  --teal: #2e6f64;
  --card: #ffffff;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 'Inter', system-ui, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.12; margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
[hidden] { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(194,87,58,.7); }
.btn.accent:hover { background: #ad4a2f; }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251,248,243,.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(230,221,209,.7); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Playfair Display', serif; font-size: 22px; }
.brand b { color: var(--accent); }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }

/* hero */
.hero { padding: 64px 0 80px; overflow: hidden; background: radial-gradient(1200px 500px at 80% 20%, #f6e3d4 0%, rgba(246,227,212,0) 60%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -.01em; }
.hero h1 em { color: var(--accent); font-style: italic; }
.lead { font-size: 18px; color: #4a4239; margin: 22px 0 28px; max-width: 540px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.ticks li::before { content: '✓'; color: var(--teal); font-weight: 700; margin-right: 6px; }

.hero-art { position: relative; height: 440px; perspective: 1400px; }
.book { position: absolute; inset: 30px 0 30px 0; display: flex; transform: rotateX(14deg) rotateZ(-4deg); transform-style: preserve-3d; filter: drop-shadow(0 34px 34px rgba(60,40,20,.28)); }
.book-page { flex: 1; background: #fffdf9; position: relative; padding: 18px; display: grid; gap: 10px; }
.book-page.left { border-radius: 6px 0 0 6px; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; }
.book-page.right { border-radius: 0 6px 6px 0; grid-template-rows: 1fr auto auto; justify-items: center; }
.book-page .ph { border-radius: 2px; }
.ph.a { grid-row: 1 / 3; background: linear-gradient(180deg, #f6c79b 0%, #e98f6b 45%, #6b4c6e 46%, #3b3353 100%); }
.ph.b { background: linear-gradient(160deg, #cfe3d4, #6f9f8e 60%, #3d6b5f); }
.ph.c { background: linear-gradient(200deg, #fbe3c7, #d9a079 55%, #8a5a44); }
.ph.d { width: 100%; background: radial-gradient(circle at 70% 30%, #fff3d6 0 8%, transparent 9%), linear-gradient(180deg, #a9c7e8 0%, #dbe8f3 55%, #7aa47b 56%, #4f7a55 100%); }
.book-page .script { font-family: 'Great Vibes', cursive; font-size: 34px; color: #5a3e2b; margin-top: 4px; }
.book-page .line { width: 50%; height: 2px; background: var(--gold); opacity: .6; }
.book-spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 36px; margin-left: -18px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.14) 50%, transparent); pointer-events: none; }
.float-card { position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 16px 34px -12px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px; animation: bob 6s ease-in-out infinite; }
.fc1 { top: 0; right: 4%; }
.fc2 { bottom: 0; left: 2%; animation-delay: -3s; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2f9e62; box-shadow: 0 0 0 4px rgba(47,158,98,.18); }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head .muted { margin-top: 12px; }

.occ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.occ { position: relative; border-radius: var(--radius); padding: 18px; min-height: 150px; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.occ:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -16px rgba(0,0,0,.35); }
.occ .t { font-size: 30px; line-height: 1; margin-bottom: auto; }
.occ .n { font-weight: 700; font-size: 16px; }
.occ .s { font-size: 12.5px; opacity: .75; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 36px; margin-top: 52px; }
.feat h4 { margin: 0 0 6px; font-size: 16px; }
.feat h4::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); margin-right: 10px; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* configurator */
.config { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.config-main { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px 28px 26px; }
fieldset { border: 0; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); }
fieldset:last-child { border-bottom: 0; }
fieldset.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; }
legend { font-weight: 700; font-size: 14px; margin-bottom: 12px; padding: 0; float: left; width: 100%; }
legend + * { clear: both; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row label, .cover-row label, .orient-row label, .size-row label, .mode-row label { cursor: pointer; }
.pill-row input, .cover-row input, .orient-row input, .size-row input, .mode-row input { position: absolute; opacity: 0; pointer-events: none; }
.pill-row span { display: inline-block; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .15s; }
.pill-row input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-row input:focus-visible + span, .cover-row input:focus-visible + span, .orient-row input:focus-visible + span, .size-row input:focus-visible + span, .mode-row input:focus-visible + span { outline: 3px solid #f0b8a6; outline-offset: 2px; }
.cover-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cover-row span { display: block; height: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 12.5px; color: var(--muted); }
.cover-row span b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }
.cover-row input:checked + span { border-color: var(--accent); background: #fbefe9; box-shadow: inset 0 0 0 1px var(--accent); }
.orient-row { display: flex; gap: 10px; }
.orient-row span { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14px; }
.orient-row i { display: inline-block; border: 2px solid currentColor; border-radius: 3px; }
.o-land { width: 26px; height: 18px; } .o-sq { width: 20px; height: 20px; } .o-port { width: 17px; height: 24px; }
.orient-row input:checked + span { border-color: var(--accent); color: var(--accent); background: #fbefe9; }
.size-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.size-row span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; min-width: 84px; }
.size-row .shape { background: #efe6d8; border: 1px solid #d8cbb8; border-radius: 2px; }
.size-row b { font-size: 14px; }
.size-row small { font-size: 11px; color: var(--muted); }
.size-row input:checked + span { border-color: var(--accent); background: #fbefe9; }
.size-row input:checked + span .shape { background: var(--accent); border-color: var(--accent); }
.pages-ctl { display: flex; align-items: center; gap: 8px; }
.pages-ctl input { width: 80px; height: 42px; text-align: center; font: 700 18px 'Inter', sans-serif; border: 1.5px solid var(--line); border-radius: 10px; }
.round { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.round:hover { border-color: var(--ink); }
.mode-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-row span { display: block; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 12.5px; color: var(--muted); height: 100%; }
.mode-row b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.mode-row input:checked + span { border-color: var(--accent); background: #fbefe9; box-shadow: inset 0 0 0 1px var(--accent); }

.summary { position: sticky; top: 88px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.sum-visual { height: 170px; display: grid; place-items: center; background: var(--bg-alt); border-radius: 14px; margin-bottom: 16px; }
.sum-book { background: var(--accent); color: #fff; display: grid; place-items: center; border-radius: 3px 6px 6px 3px; box-shadow: 6px 8px 0 -2px #e9dccb, 0 14px 24px -10px rgba(0,0,0,.4); transition: all .3s; padding: 8px; text-align: center; font-family: 'Great Vibes', cursive; font-size: 22px; line-height: 1.05; position: relative; overflow: hidden; }
.sum-book::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: rgba(0,0,0,.15); }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.name-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.name-field input { height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font: 500 15px 'Inter', sans-serif; color: var(--ink); }
.name-field input:focus, .pages-ctl input:focus { outline: 3px solid #f0b8a6; border-color: var(--accent); }

/* albums */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.album { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.album .cov { aspect-ratio: 4 / 3; background: var(--bg-alt) center / cover no-repeat; display: grid; place-items: center; font-family: 'Playfair Display', serif; color: var(--muted); font-size: 14px; }
.album .meta { padding: 14px 16px; flex: 1; }
.album h3 { font-size: 18px; margin-bottom: 4px; }
.album p { margin: 0; font-size: 13px; color: var(--muted); }
.album .acts { display: flex; gap: 8px; padding: 0 16px 16px; }
.album .acts .btn { height: 36px; font-size: 14px; flex: 1; padding: 0 12px; }
.album .acts .del { flex: none; background: transparent; border-color: var(--line); color: #a33; }

/* sizes */
.size-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.size-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.size-group h3 { font-size: 22px; margin-bottom: 18px; text-transform: capitalize; }
.size-bars { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; min-height: 120px; }
.size-bars div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.size-bars i { display: block; background: linear-gradient(135deg, #e8d9c4, #d7c2a4); border-radius: 2px; box-shadow: 2px 3px 0 #cdb99a; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-inner p { margin: 0; }
.foot-inner .small { margin-left: auto; }

@media (max-width: 980px) {
  .hero-inner, .config { grid-template-columns: 1fr; }
  .hero-art { height: 340px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features, .size-showcase { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
  .cover-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding-top: 36px; }
  .steps, .features, .size-showcase { grid-template-columns: 1fr; }
  fieldset.two { grid-template-columns: 1fr; }
  .config-main { padding: 6px 16px 18px; }
  .mode-row { grid-template-columns: 1fr; }
  .orient-row { flex-wrap: wrap; }
  .hero-art { height: 260px; }
  .book-page .script { font-size: 22px; }
  .float-card { font-size: 11px; }
  .section { padding: 60px 0; }
}
.nav .btn { white-space: nowrap; }
@media (max-width: 640px) { .nav .btn { height: 38px; padding: 0 14px; font-size: 14px; } .brand { font-size: 19px; } }

/* ---------- policy pages & pricing (V1.1) ---------- */
.legal-body { padding: 48px 0 72px; }
.legal-body h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 6px; }
.legal-body h2 { font-size: 22px; margin: 32px 0 8px; }
.legal-body p, .legal-body li { color: #3f3830; }
.legal-body li { margin-bottom: 6px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 22px; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.foot a { color: inherit; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.price.featured { border: 2px solid #c9a227; box-shadow: 0 20px 40px -24px rgba(160,120,24,.6); background: linear-gradient(180deg, #fffaf0, #fff); }
.price h3 { font-size: 24px; }
.price .amt { font-size: 34px; font-weight: 700; font-family: 'Inter', sans-serif; }
.price .amt small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; color: #4a4239; }
.price li { margin-bottom: 6px; }
.price li::before { content: '✓'; color: var(--teal); font-weight: 700; margin-right: 8px; }
.price .alt { font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 8px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } .contact-card { grid-template-columns: 1fr; } }
