/* Shared visual finish for customer-facing HausView pages. */
:root {
  --canvas: #f7f7f2;
  --canvas-deep: #edeee7;
  --paper: #ffffff;
  --ink: #202d27;
  --ink-soft: #5c6760;
  --forest: #29483c;
  --forest-deep: #20392f;
  --sage: #e6ece4;
  --lime: #dce5ca;
  --lime-soft: #eff2e8;
  --clay: #8d735c;
  --line: #d8ddd5;
  --shadow-sm: 0 2px 8px #20392f06;
  --shadow-lg: 0 8px 24px #20392f0b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
}
body, body.auth-page, body.commerce-page, body.review-page { background: var(--canvas); }
.brand-mark { border-radius: 6px; box-shadow: none; color: #fff; }
.brand-copy strong { font-size: 20px; font-weight: 650; letter-spacing: -.035em; }
.brand-copy small { font-size: 10px; letter-spacing: .1em; font-weight: 500; }
.site-nav a, .header-action, .auth-header > a:last-child { font-weight: 600; }
.header-action { border-radius: 5px; border-color: var(--line); }
.header-action:hover { transform: none; }
.kicker, .panel-eyebrow, .auth-step { font-weight: 600; letter-spacing: .1em; font-size: 11px; }
.kicker > span, .auth-step::before { display: none; }
.commerce-shell::before, .review-shell::before, .auth-story::after { display: none; }
:focus-visible { outline: 2px solid #476a55; outline-offset: 4px; }

/* The photographs carry the homepage; supporting elements stay understated. */
.homepage .hero { gap: 56px; padding-top: 56px; }
.homepage .hero h1 { font-size: clamp(40px, 4.2vw, 60px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.homepage .hero h1 em { font-style: normal; font-weight: 500; color: var(--forest); background: none; -webkit-text-fill-color: currentColor; }
.homepage .hero-intro { font-size: 16px; line-height: 1.75; }
.homepage .hero-copy, .homepage .tour-column { animation: none; }
.homepage .tour-column::before, .homepage .tour-column::after { display: none; }
.homepage .tour-card { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); background: var(--paper); color: var(--ink); }
.homepage .tour-card-head { background: #f0f2ec; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.homepage .live-dot { background: #688064; box-shadow: none; animation: none; }
.homepage .duration-pill { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 4px; }
.homepage .example-length-picker { gap: 0; padding: 12px 16px; }
.homepage .example-length-picker button { border-radius: 0; border: 1px solid var(--line); color: var(--ink-soft); background: #fff; font-weight: 500; }
.homepage .example-length-picker button:first-child { border-radius: 4px 0 0 4px; }
.homepage .example-length-picker button:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.homepage .example-length-picker button[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.homepage .tour-play, .homepage .tour-play:hover { background: var(--forest-deep); border: 1px solid #fff8; border-radius: 6px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.homepage .tour-play-icon, .homepage .tour-play:hover .tour-play-icon { background: #fff; color: var(--forest); box-shadow: none; }
.homepage .tour-location, .homepage .tour-price, .homepage .download-link { color: var(--forest); }
.homepage .tour-details h2 { font-weight: 500; color: var(--ink); }
.homepage .tour-footer { border-color: var(--line); }
.homepage .fact-list, .homepage .fact-list strong { color: var(--ink-soft); }
.homepage .walkthrough-preview-note { background: #eef0e9; color: #59635a; border: 0; }
.homepage .tour-footer .download-link { font-weight: 600; }
.homepage .hero-primary, .homepage .hero-primary:hover, .homepage .hero-primary:active { background: var(--forest); border: 1px solid var(--forest); border-radius: 5px; box-shadow: none; transform: none; font-weight: 600; }
.homepage .hero-primary:hover { background: var(--forest-deep); }
.hero-primary > span { color: #fff; }
.hero-audio-summary { border: 0; border-left: 2px solid #9eaf91; border-radius: 0; background: none; padding: 3px 0 3px 16px; margin-bottom: 26px; }
.hero-audio-icon { display: none; }
.hero-audio-summary strong { font-weight: 600; font-size: 14px; }
.homepage .value-strip { border-block: 1px solid var(--line); }
.homepage .benefit-icon { background: none; border: 0; border-radius: 0; box-shadow: none; color: #61745e; }
.homepage .value-strip strong { font-family: var(--font-sans); font-size: 16px; font-weight: 600; }
.homepage .value-strip span:not(.benefit-icon) { font-size: 13px; }
.homepage .how-heading h2, .homepage .pricing-heading h2, .create-heading h2, .faq-heading h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.homepage .steps-grid { gap: 0; border-top: 1px solid var(--line); }
.homepage .steps-grid article, .homepage .steps-grid article:hover { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; transform: none; }
.homepage .steps-grid article:last-child { border-right: 0; }
.homepage .steps-grid h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.homepage .step-number { font-family: var(--font-sans); font-style: normal; font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.homepage .generator-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: none; }
.homepage .generator-account-strip { border-color: var(--line); }
.homepage .credit-orb { border-radius: 5px; background: var(--sage); }
.homepage .listing-input-wrap, .homepage .voice-option-copy, .homepage .audio-options .voice-option-copy { border-radius: 6px; }
.homepage .voice-option input:checked + .voice-option-copy { background: #f0f4ed; border-color: #5c775d; box-shadow: none; }
.homepage .voice-sample { border-radius: 5px; background: #f7f8f4; box-shadow: none; }
.homepage .voice-sample:hover { transform: none; background: #eef2e9; }
.homepage .audio-choice-kind { font-weight: 600; letter-spacing: .06em; }
.homepage .audio-options .voice-option strong { font-size: 18px; font-weight: 600; }
.homepage .generate-button, .homepage .unlock-button { border-radius: 5px; box-shadow: none; }
.homepage .generate-button svg { background: none; color: #fff; }
.homepage .assurance-list i { background: none; }
.homepage .free-video-offer { border: 1px solid var(--line); border-radius: 8px; background: #edf1e8; box-shadow: none; }
.homepage .free-offer-pill { background: none; padding: 0; border-radius: 0; font-weight: 600; }
.homepage .free-offer-action a { border-radius: 5px; box-shadow: none; }
.homepage .price-card, .homepage .price-card:hover { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; transform: none; }
.homepage .price-card.featured, .homepage .price-card.featured:hover { background: var(--forest-deep); border-color: var(--forest-deep); box-shadow: none; }
.homepage .price-card h3 { font-family: var(--font-sans); font-size: 26px; font-weight: 600; }
.homepage .pack-count { display: none; }
.homepage .pack-price strong { font-family: var(--font-sans); font-size: 42px; font-weight: 500; letter-spacing: -.04em; }
.homepage .popular-pill { background: #dce5ca; border-radius: 3px; box-shadow: none; font-weight: 600; }
.homepage .pack-action { border-radius: 5px; box-shadow: none; }
.homepage .faq-list { border-top: 1px solid var(--line); }
.homepage .faq-list details, .homepage .faq-list details[open] { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding-inline: 0; }
.homepage .faq-list summary { font-weight: 500; }
.homepage .closing-section { border-radius: 8px; background: var(--forest-deep); box-shadow: none; }
.homepage .closing-section::after { display: none; }
.homepage .closing-section h2 { font-style: normal; font-weight: 500; }
.homepage .closing-action { border-radius: 5px; background: #e4ead7; box-shadow: none; font-weight: 600; }

/* The same restrained surfaces across sign-in, billing and video review. */
.auth-story { border-radius: 10px; background: var(--forest-deep); box-shadow: none; }
.auth-story h1 { font-size: clamp(38px, 4.1vw, 56px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.auth-story h1 em { font-style: normal; color: #e1e8d6; }
.auth-story-copy > p:last-child { color: #d0d9d0; font-size: 14px; }
.auth-benefits div { background: none; border: 0; border-top: 1px solid #ffffff30; border-radius: 0; padding: 15px 0; }
.auth-benefits span { background: none; color: #c0cfb7; font-weight: 500; }
.auth-benefits strong { font-weight: 500; }
.auth-panel { border-radius: 10px; box-shadow: none; background: #fff; }
.auth-panel h2 { font-family: var(--font-sans); font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.auth-input-wrap input { border-radius: 5px; }
.auth-submit, .auth-submit:hover { border-radius: 5px; background: var(--forest); box-shadow: none; }
.auth-submit svg { background: none; color: #fff; }
.auth-step, .auth-field > label, .auth-submit span { font-weight: 600; }
.checkout-plan-card, .payment-card, .balance-card, .account-section, .account-error, .status-card, .policy-card, .video-card, .review-preview-card, .review-form-card, .review-state-card { border-radius: 10px; box-shadow: none; }
.checkout-plan-card, .balance-card { background: var(--forest-deep); }
.payment-card, .account-section, .policy-card, .review-form-card { background: #fff; }
.commerce-intro h1, .account-heading h1, .review-intro h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.review-intro h1 em { font-style: normal; }
.payment-card h2, .account-section-head h2, .review-form-heading h2, .review-state-card h2 { font-family: var(--font-sans); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.payfast-button, .review-submit, .account-primary, .status-action, .review-download, .review-secondary { border-radius: 5px; box-shadow: none; }
.review-submit:hover, .payfast-button:hover { box-shadow: none; }
.review-submit svg, .payfast-button svg { background: none; color: inherit; }
.review-feedback, .review-form-card textarea { border-radius: 6px; }
.review-preview-loading { background: var(--forest-deep); }
@media (max-width: 1040px) {
  .homepage .hero { padding-top: 40px; gap: 30px; }
  .hero-audio-summary { margin-inline: auto; text-align: left; }
}
@media (max-width: 760px) {
  .homepage .hero { padding-top: 28px; }
  .homepage .hero h1 { font-size: clamp(35px, 8vw, 46px); line-height: 1.12; }
  .homepage .hero-intro { font-size: 15px; }
  .homepage .how-heading h2, .homepage .pricing-heading h2, .create-heading h2, .faq-heading h2 { font-size: 32px; }
  .homepage .steps-grid article, .homepage .steps-grid article:hover { border-right: 0; border-bottom: 1px solid var(--line); padding-top: 24px; padding-bottom: 24px; }
  .homepage .step-number { top: 28px; }
  .homepage .tour-card { box-shadow: none; }
  .auth-story h1 { font-size: 38px; }
  .auth-panel { border-radius: 8px; }
}
/* Readable secondary text and controls on both light and dark panels. */
.homepage .free-offer-pill { color: var(--forest); }
.homepage .value-strip .benefit-icon { background: none; border: 0; box-shadow: none; }
.homepage .featured .pack-price > span, .homepage .featured .unit-price,
.checkout-unit, .checkout-price > span, .checkout-plan-card li p,
.balance-main > span, .balance-stats span, .preview-assurance { color: #c6d1c7; }
.submit-review-button, .submit-review-button:hover { border-radius: 5px; box-shadow: none; }
.submit-review-button svg { background: none; color: #fff; }
.balance-actions a, .video-library-item, .account-identity, .account-identity button { border-radius: 6px; }
.review-page textarea:focus-visible, .review-page button:focus-visible,
.commerce-page input:focus-visible, .commerce-page button:focus-visible { outline: 2px solid #617c61; outline-offset: 3px; }
@media (max-width: 480px) {
  .commerce-back { width: auto; min-height: 44px; height: auto; padding: 10px 12px; text-indent: 0; overflow: visible; font-size: 12px; }
  .commerce-back svg { margin-left: 0; width: 15px; }
}
.homepage .generation-stage { background: var(--forest-deep); color: #fff; }

/* Small interactive aids, styled as part of the form and FAQ. */
.selection-summary { display: grid; gap: 5px; margin: 18px 0 15px; padding: 15px 0; border-block: 1px solid var(--line); }
.selection-summary-label { color: var(--ink-soft); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.selection-summary strong { color: var(--forest); font-size: 14px; font-weight: 600; line-height: 1.5; }
.selection-summary-hint { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.faq-content { min-width: 0; }
.faq-search { margin-bottom: 22px; }
.faq-search label { display: block; margin-bottom: 9px; color: var(--ink); font-size: 13px; font-weight: 600; }
.faq-search-field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 5px; padding-right: 10px; background: #fff; }
.faq-search-field:focus-within { outline: 2px solid #617c61; outline-offset: 3px; }
.faq-search input { width: 100%; min-width: 0; min-height: 48px; border: 0; border-radius: 5px; background: transparent; padding: 12px 14px; color: var(--ink); font: inherit; font-size: 14px; }
.faq-search input:focus-visible { outline: none; }
.faq-search button { flex-shrink: 0; min-height: 44px; padding: 8px; color: var(--forest); background: none; cursor: pointer; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-search-status { color: var(--ink-soft); font-size: 13px; line-height: 1.6; margin: 0 0 14px; }
@media (max-width: 760px) { .faq-search input { font-size: 16px; } }

/* A warm studio accent, with movement reserved for deliberate interaction. */
.homepage { --studio-accent: #92583d; --studio-tint: #f2e9df; }
.homepage .kicker { color: var(--studio-accent); }
.homepage .hero-copy .kicker > span { display: block; width: 24px; height: 2px; background: var(--studio-accent); }
.homepage .hero-audio-summary { border-left-color: #b8805f; }
.homepage .tour-card { border-color: var(--line); box-shadow: 0 4px 16px #20392f08; }
.homepage .tour-card-head { background: var(--studio-tint); border-bottom-color: #dfd4c6; }
.homepage .live-dot { background: var(--studio-accent); }
.homepage .step-number { color: var(--studio-accent); font-weight: 600; }
.homepage .free-video-offer { background: #f4eee4; border-color: #ded3c2; }
.homepage .site-nav a::after { background: var(--studio-accent); }
@media (hover: hover) {
  .homepage .price-card:not(.featured):hover { border-color: #8eaa91; background: #fcfdf9; }
  .homepage .price-card.featured:hover { border-color: #aabd9d; }
  .homepage .tour-play:hover { background: #355445; }
  .homepage .hero-secondary:hover { color: var(--studio-accent); }
}
@media (prefers-reduced-motion: no-preference) {
  .homepage .hero-primary { transition: transform 180ms ease, background-color 180ms ease; }
  .homepage .price-card { transition: border-color 180ms ease, background-color 180ms ease; }
  .homepage .hero-primary:focus-visible { transform: translateY(-1px); }
  @media (hover: hover) {
    .homepage .hero-primary:hover { transform: translateY(-1px); }
  }
}


/* Two voiceovers followed by two music choices, with room for their previews. */
.homepage .audio-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.homepage .audio-options .voice-option-copy { min-height: 0; }
@media (max-width: 560px) {
  .homepage .audio-options { grid-template-columns: 1fr; }
}
