:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --paper-deep: #f2eadc;
  --ink: #241a28;
  --muted: #716775;
  --line: #e5dcd0;
  --plum: #54285e;
  --plum-dark: #351a3c;
  --lilac: #e9d9f2;
  --coral: #e97761;
  --coral-soft: #fce3da;
  --white: #fffdfa;
  --shadow: 0 22px 60px rgba(58, 35, 55, .10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1240px;
  font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; }
body, button, input { font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, video { max-width: 100%; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 99; top: 8px; left: 8px; padding: 10px 16px; border-radius: 10px; background: var(--plum-dark); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.content-wrap { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-block: 100px; }
.eyebrow, .section-kicker { color: var(--plum); font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 5vw, 70px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.2; }
.headline-accent { color: var(--plum); }
.lead { color: #514856; font-size: 19px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--plum); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--coral); }
.text-button { border: 0; padding: 2px 0; background: none; color: var(--plum); cursor: pointer; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 14px; padding: 0 21px; font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #f2a18e; outline-offset: 3px; }
.button-primary { background: var(--coral); color: #2b1822; box-shadow: 0 8px 18px rgba(233, 119, 97, .18); }
.button-primary:hover { background: #f28b73; }
.button-dark { background: var(--plum-dark); color: white; }
.button-dark:hover { background: var(--plum); }
.button-outline { border-color: #c9b8cb; background: transparent; color: var(--plum-dark); }
.button-outline:hover { background: #f6edf7; }
.button-light { background: var(--white); color: var(--plum-dark); }
.button-small { min-height: 42px; border-radius: 12px; padding-inline: 16px; font-size: 13px; }
.button-full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .58; }

/* Shared navigation: desktop structure is replaced by a touch-first menu on phones. */
.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid rgba(229, 220, 208, .82); background: rgba(251, 247, 239, .94); backdrop-filter: blur(18px); }
.header-inner { display: flex; width: min(1392px, calc(100% - 64px)); height: 78px; align-items: center; gap: 26px; margin-inline: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--ink); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 27px); margin-inline: auto; }
.desktop-nav a, .header-sign-in { color: #544a57; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .header-sign-in:hover { color: var(--plum); }
.header-actions { display: flex; align-items: center; gap: 17px; }
.menu-toggle, .mobile-menu { display: none; }

/* Phone-first home experience. The mobile workbench has its own content order and composition. */
.home-hero { overflow: hidden; padding: 25px 16px 0; background: radial-gradient(ellipse at 88% 8%, rgba(222, 192, 231, .42), transparent 32%), var(--paper); }
.desktop-workbench { display: none; }
.mobile-workbench { width: min(560px, 100%); margin-inline: auto; }
.mobile-hero-copy { padding: 16px 5px 14px; }
.mobile-hero-copy .eyebrow { margin-bottom: 15px; }
.mobile-hero-copy h1 { max-width: 450px; margin-bottom: 13px; font-size: clamp(42px, 11vw, 58px); }
.mobile-hero-copy p:not(.eyebrow) { max-width: 420px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
.mobile-video-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; background: #261a2a; box-shadow: var(--shadow); }
.mobile-video-card .hero-video { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #211923; }
.mobile-video-card .hero-video[hidden] { display: none; }
.mobile-video-poster { position: relative; display: block; width: 100%; aspect-ratio: 1.45; overflow: hidden; padding: 0; border: 0; background: #211923; cursor: pointer; }
.mobile-video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mobile-video-play-icon { position: absolute; top: 50%; left: 50%; display: grid; width: 56px; height: 56px; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0, 13, 18, .78); color: white; }
.mobile-video-play-icon svg { width: 22px; height: 22px; fill: currentColor; }
.sample-badge, .video-label { position: absolute; z-index: 2; top: 12px; left: 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 10px; background: rgba(35, 24, 39, .72); color: white; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.mobile-scene-switcher { display: flex; gap: 7px; overflow-x: auto; padding: 11px; scrollbar-width: none; }
.mobile-scene-switcher::-webkit-scrollbar { display: none; }
.scene-choice { flex: 0 0 auto; border: 1px solid #d9cbd8; border-radius: 999px; padding: 9px 12px; background: var(--white); color: #625766; cursor: pointer; font-size: 11px; font-weight: 600; }
.scene-choice.is-active { border-color: var(--plum); background: var(--plum); color: white; }
.mobile-generator-card { margin-top: 21px; border: 1px solid var(--line); border-radius: 26px; padding: 21px 17px 19px; background: var(--white); box-shadow: 0 16px 42px rgba(58, 35, 55, .07); }
.mobile-step-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-pill, .duration-pill { border-radius: 999px; padding: 6px 9px; background: #f1e8f3; color: var(--plum); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.duration-pill { background: #f6eee5; color: #766358; letter-spacing: .03em; text-transform: none; }
.mobile-generator-card h2 { margin: 14px 0 5px; font-size: 25px; }
.mobile-card-copy { margin-bottom: 17px; color: var(--muted); font-size: 12px; }
.mobile-photo-list { display: grid; gap: 13px; }
.photo-field { min-width: 0; }
.mobile-role-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; font-size: 12px; }
.mobile-role-label span { color: var(--muted); font-size: 11px; }
.photo-drop { position: relative; display: grid; min-height: 174px; place-items: center; overflow: hidden; border: 1px dashed #b7a6b9; border-radius: 16px; background: linear-gradient(135deg, #f8f1f7, #fbf8f1); cursor: pointer; }
.photo-drop:hover, .photo-drop.is-dragging { border-color: var(--coral); background: #fff4ef; }
.photo-drop input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop-prompt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; color: var(--muted); font-size: 11px; text-align: center; pointer-events: none; }
.drop-prompt::before { content: '+'; display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 5px; border: 1px solid #d7c7d8; border-radius: 50%; background: white; color: var(--plum); font-size: 23px; font-weight: 400; }
.drop-prompt strong { color: var(--plum-dark); font-size: 13px; }
.photo-drop.has-photo .drop-prompt { display: none; }
.file-meta { display: flex; min-height: 22px; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 10px; }
.file-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-error { min-height: 0; margin: 0; color: #ad382d; font-size: 11px; }
.field-error:not(:empty) { margin-top: 3px; }
.quality-fieldset { min-width: 0; margin: 17px 0 15px; border: 0; padding: 0; }
.quality-fieldset legend { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; color: var(--ink); font-size: 12px; font-weight: 700; }
.legend-note { color: var(--muted); font-size: 9px; font-weight: 500; }
.quality-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.quality-option { position: relative; display: flex; min-width: 0; min-height: 61px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 13px; background: #fffdfa; cursor: pointer; text-align: center; }
.quality-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.quality-option span { display: flex; flex-direction: column; gap: 2px; }
.quality-option strong { color: var(--plum-dark); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 14px; }
.quality-option small { color: var(--muted); font-size: 9px; }
.quality-option.is-selected { border-color: var(--plum); background: #f7eef9; box-shadow: inset 0 0 0 1px var(--plum); }
.mobile-generator-form > .button { margin-top: 2px; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 11px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.privacy-note svg { width: 15px; height: 15px; fill: none; stroke: var(--plum); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

/* Below-the-fold home sections */
.quick-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 10px; padding-block: 34px; }
.quick-facts > div { display: flex; min-height: 77px; flex-direction: column; justify-content: center; border-left: 2px solid var(--coral); padding-left: 14px; }
.fact-number { font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.06em; }
.fact-number span { color: var(--plum); font-size: 17px; }
.fact-label { color: var(--muted); font-size: 11px; }
.intro-section { padding-block: 70px; border-top: 1px solid var(--line); }
.section-kicker { margin-bottom: 13px; }
.section-grid { display: grid; gap: 18px; }
.section-grid h2 { margin-bottom: 0; }
.section-grid p { color: var(--muted); }
.section-grid .lead { color: #514856; }
.examples-section { padding-block: 68px; background: #f3ebdf; }
.section-heading-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 27px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { max-width: 380px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
.example-grid { display: grid; gap: 15px; }
.example-card { overflow: hidden; border: 1px solid #e2d7c8; border-radius: 19px; background: var(--white); }
.example-media { position: relative; background: #281c2c; }
.example-media video { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.example-copy { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 17px; }
.example-copy h3 { margin-bottom: 5px; font-size: 17px; }
.example-copy p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.card-index { color: var(--coral); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; font-weight: 800; }
.steps-section { padding-block: 70px; }
.step-grid { display: grid; gap: 12px; }
.step-card { min-height: 205px; border: 1px solid var(--line); border-radius: 19px; padding: 21px; background: var(--white); }
.step-index { display: inline-flex; width: 35px; height: 35px; align-items: center; justify-content: center; border-radius: 12px; background: var(--lilac); color: var(--plum); font-size: 11px; font-weight: 700; }
.step-card h3 { margin: 18px 0 8px; font-size: 18px; }
.step-card p { color: var(--muted); font-size: 13px; }
.step-foot { color: var(--plum); font-size: 10px; font-weight: 700; }
.step-card .text-link { margin-top: 4px; font-size: 12px; }
.spec-section { padding-block: 65px; background: var(--plum-dark); color: white; }
.spec-layout { display: grid; gap: 23px; }
.spec-section .section-kicker { color: #edb4a8; }
.spec-section h2 { margin-bottom: 12px; }
.spec-section .lead { margin-bottom: 0; color: #d8ced9; font-size: 15px; }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; border-top: 1px solid rgba(255,255,255,.19); padding: 13px 0; }
.spec-list dt { color: #edb4a8; font-size: 12px; font-weight: 700; }
.spec-list dd { margin: 0; color: #eee8ef; font-size: 12px; }
.pricing-preview { padding-block: 70px; }
.pack-grid { display: grid; gap: 13px; }
.pack-card { position: relative; border: 1px solid var(--line); border-radius: 21px; padding: 20px; background: var(--white); }
.pack-featured { border-color: var(--plum); background: #f8f0fa; box-shadow: 0 15px 45px rgba(84, 40, 94, .12); }
.pack-label { display: inline-block; margin-bottom: 13px; color: var(--plum); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.pack-card h2, .pack-card h3 { margin: 0 0 9px; font-size: 19px; }
.pack-credits { margin: 0 0 5px; color: var(--plum); font-size: 15px; font-weight: 700; }
.pack-price { margin: 0 0 15px; font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.055em; }
.pack-price small { color: var(--muted); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.pack-explainer { color: var(--muted); font-size: 12px; }
.pack-benefits { display: grid; gap: 9px; min-height: 127px; margin: 17px 0; padding-left: 17px; color: #5f5661; font-size: 12px; }
.pack-benefits li::marker { color: var(--coral); }
.pricing-footnote, .pricing-terms { margin: 17px 0 0; color: var(--muted); font-size: 11px; }
.photo-tips-section { display: grid; gap: 24px; padding-block: 63px; border-top: 1px solid var(--line); }
.tips-visual { position: relative; overflow: hidden; border-radius: 23px; background: #291d2d; }
.tips-visual img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.tips-visual span { position: absolute; bottom: 12px; left: 12px; border-radius: 999px; padding: 8px 11px; background: rgba(35,24,39,.75); color: white; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.tips-copy h2 { margin-bottom: 15px; }
.check-list { display: grid; gap: 11px; margin: 0 0 17px; padding: 0; list-style: none; color: #5f5661; font-size: 13px; }
.check-list li { position: relative; padding-left: 25px; }
.check-list li::before { position: absolute; left: 0; color: var(--coral); content: '✓'; font-weight: 800; }
.faq-section { padding-block: 68px; background: #f2eadc; }
.faq-layout { display: grid; gap: 22px; }
.faq-layout > div:first-child > p:last-child { color: var(--muted); font-size: 13px; }
.faq-list details { border-top: 1px solid #d9cebf; padding: 15px 0; }
.faq-list summary { position: relative; padding-right: 28px; color: var(--plum-dark); cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 2px; color: var(--coral); content: '+'; font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 700px; margin: 10px 24px 0 0; color: var(--muted); font-size: 13px; }
.permission-section { display: grid; gap: 14px; align-items: center; padding-block: 48px; }
.permission-icon, .placeholder-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--lilac); color: var(--plum); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; font-weight: 800; }
.permission-section h2 { margin-bottom: 7px; font-size: 25px; }
.permission-section p:not(.section-kicker) { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.permission-section .button { justify-self: start; }
.closing-cta { padding-block: 58px; background: var(--coral); color: #321b29; text-align: center; }
.closing-cta h2 { margin-bottom: 20px; }
.closing-cta h2 span { color: white; }
.closing-cta .section-kicker { color: #623742; }
.closing-cta p:last-child { margin: 13px 0 0; color: #603d42; font-size: 10px; }

/* Secondary public pages */
.page-hero { padding-block: 54px 30px; }
.page-hero h1 { margin-bottom: 14px; font-size: clamp(40px, 9vw, 62px); }
.page-lead { max-width: 720px; margin-bottom: 18px; font-size: 16px; }
.local-banner { display: flex; gap: 11px; align-items: flex-start; border: 1px solid #edc5b8; border-radius: 15px; padding: 13px 15px; background: #fff0e9; }
.local-banner-icon { display: grid; flex: 0 0 23px; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--coral); color: #351a3c; font-size: 13px; font-weight: 800; }
.local-banner p { margin: 0; color: #60474c; font-size: 12px; }
.pricing-page-packs { padding-top: 36px; }
.simple-cta { padding-block: 53px; background: #f1e7f2; text-align: center; }
.simple-cta h2 { margin-bottom: 21px; font-size: 31px; }
.blog-list { display: grid; gap: 15px; padding-top: 15px; }
.article-card { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: var(--white); color: inherit; text-decoration: none; }
.article-card:hover { border-color: #cdb9d1; box-shadow: var(--shadow); }
.article-card-art { position: relative; min-height: 180px; background: #2a1d2c; }
.article-card-art img { display: block; width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.article-card-art > span { position: absolute; bottom: 12px; left: 12px; border-radius: 999px; padding: 7px 10px; background: rgba(35,24,39,.78); color: white; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.article-art-alt img { filter: saturate(.75) hue-rotate(12deg); }
.article-card-copy { padding: 21px; }
.article-card-copy .section-kicker { font-size: 9px; }
.article-card-copy h2 { margin-bottom: 9px; font-size: 23px; }
.article-card-copy p:not(.section-kicker) { color: var(--muted); font-size: 13px; }
.article-card-copy .text-link { font-size: 12px; }
.article-body { width: min(760px, calc(100% - 42px)); margin-inline: auto; padding: 13px 0 75px; }
.article-body h1 { margin-bottom: 14px; font-size: clamp(37px, 9vw, 59px); }
.article-body .article-deck { color: var(--muted); font-size: 17px; }
.article-body h2 { margin-top: 32px; font-size: 27px; }
.article-body p, .article-body li { color: #544b56; font-size: 15px; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-callout { margin-block: 23px; border-left: 3px solid var(--coral); border-radius: 0 13px 13px 0; padding: 15px 18px; background: #fff0e9; color: #60474c; font-size: 13px; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.comparison-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { border-bottom: 1px solid var(--line); padding: 13px; font-size: 12px; }
.comparison-table th { background: #f3eaf4; color: var(--plum-dark); }
.comparison-table tr:last-child td { border: 0; }
.placeholder-page { display: grid; min-height: 60vh; place-items: center; padding-block: 46px; }
.placeholder-card { width: min(520px, 100%); border: 1px solid var(--line); border-radius: 25px; padding: 29px 21px; background: var(--white); box-shadow: var(--shadow); text-align: center; }
.placeholder-card .placeholder-mark { margin: 0 auto 20px; }
.placeholder-card .section-kicker { margin-bottom: 9px; }
.placeholder-card h1 { margin-bottom: 12px; font-size: 40px; }
.placeholder-card .lead { font-size: 14px; }
.placeholder-actions { display: grid; gap: 9px; margin-top: 20px; }
.placeholder-foot { margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.placeholder-foot a { color: var(--plum); font-weight: 700; }
.auth-page { display: grid; min-height: 68vh; grid-template-columns: minmax(0, 1fr) minmax(330px, 460px); align-items: center; gap: clamp(32px, 7vw, 96px); padding-block: 54px 76px; }
.auth-story { max-width: 600px; }
.auth-story .section-kicker { margin-bottom: 18px; }
.auth-story h1 { margin-bottom: 18px; font-size: clamp(48px, 6vw, 76px); }
.auth-story .lead { max-width: 510px; margin-bottom: 26px; font-size: 18px; }
.auth-story-note { display: flex; max-width: 520px; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 17px; padding: 14px; background: rgba(255,253,250,.7); color: var(--muted); font-size: 12px; }
.auth-story-mark { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--lilac); color: var(--plum); font-size: 13px; font-weight: 800; }
.auth-card { width: 100%; border: 1px solid var(--line); border-radius: 25px; padding: 27px; background: var(--white); box-shadow: var(--shadow); }
.auth-card .section-kicker { margin-bottom: 9px; font-size: 9px; }
.auth-card h2 { margin-bottom: 7px; font-size: 30px; }
.auth-intro { margin-bottom: 17px; color: var(--muted); font-size: 12px; }
.auth-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 15px; border-radius: 13px; padding: 4px; background: #f4eef5; }
.auth-mode button { min-height: 39px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }
.auth-mode button.is-active { background: var(--white); color: var(--plum-dark); box-shadow: 0 2px 8px rgba(49,26,54,.08); }
.auth-google { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }
.auth-google:hover:not(:disabled) { background: #faf6fb; }
.google-mark { color: #4285f4; font-family: Arial, sans-serif; font-size: 18px; font-weight: 800; }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 17px 0; color: #928995; font-size: 10px; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.auth-form { display: grid; gap: 8px; }
.auth-form label { color: var(--plum-dark); font-size: 11px; font-weight: 700; }
.auth-input { width: 100%; min-height: 47px; border: 1px solid #d9ceda; border-radius: 12px; padding: 0 13px; background: #fff; color: var(--ink); font-size: 14px; }
.auth-form .button { margin-top: 5px; }
.auth-code-input { letter-spacing: .12em; }
.auth-code-copy { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.auth-code-actions { display: flex; justify-content: space-between; gap: 15px; margin-top: 8px; }
.auth-code-actions .text-button { font-size: 11px; }
.auth-status { min-height: 17px; margin: 11px 0 0; color: var(--plum); font-size: 11px; }
.auth-status.is-error { color: #a43e2e; }
.auth-foot { margin: 13px 0 0; color: var(--muted); font-size: 10px; }
.auth-foot a { color: var(--plum); font-weight: 700; }
.auth-signed-in { align-self: center; }
.auth-user-email { margin: 13px 0; color: var(--plum); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.auth-signed-in > .button { margin-top: 9px; }
.auth-callback { display: grid; min-height: 64vh; place-items: center; padding-block: 55px; }
.auth-callback .auth-card { max-width: 500px; }
.auth-callback h1 { margin-bottom: 14px; font-size: clamp(42px, 7vw, 62px); }
.auth-callback .lead { margin-bottom: 0; font-size: 15px; }
.auth-form[hidden], .auth-mode[hidden], .auth-card[hidden], .auth-callback [hidden] { display: none; }
[hidden] { display: none !important; }
.billing-orders { display: grid; gap: 10px; margin: 22px 0; text-align: left; }
.billing-order { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.68); }
.billing-order strong { color: var(--ink); }
.billing-order > span, .billing-order time { color: var(--muted); font-size: 13px; }
.billing-order > span:nth-of-type(1) { grid-column: 1 / -1; }
.payment-result .account-placeholder { display: grid; justify-items: center; gap: 10px; }
.payment-result .account-placeholder > .button { margin-top: 12px; }
.account-page { min-height: 55vh; padding-block: 44px 76px; }
.account-page > h1 { margin-bottom: 25px; font-size: clamp(42px, 9vw, 65px); }
.account-placeholder { display: grid; justify-items: start; border: 1px solid var(--line); border-radius: 24px; padding: 24px 19px; background: var(--white); box-shadow: var(--shadow); }
.account-placeholder h2 { margin: 16px 0 7px; font-size: 22px; }
.account-placeholder p { max-width: 600px; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.video-library { margin-top: 18px; }
.video-library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.video-library-toolbar p { margin: 0; color: var(--muted); }
.video-task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.video-task-card { display: grid; align-content: start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.video-task-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.video-task-header h2 { margin: 0; color: var(--ink); font-size: 18px; }
.video-task-status { padding: 6px 10px; border-radius: 999px; background: #f2edf4; color: var(--plum); font-size: 11px; font-weight: 800; }
.video-task-status[data-status="success"] { background: #e7f4ec; color: #267047; }
.video-task-status[data-status="failed"], .video-task-status[data-status="canceled"] { background: #fbe8e4; color: #a53e32; }
.video-task-frame { display: grid; place-items: center; min-height: 180px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #17121a; }
.video-task-frame video { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: contain; }
.video-task-frame .button { min-height: 42px; }
.video-task-waiting { max-width: 360px; margin: 0; padding: 20px; color: #eee5f0; text-align: center; }
.video-task-details { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 12px; }
.video-download { justify-self: start; }
.video-library-empty, .video-library-sign-in { margin-top: 16px; }
@media (max-width: 720px) {
  .video-task-list { grid-template-columns: 1fr; }
  .video-library-toolbar { align-items: flex-start; }
}
.empty-reel { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 17px; background: var(--lilac); color: var(--plum); }
.empty-reel svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.balance-placeholder { color: var(--plum); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 42px; font-weight: 800; letter-spacing: -.06em; }
.balance-placeholder span { color: var(--muted); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--plum); font-size: 12px; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--coral); }
.article-page, .legal-page, .comparison-page { padding-top: 35px; padding-bottom: 75px; }
.article-header { max-width: 850px; margin: 0 auto 25px; }
.article-header h1 { margin-bottom: 12px; font-size: clamp(38px, 8vw, 62px); }
.article-header .lead { margin-bottom: 13px; }
.article-byline { color: var(--muted); font-size: 10px; }
.article-hero-image { overflow: hidden; max-width: 900px; margin: 0 auto 29px; border-radius: 22px; background: #2b1d2e; }
.article-hero-image img { display: block; width: 100%; max-height: 490px; object-fit: cover; }
.article-hero-image figcaption { padding: 10px 14px; background: var(--white); color: var(--muted); font-size: 10px; }
.article-page .article-body, .legal-page .article-body { padding-top: 0; }
.legal-page .article-body h2 { font-size: 23px; }
.article-next { display: flex; flex-direction: column; gap: 12px; width: min(760px, calc(100% - 42px)); margin: 0 auto; border-top: 1px solid var(--line); padding-top: 19px; }
.article-next a { color: var(--plum); font-size: 12px; font-weight: 700; text-decoration: none; }
.comparison-page { width: min(1050px, calc(100% - 36px)); }
.comparison-page .article-header { margin-inline: 0; }
.comparison-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.comparison-note { max-width: 750px; margin: 32px 0; }
.comparison-note h2 { font-size: 25px; }
.comparison-note p { color: var(--muted); font-size: 13px; }
.comparison-page .simple-cta { border-radius: 19px; padding: 24px; }
.account-layout { display: grid; gap: 14px; padding-bottom: 75px; }
.account-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: var(--white); }
.account-card h2 { margin-bottom: 8px; font-size: 21px; }
.account-card p, .account-card li { color: var(--muted); font-size: 13px; }
.account-card .button { margin-top: 7px; }
.empty-state { border: 1px dashed #c9b8cb; border-radius: 16px; padding: 26px 18px; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: 5px; color: var(--plum); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 19px; }

/* Footer and mandatory mobile tabbar */
.site-footer { border-top: 1px solid var(--line); padding: 36px 22px; background: #f2eadc; }
.footer-main { display: grid; gap: 25px; width: min(var(--content), 100%); margin-inline: auto; }
.footer-brand-block p { max-width: 300px; margin: 11px 0 0; color: var(--muted); font-size: 11px; }
.footer-brand-block .local-disclosure { color: var(--plum); font-weight: 600; }
.footer-column { display: grid; align-content: start; gap: 8px; }
.footer-column h2 { margin-bottom: 2px; font-size: 13px; letter-spacing: 0; }
.footer-column a { width: fit-content; color: var(--muted); font-size: 11px; text-decoration: none; }
.footer-column a:hover { color: var(--plum); }
.privacy-preferences { width: fit-content; border: 0; padding: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 11px; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.privacy-preferences:hover { color: var(--plum); }
.footer-bottom { display: flex; width: min(var(--content), 100%); flex-direction: column; gap: 5px; margin: 25px auto 0; border-top: 1px solid #dbd0c1; padding-top: 14px; color: var(--muted); font-size: 9px; }
.privacy-consent { position: fixed; z-index: 75; right: 18px; bottom: 20px; display: grid; width: min(470px, calc(100% - 36px)); gap: 15px; border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: var(--white); color: var(--ink); box-shadow: 0 18px 70px rgba(25, 14, 27, .22); }
.privacy-consent[hidden] { display: none; }
.privacy-consent .section-kicker { margin-bottom: 6px; font-size: 9px; }
.privacy-consent h2 { margin-bottom: 7px; font-size: 19px; }
.privacy-consent p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.privacy-consent-actions { display: flex; gap: 9px; }
.privacy-consent-actions .button { min-height: 42px; padding-inline: 14px; font-size: 12px; }
.privacy-consent-actions .button:first-child { flex: 1; }
.mobile-tabbar { position: fixed; z-index: 45; right: 0; bottom: 0; left: 0; display: none; grid-template-columns: repeat(4, 1fr); padding: 8px 9px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(220, 209, 197, .92); background: rgba(255, 253, 250, .96); box-shadow: 0 -8px 25px rgba(55, 35, 53, .08); backdrop-filter: blur(18px); }
.mobile-tabbar a { display: flex; min-height: 48px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #817783; font-size: 9px; font-weight: 600; text-decoration: none; }
.mobile-tabbar a.is-active { color: var(--plum); }
.tab-icon { display: grid; width: 21px; height: 21px; place-items: center; }
.tab-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.notice-dialog { position: fixed; width: min(390px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 25px; padding: 26px; background: var(--white); color: var(--ink); box-shadow: 0 26px 100px rgba(25, 14, 27, .25); }
.notice-dialog::backdrop { background: rgba(35, 24, 39, .52); backdrop-filter: blur(3px); }
.notice-dialog .dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 25px; }
.dialog-mark { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 18px; border-radius: 13px; background: var(--lilac); color: var(--plum); font-family: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight: 800; }
.notice-dialog .eyebrow { margin-bottom: 7px; font-size: 9px; }
.notice-dialog h2 { margin-bottom: 8px; font-size: 25px; }
.notice-dialog p:not(.eyebrow) { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.notice-dialog form[method="dialog"] { margin: 0; }

@media (min-width: 700px) {
  .home-hero { padding: 45px 24px 0; }
  .mobile-workbench { display: none; }
  .desktop-workbench { display: grid; width: min(1320px, 100%); grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: start; gap: clamp(20px, 3vw, 50px); margin-inline: auto; }
  .desktop-generator { min-width: 0; border: 1px solid var(--line); border-radius: 25px; padding: clamp(20px, 2vw, 28px); background: var(--white); box-shadow: var(--shadow); }
.desktop-generator h2 { margin-bottom: 8px; font-size: clamp(38px, 3.1vw, 48px); }
  .hero-copy { max-width: 480px; margin-bottom: 5px; color: #514856; font-size: 14px; line-height: 1.4; }
  .hero-subcopy { margin-bottom: 14px; color: var(--muted); font-size: 11px; }
  .photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .field-heading { display: flex; justify-content: space-between; gap: 5px; margin-bottom: 7px; color: var(--plum); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
  .field-heading span:last-child { color: #887e89; font-size: 7px; }
  .photo-drop { min-height: 138px; border-radius: 14px; }
  .drop-prompt strong { font-size: 12px; }
  .drop-prompt { font-size: 10px; }
  .form-note { margin: 8px 0 0; color: var(--muted); font-size: 10px; }
  .desktop-generator .quality-fieldset { margin: 12px 0 10px; }
  .desktop-generator .quality-option { min-height: 48px; }
  .generator-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; color: var(--muted); font-size: 10px; }
  .generator-submit-row .button { min-height: 42px; padding-inline: 15px; font-size: 12px; }
  .desktop-generator .privacy-note { justify-content: flex-start; }
  .desktop-showcase { min-width: 0; padding-top: 5px; }
  .showcase-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(42px, 1fr); align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 24px 18px; background: radial-gradient(ellipse at 52% 12%, rgba(18,76,86,.48), transparent 37%), linear-gradient(135deg, #100e10 0%, #171319 55%, #111722 100%); box-shadow: 0 24px 55px rgba(28, 18, 30, .2); }
  .scene-selector { width: clamp(82px, 12vw, 145px); justify-self: end; }
  .showcase-label { margin: 0 0 20px; color: #aaa7aa; font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-align: center; }
  .scene-switcher { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
  .scene-switcher .scene-choice { position: relative; display: flex; width: 100%; flex-direction: column; align-items: flex-start; gap: 2px; border: 0; border-radius: 0; padding: 11px 12px 11px 0; background: transparent; color: #a7a4a8; font-size: 12px; text-align: left; }
  .scene-switcher .scene-choice::after { position: absolute; top: 4px; right: 0; bottom: 4px; width: 4px; border-radius: 999px; background: rgba(255,255,255,.16); content: ""; }
  .scene-switcher .scene-choice:hover, .scene-switcher .scene-choice.is-active { background: transparent; color: white; }
  .scene-switcher .scene-choice.is-active { font-weight: 700; }
  .scene-switcher .scene-choice.is-active::after { background: white; }
  .scene-number { display: none; }
  .hero-video-frame { position: relative; width: fit-content; max-width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: #062b32; box-shadow: 0 14px 35px rgba(0,0,0,.28); }
  .desktop-showcase .hero-video { display: block; width: clamp(190px, 20vw, 260px); max-width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: transparent; }
  .video-example-badge { position: absolute; top: 13px; left: 13px; border-radius: 9px; padding: 8px 11px; background: rgba(255,255,255,.94); color: #090909; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
  .video-demo-controls { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 8px; }
  .video-time { color: white; font-size: 11px; font-weight: 700; text-shadow: 0 1px 5px rgba(0,0,0,.7); }
  .video-control-button { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: rgba(0,13,18,.72); color: white; cursor: pointer; }
  .video-control-button:hover { background: rgba(0,13,18,.94); }
  .video-control-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
  .showcase-arrow-controls { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .showcase-arrow-controls button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: rgba(14,15,17,.85); color: #f3f1f3; cursor: pointer; }
  .showcase-arrow-controls button:hover { background: #28272a; }
  .showcase-arrow-controls svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
  .showcase-caption { margin: 11px 0 0; color: #858188; font-size: 11px; text-align: center; }
  .quick-facts { grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 43px; }
  .section-grid { grid-template-columns: 1fr 1fr; gap: 8%; }
  .section-grid h2 { max-width: 440px; }
  .section-grid > div { max-width: 520px; }
  .section-heading-row { flex-direction: row; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 31px; }
  .example-grid { grid-template-columns: repeat(3, 1fr); gap: 17px; }
  .step-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .spec-layout { grid-template-columns: .8fr 1.2fr; gap: 8%; }
  .spec-list > div { grid-template-columns: 132px 1fr; padding: 17px 0; }
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pack-card { padding: 23px; }
  .pack-featured { transform: translateY(-8px); }
  .photo-tips-section { grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; }
  .tips-visual img { aspect-ratio: 1.2; }
  .faq-layout { grid-template-columns: .7fr 1.3fr; gap: 10%; }
  .permission-section { grid-template-columns: 50px 1fr auto; gap: 18px; }
  .permission-section .button { justify-self: end; }
  .closing-cta { padding-block: 87px; }
  .page-hero { padding-block: 72px 36px; }
  .page-lead { font-size: 18px; }
  .pricing-page-packs { padding-top: 24px; }
  .blog-list { grid-template-columns: 1.15fr .85fr; gap: 20px; padding-top: 24px; }
  .article-card-featured { grid-row: span 2; }
  .article-card-featured .article-card-art, .article-card-featured .article-card-art img { min-height: 300px; }
  .article-card:not(.article-card-featured) { grid-template-columns: .75fr 1.25fr; }
  .article-card:not(.article-card-featured) .article-card-art, .article-card:not(.article-card-featured) .article-card-art img { min-height: 100%; }
  .article-card:not(.article-card-featured) .article-card-copy { padding: 17px; }
  .article-card:not(.article-card-featured) .article-card-copy h2 { font-size: 17px; }
  .placeholder-card { padding: 38px; }
  .account-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-page { padding-block: 68px 100px; }
  .account-placeholder { min-height: 250px; align-content: center; padding: 33px; }
  .article-page, .legal-page { padding-top: 53px; }
  .article-next { flex-direction: row; justify-content: space-between; }
  .footer-main { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 35px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 700px) and (max-width: 899px) {
  .showcase-stage { grid-template-columns: minmax(52px, 1fr) auto minmax(34px, 1fr); gap: 5px; padding: 13px 8px; }
  .scene-selector { width: 64px; }
  .showcase-label { margin-bottom: 10px; font-size: 8px; }
  .scene-switcher .scene-choice { font-size: 10px; }
  .desktop-showcase .hero-video { width: clamp(150px, 20vw, 180px); }
  .showcase-arrow-controls button { width: 34px; height: 34px; }
  .video-example-badge { top: 7px; left: 7px; border-radius: 7px; padding: 5px 6px; font-size: 6px; letter-spacing: .07em; }
  .video-demo-controls { top: 7px; right: 7px; gap: 4px; }
  .video-time { display: none; }
  .video-control-button { width: 28px; height: 28px; }
  .video-control-button svg { width: 14px; height: 14px; }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .video-example-badge { top: 8px; left: 8px; border-radius: 7px; padding: 6px 7px; font-size: 7px; letter-spacing: .08em; }
  .video-demo-controls { top: 8px; right: 8px; gap: 4px; }
  .video-time { display: none; }
  .video-control-button { width: 30px; height: 30px; }
  .video-control-button svg { width: 15px; height: 15px; }
}

@media (min-width: 1024px) {
  .header-inner { height: 82px; }
  .desktop-nav a, .header-sign-in { font-size: 13px; }
  .desktop-generator { padding: 22px; }
  .desktop-generator h2 { font-size: clamp(34px, 2.8vw, 42px); }
  .desktop-generator .eyebrow { margin-bottom: 12px; }
  .hero-copy { font-size: 13px; }
  .hero-subcopy { margin-bottom: 11px; }
  .photo-drop { min-height: 120px; }
  .home-hero { padding-top: 28px; }
  .section-space { padding-block: 115px; }
  .examples-section, .steps-section, .pricing-preview, .faq-section { padding-block: 105px; }
  .spec-section { padding-block: 94px; }
}

@media (min-width: 1024px) and (max-height: 800px) {
  .home-hero { padding-top: 15px; }
  .desktop-generator { padding: 17px; }
  .desktop-generator .eyebrow { margin-bottom: 8px; }
  .desktop-generator h2 { margin-bottom: 6px; font-size: 36px; }
  .hero-copy { margin-bottom: 3px; font-size: 12px; line-height: 1.3; }
  .hero-subcopy { margin-bottom: 8px; font-size: 10px; }
  .photo-drop { min-height: 104px; }
  .desktop-generator .quality-fieldset { margin: 8px 0 7px; }
  .desktop-generator .quality-option { min-height: 42px; }
  .generator-submit-row { margin-top: 6px; }
  .generator-submit-row .button { min-height: 38px; }
  .desktop-generator .privacy-note { margin-top: 7px; font-size: 9px; }
  .showcase-stage { padding-block: 15px; }
  .desktop-showcase .hero-video { width: clamp(175px, 16vw, 225px); }
  .scene-switcher { gap: 4px; }
  .scene-switcher .scene-choice { padding-block: 8px; }
}

@media (max-width: 699px) {
  .content-wrap { width: min(100% - 36px, 560px); }
  .header-inner { width: calc(100% - 30px); height: 63px; justify-content: space-between; gap: 12px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand img { width: 31px; height: 31px; }
  .desktop-nav, .header-sign-in, .desktop-create { display: none; }
  .menu-toggle { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
  .menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: var(--plum); stroke-linecap: round; stroke-width: 1.8; }
  .mobile-menu:not([hidden]) { display: grid; gap: 0; border-top: 1px solid var(--line); padding: 5px 19px 11px; background: var(--paper); }
  .mobile-menu a { border-bottom: 1px solid #eee5d9; padding: 11px 2px; color: var(--plum-dark); font-size: 13px; font-weight: 600; text-decoration: none; }
  .home-hero { padding-top: 17px; }
  .quick-facts, .intro-section, .steps-section, .pricing-preview, .photo-tips-section, .faq-section, .permission-section { width: min(100% - 36px, 560px); }
  .section-space { padding-block: 62px; }
  .examples-section { padding-block: 62px; }
  .spec-section { padding-block: 60px; }
  .page-hero { width: min(100% - 36px, 560px); padding-top: 43px; }
  .auth-page { width: min(100% - 36px, 560px); min-height: 0; grid-template-columns: 1fr; gap: 24px; padding-block: 34px 58px; }
  .auth-story { text-align: center; }
  .auth-story .section-kicker { margin-bottom: 12px; }
  .auth-story h1 { margin-bottom: 10px; font-size: clamp(42px, 11vw, 58px); }
  .auth-story .lead { margin: 0 auto 17px; font-size: 14px; }
  .auth-story-note { text-align: left; }
  .auth-card { padding: 22px 18px; }
  .auth-card h2 { font-size: 27px; }
  .auth-callback { width: min(100% - 36px, 560px); min-height: 56vh; padding-block: 38px; }
  .pricing-page-packs { padding-top: 29px; }
  .article-body { width: min(100% - 36px, 560px); }
  .simple-cta { padding-inline: 18px; }
  .site-footer { padding: 36px 19px 104px; }
  .privacy-consent { right: 12px; bottom: calc(77px + env(safe-area-inset-bottom)); left: 12px; width: auto; padding: 17px; }
  .mobile-tabbar { display: grid; }
  .pricing-page-packs { padding-top: 16px; }
}

@media (max-width: 360px) {
  .content-wrap, .quick-facts, .intro-section, .steps-section, .pricing-preview, .photo-tips-section, .faq-section, .permission-section, .page-hero, .article-body { width: calc(100% - 28px); }
  .home-hero { padding-inline: 12px; }
  .mobile-generator-card { padding-inline: 14px; }
  .photo-drop { min-height: 155px; }
  .quality-options { gap: 5px; }
  .quality-option { min-height: 58px; }
  .quality-option strong { font-size: 13px; }
  .quality-option small { font-size: 8px; }
  .generator-form .button { padding-inline: 12px; font-size: 12px; }
  .site-footer { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Keep required page headings available to assistive technology without adding a visible title. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
