:root {
    --ink: #40251e;
    --forest: #5c241b;
    --forest-light: #963d2d;
    --paper: #f5f1e8;
    --white: #fffaf2;
    --lime: #d88955;
    --coral: #d88955;
    --muted: #755d53;
    --line: #e3d5c7;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
}

a { color: inherit; }

a:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

.site-header {
    position: relative;
    z-index: 2;
    color: var(--white);
    background: linear-gradient(135deg, var(--forest-light), var(--forest));
    border-bottom: 4px solid var(--lime);
}

.header-inner,
.section-inner,
.plans-inner,
.footer-inner {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 102px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.38));
}

.brand-mark {
    position: relative;
    width: 57px;
    height: 57px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 0 10px 12px;
    overflow: hidden;
    background: var(--lime);
    border-radius: 18px 18px 18px 6px;
}

.brand-mark::before {
    position: absolute;
    top: 9px;
    left: 10px;
    width: 36px;
    height: 21px;
    content: "";
    border: 3px solid var(--forest);
    border-bottom: 0;
    border-radius: 21px 21px 0 0;
}

.brand-mark span {
    width: 6px;
    height: 14px;
    background: var(--forest);
    border-radius: 3px 3px 0 0;
}

.brand-mark span:nth-child(2) { height: 20px; }

.brand-mark i {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 10px;
    height: 10px;
    background: var(--coral);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.brand-name span {
    margin-left: 3px;
    color: #f1c39e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.header-edit {
    color: var(--forest);
    background: var(--lime);
}

.header-edit:hover {
    color: var(--forest);
    background: #e5a675;
}

.main-nav a,
.header-cta {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.main-nav a { color: rgba(255, 250, 242, .86); }
.main-nav a:hover { color: #f1c39e; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--forest);
    background: var(--paper);
    border-radius: 20px;
}

.header-cta:hover { background: #fffaf2; }
.button-primary:hover { background: #7b3024; }

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-color: var(--forest);
    background-image: linear-gradient(125deg, var(--forest-light), var(--forest) 80%), radial-gradient(rgba(255, 250, 242, .09) .8px, transparent .8px);
    background-size: auto, 20px 20px;
}

.hero-offer {
    position: relative;
    width: 100%;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 26px;
    padding: 14px;
    color: var(--site-green-dark);
    background: var(--site-white);
    border: 1px solid rgba(255, 254, 249, .7);
    border-left: 6px solid var(--site-accent);
    border-radius: 4px;
    box-shadow: 0 12px 26px rgba(18, 29, 8, .18);
}

.hero-offer > p {
    max-width: 170px;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.2;
}

.hero-offer-plans {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-bottom: -14px;
    padding: 0 12px;
    color: var(--site-white);
    background: var(--site-green-dark);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hero-offer-plans:hover,
.hero-offer-plans:focus-visible {
    color: var(--site-white);
    background: var(--site-green);
}

.hero-offer-price {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 11px 10px 9px;
    color: var(--site-green-dark);
    background: var(--site-accent);
    border-radius: 3px;
}

.hero-offer-price strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: .88;
    white-space: nowrap;
}

.hero-offer-price strong span {
    margin-right: 2px;
    font-family: var(--sans);
    font-size: 28px;
    vertical-align: 12px;
}

.hero-offer-price small {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.hero-inner {
    width: min(1320px, calc(100% - 64px));
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(260px, .92fr);
    align-items: stretch;
    gap: 28px;
    margin-inline: auto;
    padding: 42px 0 58px;
}

.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { margin-bottom: 14px; }

.eyebrow {
    margin: 0 0 20px;
    color: var(--forest-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.hero-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #f2c5a4;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: var(--coral);
    border-radius: 50%;
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
    max-width: 540px;
    margin-bottom: 22px;
    font-family: var(--sans);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.03;
}

.hero h1 em {
    color: #f2c5a4;
    font-weight: 400;
}

.hero-intro {
    max-width: 390px;
    margin-bottom: 22px;
    color: #f2e2d6;
    font-size: 15px;
    line-height: 1.7;
}

.hero-inner .storefront-stage { width: 100%; max-width: 360px; height: 100%; margin: 0; overflow: visible; justify-self: center; }
.center-rotation { position: relative; width: 100%; height: 100%; min-height: 420px; }
.center-rotation-slides { position: absolute; inset: 0 0 38px; }
.center-rotation-slide[hidden] { display: none; }
.center-storefront-slide { display: flex; align-items: center; justify-content: center; }
.center-storefront-slide .storefront-preview { width: 100%; max-width: none; margin: 0; transform: none; animation: none; }
.center-image-slide { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; margin: 0; padding: 12px 0 0; }
.center-image-slide img { width: 100%; min-height: 0; flex: 1; object-fit: contain; border: 1px solid rgba(255, 250, 242, .4); background: rgba(255, 250, 242, .08); }
.center-image-slide figcaption { color: var(--white); font-size: 14px; font-weight: 700; text-align: center; }
.center-rotation-controls { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: #e8cfc0; font-size: 11px; }
.center-rotation-controls button { padding: 4px 9px; color: var(--white); background: transparent; border: 1px solid rgba(255, 250, 242, .45); font: inherit; font-weight: 700; cursor: pointer; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest); background: var(--lime); border-radius: 24px; }
.button-secondary { color: var(--white); background: transparent; border-color: rgba(255, 250, 242, .58); border-radius: 24px; }
.button-secondary:hover { color: var(--forest); background: var(--white); }
.hero-note { margin: 16px 0 0; color: #e8cfc0; font-size: 13px; }

.storefront-preview {
    position: relative;
    width: 100%;
    max-width: 390px;
    justify-self: center;
    overflow: visible;
    color: var(--ink);
    background: var(--paper);
    border: 6px solid rgba(255, 250, 242, .22);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(43, 13, 8, .28);
    transform: rotate(.6deg);
    animation: reveal-preview .7s ease-out both;
}

.storefront-topbar {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 13px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
}

.storefront-brand { display: flex; align-items: center; gap: 10px; }
.storefront-brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.storefront-brand strong { font-family: var(--sans); font-size: 15px; font-weight: 400; }
.storefront-brand small { color: var(--muted); font-size: 10px; }
.storefront-initial { width: 32px; height: 32px; display: grid; place-items: center; color: var(--white); background: var(--forest-light); border-radius: 50%; font-family: var(--sans); font-size: 17px; }
.storefront-topbar > a { display: inline-flex; align-items: center; gap: 7px; color: var(--white); background: var(--forest-light); border-radius: 18px; padding: 8px 11px; font-size: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.storefront-scene { position: relative; min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 20px 47% 20px 18px; color: var(--white); background: linear-gradient(125deg, var(--forest-light), var(--forest)); }
.storefront-scene-photo { position: absolute; z-index: 0; top: 0; right: 0; width: 44%; height: 100%; object-fit: cover; object-position: center; border-left: 4px solid rgba(255, 250, 242, .72); }
.storefront-scene::after { display: none; }
.storefront-scene > p { position: relative; z-index: 1; margin-bottom: 9px; color: #f2c5a4; font-size: 9px; font-weight: 700; }
.storefront-scene h2 { position: relative; z-index: 1; max-width: 180px; margin: 0 0 8px; font-family: var(--sans); font-size: 23px; font-weight: 400; line-height: 1.02; }
.storefront-scene > span { position: relative; z-index: 1; max-width: 205px; color: #f2e2d6; font-size: 10px; }
.storefront-shelf { padding: 14px 18px 10px; background: var(--white); }
.shelf-title { display: block; margin-bottom: 9px; color: var(--forest-light); font-size: 8px; font-weight: 700; }
.shelf-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.shelf-row b { color: var(--forest-light); font-size: 12px; }
.storefront-footer { min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: var(--forest); background: #eee1d3; border-radius: 0 0 8px 8px; font-family: var(--sans); font-size: 11px; }
.preview-stamp { position: absolute; top: -22px; right: -22px; width: 79px; height: 79px; display: grid; place-content: center; color: var(--forest); background: var(--lime); border: 5px solid var(--forest); border-radius: 50%; font-size: 8px; font-weight: 700; line-height: 1.3; text-align: center; transform: rotate(8deg); }

.hero-edge {
    position: absolute;
    right: max(32px, calc((100% - 1160px) / 2));
    bottom: 21px;
    display: flex;
    gap: 22px;
    color: #e8cfc0;
    font-size: 8px;
    font-weight: 700;
}

.hero-edge span + span::before { padding-right: 22px; color: var(--coral); content: "/"; }

.featured-shops { min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 22px; color: var(--ink); background: var(--white); border-left: 5px solid var(--lime); box-shadow: 0 18px 42px rgba(43, 13, 8, .22); }
.featured-shops > .eyebrow { margin-bottom: 8px; color: var(--forest-light); }
.featured-shops > h2 { margin: 0 0 18px; color: var(--forest); font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 400; line-height: 1.1; }
.featured-shop-empty { margin: 0; color: var(--muted); font-size: 14px; }
.featured-shop-slide[hidden] { display: none; }
.featured-shop-logo { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 14px; overflow: hidden; color: var(--white); background: var(--forest); }
.featured-shop-logo img { width: 100%; height: 100%; object-fit: contain; background: white; }
.featured-shop-logo span { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; }
.featured-shop-slide h3 { margin: 0 0 7px; color: var(--ink); font-size: 20px; line-height: 1.2; }
.featured-shop-slide p { min-height: 58px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.featured-shop-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 13px; color: var(--white); background: var(--forest); font-size: 12px; font-weight: 700; text-decoration: none; }
.featured-shop-link:hover { background: var(--forest-light); }
.featured-shop-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.featured-shop-controls button { padding: 5px 9px; color: var(--forest); background: transparent; border: 1px solid var(--line); font: inherit; font-weight: 700; cursor: pointer; }

.feature-section { padding: 32px 0 84px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 50px; margin-bottom: 32px; }
.section-heading .eyebrow { grid-column: 1 / -1; width: fit-content; margin-bottom: 10px; padding: 7px 10px; color: var(--forest); background: #e8eddc; border-left: 4px solid var(--forest-light); border-radius: 2px; font-size: 13px; font-weight: 800; }
.section-heading h2 { margin: 0; font-family: var(--sans); font-size: 42px; font-weight: 400; line-height: 1.12; white-space: pre-line; }
.section-heading > p:last-child { max-width: 390px; margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-item { position: relative; min-height: 210px; padding: 20px 28px 0 0; }
.feature-item + .feature-item { padding-left: 28px; border-left: 1px solid var(--line); }
.feature-number { position: absolute; top: 31px; right: 24px; color: #ae9486; font-size: 11px; font-weight: 600; }
.feature-icon { width: 43px; height: 43px; position: relative; margin-bottom: 16px; background: #f1dfcf; border-radius: 15px 15px 15px 5px; }
.feature-icon i { position: absolute; display: block; }
.icon-store i:first-child { top: 12px; left: 10px; width: 23px; height: 12px; border: 2px solid var(--forest); border-bottom: 0; border-radius: 14px 14px 0 0; }
.icon-store i:nth-child(2) { top: 23px; left: 12px; width: 19px; height: 10px; border: 2px solid var(--forest); border-top: 0; }
.icon-store i:nth-child(3) { top: 25px; left: 19px; width: 5px; height: 8px; background: var(--coral); }
.icon-orders i { left: 11px; width: 21px; height: 3px; background: var(--forest); border-radius: 2px; }
.icon-orders i:first-child { top: 13px; }
.icon-orders i:nth-child(2) { top: 20px; width: 16px; }
.icon-orders i:nth-child(3) { top: 27px; width: 12px; }
.icon-customers i:first-child { top: 10px; left: 17px; width: 10px; height: 10px; background: var(--coral); border-radius: 50%; }
.icon-customers i:nth-child(2) { top: 23px; left: 11px; width: 22px; height: 11px; border: 2px solid var(--forest); border-bottom: 0; border-radius: 14px 14px 0 0; }
.feature-item h3 { margin-bottom: 10px; font-size: 17px; font-weight: 700; }
.feature-item p { max-width: 300px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.text-link { color: var(--forest); font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link span { padding-left: 5px; }

.site-footer { color: var(--white); background: linear-gradient(135deg, var(--forest-light), var(--forest)); border-top: 4px solid var(--lime); }
.footer-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-footer { color: var(--white); }
.brand-footer .brand-name span { color: var(--lime); }
.brand-footer .brand-mark i { border-color: var(--forest); }
.footer-inner > p { margin: 0; color: #f2e2d6; font-size: 13px; }
.footer-copyright { color: #e8cfc0; font-size: 11px; }

@keyframes reveal-preview {
    from { opacity: 0; transform: translateY(16px) rotate(1.5deg); }
    to { opacity: 1; transform: translateY(0) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f9f2e9 0%, #fffaf4 100%);
}

.auth-header {
    border-bottom: 4px solid var(--lime);
}

.auth-header-inner {
    min-height: 78px;
}

.header-cta-small {
    padding: 10px 15px;
    border-radius: 999px;
    font-size: 12px;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 16px 72px;
}

.auth-shell {
    width: min(100%, 560px);
}

.auth-shell-wide {
    width: min(100%, 760px);
}

.auth-card {
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(150, 61, 45, 0.18);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(92, 36, 27, 0.16);
}

.auth-card-header {
    padding: 26px 26px 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--forest-light), var(--forest));
    border-bottom: 4px solid var(--lime);
}

.auth-card-header h2 {
    margin: 0 0 8px;
    font-family: var(--sans);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.05;
}

.auth-card-header p:last-child {
    margin: 0;
    color: #f2e2d6;
    font-size: 14px;
}

.eyebrow-light {
    color: #f2c5a4;
}

.auth-card-body {
    padding: 26px 24px 28px;
}

.auth-form .form-label {
    color: var(--forest);
    font-size: 13px;
    font-weight: 700;
}

.auth-form .form-control,
.auth-form .form-select {
    min-height: 48px;
    border: 1px solid var(--line);
    background: #fffefb;
    color: var(--ink);
    border-radius: 12px;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 0.2rem rgba(150, 61, 45, 0.12);
}

.btn-auth {
    min-height: 52px;
    background: linear-gradient(135deg, var(--forest-light), var(--forest));
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-auth:hover {
    background: linear-gradient(135deg, var(--forest), #6b2b22);
    color: #fff;
}

.btn-demo-fill {
    min-height: 48px;
    color: var(--forest-light);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
}

.btn-demo-fill:hover,
.btn-demo-fill:focus-visible {
    color: var(--forest);
    background: var(--paper);
}

.auth-footer-links {
    color: var(--muted);
    font-size: 14px;
}

.auth-footer-links a {
    color: var(--forest-light);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-links a:hover {
    text-decoration: underline;
}

.auth-footer-links span {
    display: inline-block;
    margin: 0 10px;
    color: rgba(64, 37, 30, 0.5);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.plan-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    padding: 18px 18px 16px;
    background: #fffaf5;
    border: 2px solid var(--line);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.plan-option input,
.payment-method input {
    appearance: auto;
    -webkit-appearance: radio;
    position: static;
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 1;
    cursor: pointer;
    accent-color: var(--forest-light);
    z-index: 2;
}

.plan-option:hover,
.plan-option.selected,
.plan-option:has(input:checked),
.payment-method:has(input:checked),
.payment-method.selected {
    border-color: #b43c24;
    box-shadow: 0 0 0 3px rgba(180, 60, 36, .18), 0 14px 26px rgba(92, 36, 27, .14);
    transform: translateY(-2px);
    background: #fff0e8;
}

.plan-option.selected::after,
.plan-option:has(input:checked)::after,
.payment-method.selected::after,
.payment-method:has(input:checked)::after {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    color: #fffaf2;
    background: #9e301d;
    border-radius: 3px;
    content: "SELECTED";
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
}

.plan-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.plan-title {
    color: var(--forest);
    font-weight: 700;
    font-size: 15px;
}

.plan-price {
    color: var(--forest-light);
    font-size: 19px;
    font-weight: 800;
}

.plan-price span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-total {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.plan-copy {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.plan-option-wide {
    grid-column: 1 / -1;
}

.plan-tier-option .plan-title {
    padding-right: 76px;
}

.plan-term-options {
    display: grid;
    gap: 8px;
}

.plan-term-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    color: var(--ink);
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
}

.plan-term-option:has(input:checked) {
    color: var(--forest);
    background: #ffe5d7;
    border-color: #b43c24;
    box-shadow: inset 0 0 0 1px #b43c24;
}

.plan-term-option strong {
    color: var(--forest-light);
    font-size: 15px;
}

.plan-save {
    align-self: flex-start;
    padding: 4px 8px;
    color: #31552b;
    background: #e7f0dc;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.voucher-result {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    margin-top: 12px;
    padding: 13px 15px;
    color: var(--ink);
    background: #f3eadb;
    border-left: 4px solid #5f742f;
    border-radius: 4px;
    font-size: 13px;
}

.voucher-result strong {
    grid-column: 1 / -1;
    padding-top: 7px;
    border-top: 1px solid var(--line);
    color: #3d4a1f;
    font-size: 16px;
}

.voucher-discount { color: #3d6b35; font-weight: 700; }

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.payment-method {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffaf5;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.payment-method span {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--ink);
    font-size: 13px;
}

.payment-method.selected {
    border-color: var(--forest-light);
    background: #fff2eb;
}

.payment-method-disabled {
    cursor: not-allowed;
    opacity: .62;
}

.payment-method span strong {
    color: var(--forest);
    font-size: 14px;
}

.payment-method span small {
    color: var(--muted);
    font-size: 11px;
}

.form-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

.plan-summary-box,
.payment-instructions-box {
    background: #fffaf5;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 18px 16px;
}

.plan-summary-box strong,
.payment-instructions-box h5 {
    color: var(--forest);
}

.payment-instructions-box ul {
    padding-left: 18px;
    margin: 0;
    color: var(--ink);
    line-height: 1.8;
}

.payment-instructions-box p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1020px) {
    .hero-inner { width: min(100% - 48px, 620px); min-height: auto; grid-template-columns: 1fr; gap: 34px; padding: 34px 0 76px; }
    .hero-copy { max-width: none; }
    .hero-offer { width: 100%; margin: 0 0 24px; }
    .hero-inner .storefront-stage { width: min(100%, 460px); max-width: 460px; height: 450px; justify-self: center; }
    .center-rotation { min-height: 0; }
    .featured-shops { width: min(100%, 460px); height: auto; min-height: 0; justify-self: center; }
}

@media (max-width: 620px) {
    .auth-shell,
    .auth-shell-wide {
        width: min(100%, 460px);
    }

    .plan-grid,
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .auth-card-header {
        padding: 22px 20px 16px;
    }

    .auth-card-body {
        padding: 20px 18px 22px;
    }

    .plan-option {
        min-height: 160px;
    }
}

@media (max-width: 680px) {
    .header-inner, .section-inner, .plans-inner, .footer-inner { width: 100%; max-width: 100%; padding-inline: 12px; }
    .header-inner {
        min-height: 70px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px 8px;
    }
    .brand {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 8px;
        max-width: none;
        min-width: 0;
    }
    .brand-logo {
        width: min(94vw, 300px);
        max-width: 100%;
        height: auto;
        flex-shrink: 1;
    }
    .brand-mark { width: 51px; height: 51px; }
    .brand-name { font-size: 18px; }
    .main-nav {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }
    .header-cta { gap: 8px; padding: 10px 9px; font-size: 12px; }
    .hero-inner { width: min(100% - 40px, 560px); min-height: auto; gap: 32px; padding: 28px 0 70px; }
    .hero h1 { font-size: 48px; }
    .hero-intro { font-size: 15px; }
    .hero-edge { right: 20px; bottom: 16px; gap: 10px; font-size: 7px; }
    .hero-edge span + span::before { padding-right: 10px; }
    .storefront-topbar { min-height: 62px; padding: 0 11px; }
    .storefront-brand { gap: 7px; }
    .storefront-brand strong { font-size: 15px; }
    .storefront-brand small { font-size: 8px; }
    .storefront-initial { width: 31px; height: 31px; }
    .storefront-topbar > a { gap: 4px; padding: 7px 8px; font-size: 7px; }
    .storefront-scene { min-height: 185px; padding: 18px 46% 18px 16px; }
    .storefront-scene-photo { width: 43%; }
    .storefront-scene h2 { font-size: 24px; }
    .storefront-scene > span { max-width: 165px; font-size: 9px; }
    .storefront-shelf { padding: 14px 17px 10px; }
    .shelf-row { font-size: 10px; }
    .storefront-footer { padding-inline: 17px; }
    .preview-stamp { top: -19px; right: -14px; width: 68px; height: 68px; font-size: 7px; }
    .feature-section { padding: 56px 0 60px; }
    .featured-shops { padding: 19px; }
    .section-heading { display: block; margin-bottom: 24px; }
    .section-heading h2 { font-size: 36px; }
    .section-heading > p:last-child { margin-top: 15px; }
    .feature-list { grid-template-columns: 1fr; }
    .feature-item, .feature-item + .feature-item { min-height: auto; padding: 18px 0 18px 61px; border-left: 0; border-bottom: 1px solid var(--line); }
    .feature-number { top: 27px; right: 2px; }
    .feature-icon { position: absolute; top: 19px; left: 0; width: 43px; height: 43px; margin: 0; }
    .feature-item h3 { margin-bottom: 5px; padding-right: 36px; }
    .footer-inner { min-height: 145px; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding: 20px 0; }
    .footer-inner > p { order: 3; flex-basis: 100%; }
}

@media (max-width: 370px) {
    .header-inner { flex-wrap: wrap; padding-block: 10px; }
    .header-actions { margin-left: auto; }
    .header-cta { font-size: 11px; padding: 9px 8px; }
    .brand-name { font-size: 16px; }
    .hero h1 { font-size: 43px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .storefront-brand strong { font-size: 14px; }
}

@media (max-width: 420px) {
    .hero-offer {
        min-height: 132px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 1fr auto;
        gap: 10px;
        padding: 11px;
    }

    .hero-offer > p {
        max-width: 155px;
        font-size: 16px;
    }

    .hero-offer-price {
        grid-column: 2;
        grid-row: 1 / span 2;
        min-width: 108px;
        padding: 10px 8px 8px;
    }

    .hero-offer-plans {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        justify-self: start;
        margin: 0;
    }

    .hero-offer-price strong {
        font-size: 46px;
    }

    .hero-offer-price strong span {
        font-size: 23px;
        vertical-align: 10px;
    }
}

@media (min-width: 621px) and (max-width: 920px) {
    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}