@font-face {
    font-family: "Playfair Card";
    src: url("../fonts/PlayfairDisplay-SemiBold.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 600;
}

:root {
    --ink: #18202a;
    --muted: #5d6672;
    --paper: #ffffff;
    --page: #fffdfb;
    --soft: #fff7ee;
    --soft-blue: #edf6ff;
    --line: #e7e9ed;
    --line-strong: #d7dce3;
    --brand: #d93625;
    --brand-dark: #ac2519;
    --brand-soft: #fff0ed;
    --navy: #102c4c;
    --navy-soft: #eaf1f8;
    --gold: #f2a51a;
    --success: #147a4b;
    --focus: 0 0 0 3px rgba(217, 54, 37, 0.2);
    --shadow-sm: 0 8px 24px rgba(31, 45, 61, 0.08);
    --shadow: 0 18px 55px rgba(31, 45, 61, 0.11);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius: 22px;
    --space-section: 68px;
    --shell: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    background: var(--navy);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    width: calc(100% - 32px);
    max-width: var(--shell);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 20px rgba(31, 45, 61, 0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: 146px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    justify-content: flex-end;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 9px;
    border: 0;
    border-radius: 10px;
    color: var(--navy);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    color: #334256;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.nav-dropdown summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #334256;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 750;
    list-style: none;
    white-space: nowrap;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
}

.nav-dropdown[open] summary::after {
    transform: translateY(2px) rotate(225deg);
}

.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible,
.nav-dropdown[open] summary {
    color: #b86b00;
    background: #fff3c4;
}

.nav-dropdown summary[aria-current="page"] {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.nav-dropdown-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    display: grid;
    gap: 3px;
    padding: 9px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(31, 45, 61, 0.18);
}

.nav-dropdown-wide .nav-dropdown-panel {
    width: 390px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.main-nav .nav-dropdown-panel a {
    min-height: 40px;
    justify-content: flex-start;
    padding: 8px 11px;
    border-radius: 9px;
    font-size: 0.82rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #b86b00;
    background: #fff3c4;
}

.main-nav a[aria-current="page"] {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.home-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0e7dc;
    background:
        radial-gradient(circle at 8% 12%, rgba(242, 165, 26, 0.2), transparent 27%),
        radial-gradient(circle at 92% 8%, rgba(217, 54, 37, 0.12), transparent 30%),
        linear-gradient(135deg, #fffdf9 0%, #fff4e5 100%);
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -160px;
    width: 390px;
    height: 390px;
    border: 52px solid rgba(255, 255, 255, 0.54);
    border-radius: 50%;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
    align-items: center;
    gap: clamp(42px, 7vw, 88px);
    padding-block: 68px 74px;
}

.home-hero-copy h1 {
    max-width: 690px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.home-hero-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: 20px 0 0;
    color: #526172;
    font-size: clamp(1rem, 2vw, 1.14rem);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.home-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 24px 0 0;
    padding: 0;
    color: #526172;
    font-size: 0.82rem;
    font-weight: 750;
    list-style: none;
}

.home-trust-list li {
    position: relative;
    padding-left: 17px;
}

.home-trust-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    transform: translateY(-50%);
}

.home-featured-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(16, 44, 76, 0.15);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 25px 65px rgba(31, 45, 61, 0.2);
    text-decoration: none;
    transform: rotate(1deg);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.home-featured-card:hover,
.home-featured-card:focus-visible {
    box-shadow: 0 28px 70px rgba(31, 45, 61, 0.25);
    transform: rotate(0deg) translateY(-3px);
}

.home-featured-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.home-featured-label,
.category-status {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(16, 44, 76, 0.9);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-featured-action {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    background: rgba(217, 54, 37, 0.94);
    font-size: 0.82rem;
    font-weight: 850;
}

.home-section {
    padding-block: var(--space-section);
}

.archive-hero {
    border-bottom: 1px solid #e5edf5;
    background:
        radial-gradient(circle at 18% 5%, rgba(242, 165, 26, 0.18), transparent 25%),
        linear-gradient(135deg, #fffdf9 0%, #edf6ff 100%);
}

.archive-hero-inner {
    max-width: 850px;
    padding-block: 54px 58px;
    text-align: center;
}

.archive-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.archive-hero p:last-child {
    max-width: 690px;
    margin: 17px auto 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.archive-card-grid .category-card-body {
    min-height: 220px;
}

.section-heading > p:last-child {
    max-width: 660px;
    margin: 12px auto 0;
    color: var(--muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.category-card {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.category-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--navy-soft);
}

.category-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.category-card.is-live:hover .category-image-wrap img {
    transform: scale(1.025);
}

.category-card.is-coming-soon .category-image-wrap img {
    filter: saturate(0.4);
    opacity: 0.68;
}

.category-card.is-coming-soon .category-status {
    background: rgba(77, 89, 104, 0.9);
}

.category-card-body {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    padding: 22px;
}

.category-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.22rem;
    line-height: 1.25;
}

.category-card p {
    margin: 10px 0 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.category-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 850;
    text-underline-offset: 3px;
}

.category-link.is-disabled {
    color: #7a8491;
    cursor: default;
    text-decoration: none;
}

.home-process {
    border-block: 1px solid #e5edf5;
    background: var(--soft-blue);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.benefit-grid article {
    padding: 24px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.benefit-grid span {
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.benefit-grid h3 {
    margin: 12px 0 8px;
    color: var(--navy);
    font-size: 1.05rem;
}

.benefit-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0e7dc;
    background:
        radial-gradient(circle at 12% 15%, rgba(242, 165, 26, 0.19), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(217, 54, 37, 0.11), transparent 30%),
        linear-gradient(135deg, #fffdf9 0%, #fff5e8 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 340px;
    height: 340px;
    border: 46px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding-block: 54px 58px;
    text-align: center;
}

.eyebrow,
.step-label {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 820px;
    margin: 0 auto;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hero-copy {
    max-width: 690px;
    margin: 18px auto 0;
    color: #526172;
    font-size: clamp(1rem, 2vw, 1.14rem);
}

.generator-section {
    padding-block: 48px 62px;
}

.generator-card {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.generator-heading {
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.generator-heading h2,
.section-heading h2,
.article-layout h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.generator-heading > p:last-child {
    margin: 8px 0 0;
    color: var(--muted);
}

.generator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.preview-column {
    min-width: 0;
    padding: 30px;
    background: linear-gradient(145deg, #f8fbff 0%, #eef6ff 100%);
}

.preview-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: #3b4d61;
    font-size: 0.83rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.privacy-note {
    color: var(--success);
    font-size: 0.75rem;
}

.card-stage {
    position: relative;
    container-type: inline-size;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(16, 44, 76, 0.12);
    border-radius: 12px;
    background: #dae6ef;
    box-shadow: 0 12px 30px rgba(24, 32, 42, 0.16);
}

.template-image,
.generated-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    z-index: 2;
    object-fit: cover;
}

.photo-overlay.has-customer-photo {
    border: 2px solid #e6192a;
    background: #dfeaf4;
}

.photo-overlay.photo-shape-round {
    border-radius: 50%;
}

.photo-overlay.photo-shape-rounded {
    border-radius: 9%;
    border-radius: var(--photo-corner-radius, 9%);
}

.name-overlay {
    position: absolute;
    z-index: 2;
    display: block;
    overflow: hidden;
    color: #111111;
    font-family: "Playfair Card", Georgia, serif;
    font-weight: 600;
    line-height: 1.08;
    white-space: nowrap;
    transform: translateY(-50%);
}

.generated-image {
    z-index: 5;
    visibility: hidden;
    opacity: 0;
}

.generated-image.is-visible {
    visibility: visible;
    opacity: 1;
}

.preview-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: #546376;
    font-size: 0.88rem;
    text-align: center;
}

.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.result-actions:not(.is-ready) {
    opacity: 0.62;
}

.generator-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 34px 30px;
    background: #ffffff;
}

.field-group {
    display: grid;
    gap: 9px;
}

.field-group label,
.field-label {
    color: #25354a;
    font-size: 0.92rem;
    font-weight: 800;
}

.field-group input[type="text"] {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #cfd6de;
    border-radius: 11px;
    outline: none;
    color: var(--ink);
    background: #ffffff;
}

.field-group input[type="text"]:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(16, 44, 76, 0.1);
}

.field-help,
.submit-note {
    margin: 0;
    color: #707986;
    font-size: 0.78rem;
    line-height: 1.45;
}

.upload-control {
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px dashed #aeb8c5;
    border-radius: 13px;
    color: #25354a;
    background: #fafcff;
    cursor: pointer;
    text-align: left;
}

.upload-control:hover,
.upload-control:focus-visible {
    border-color: var(--brand);
    background: var(--soft);
}

.upload-control strong,
.upload-control small {
    display: block;
}

.upload-control small {
    margin-top: 2px;
    color: #738092;
    font-size: 0.76rem;
}

.upload-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
}

.text-button {
    width: fit-content;
    padding: 0;
    border: 0;
    color: var(--brand-dark);
    background: transparent;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button-primary {
    color: #ffffff;
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 8px 20px rgba(217, 54, 37, 0.19);
}

.button-primary:hover,
.button-primary:focus-visible {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    box-shadow: 0 10px 24px rgba(172, 37, 25, 0.24);
}

.button-secondary {
    color: var(--navy);
    border-color: #c6d0dc;
    background: #ffffff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--navy);
    background: #f7faff;
}

.button-whatsapp {
    color: #ffffff;
    border-color: #168a4a;
    background: #1da851;
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
    border-color: #11713c;
    background: #168a4a;
}

.button:not(:disabled):active {
    transform: translateY(1px);
}

.button-large {
    min-height: 54px;
    width: 100%;
    margin-top: auto;
}

.button:disabled,
.button.is-loading {
    cursor: not-allowed;
    opacity: 0.68;
}

.button.is-loading {
    cursor: wait;
}

.form-message {
    padding: 11px 13px;
    border: 1px solid #f0b4ad;
    border-radius: 10px;
    color: #8b1f15;
    background: #fff2f0;
    font-size: 0.86rem;
    line-height: 1.45;
}

.form-message[hidden] {
    display: none;
}

.content-section {
    padding-block: var(--space-section);
}

.soft-section {
    border-block: 1px solid #f0e7dc;
    background: var(--soft);
}

.content-shell,
.faq-shell {
    max-width: 980px;
}

.info-layout {
    max-width: 900px;
    display: grid;
    gap: 18px;
}

.info-section,
.info-contact-card {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.info-section h2,
.info-contact-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    line-height: 1.25;
}

.info-section p,
.info-contact-card p {
    margin: 13px 0 0;
    color: var(--muted);
}

.info-section ul {
    display: grid;
    gap: 9px;
    margin: 15px 0 0;
    padding-left: 22px;
    color: var(--muted);
}

.info-updated {
    color: #6b7480 !important;
    font-size: 0.84rem !important;
    font-weight: 750;
}

.info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 16px;
}

.info-section a,
.info-contact-card a {
    color: #075fa8;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.info-section a:hover,
.info-section a:focus-visible,
.info-contact-card a:hover,
.info-contact-card a:focus-visible {
    color: var(--brand-dark);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding: 25px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.steps span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--navy);
    font-weight: 900;
}

.steps h3 {
    margin: 16px 0 7px;
    color: var(--navy);
    font-size: 1.08rem;
}

.steps p,
.article-layout p,
.feature-list li,
.faq-list p {
    color: var(--muted);
}

.steps p {
    margin: 0;
    font-size: 0.92rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: start;
    gap: 54px;
}

.article-layout article p {
    margin: 16px 0 0;
}

.article-layout article a,
.content-section p a,
.content-section li a,
.faq-list p a {
    color: #075fa8;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.article-layout article a:hover,
.article-layout article a:focus-visible,
.content-section p a:hover,
.content-section p a:focus-visible,
.content-section li a:hover,
.content-section li a:focus-visible,
.faq-list p a:hover,
.faq-list p a:focus-visible {
    color: var(--brand-dark);
}

.feature-list {
    padding: 25px;
    border: 1px solid #ecd8c1;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
}

.feature-list h2 {
    font-size: 1.25rem;
}

.feature-list ul {
    display: grid;
    gap: 10px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 900;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(31, 45, 61, 0.045);
}

.faq-list summary {
    position: relative;
    padding: 18px 50px 18px 20px;
    color: #24354a;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--brand);
    font-size: 1.5rem;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    margin: 0;
    padding: 0 20px 20px;
}

.generator-support {
    padding: 0 0 var(--space-section);
    background: var(--surface);
}

.generator-support-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid #f0c98a;
    border-radius: var(--radius-card);
    color: var(--ink);
    background: linear-gradient(135deg, #fff9ed, #fff2dc);
    box-shadow: var(--shadow-card);
    text-decoration: none;
}

.generator-support-card:hover,
.generator-support-card:focus-visible {
    border-color: #d99a33;
    transform: translateY(-2px);
}

.generator-support-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #a55224;
}

.generator-support-icon svg {
    fill: currentColor;
}

.generator-support-card strong,
.generator-support-text {
    display: block;
}

.generator-support-card strong {
    font-size: 1.08rem;
}

.generator-support-text {
    margin-top: 4px;
    color: var(--muted);
}

.generator-support-link {
    color: var(--brand);
    font-weight: 900;
    white-space: nowrap;
}

.support-payment-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
    gap: 38px;
    align-items: center;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.support-payment-logo {
    width: 150px;
    height: auto;
    margin-bottom: 18px;
}

.support-payment-copy h2 {
    margin-top: 7px;
}

.support-payment-details {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
}

.support-payment-details div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.support-payment-details dt {
    color: var(--muted);
    font-weight: 700;
}

.support-payment-details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-weight: 900;
}

.support-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.support-copy-status {
    min-height: 24px;
    margin: 8px 0 0;
    color: #147a4b;
    font-size: 0.88rem;
    font-weight: 800;
}

.support-safety,
.support-terms {
    font-size: 0.9rem;
}

.support-safety {
    padding: 14px;
    border-left: 4px solid #147a4b;
    background: #eefaf4;
}

.support-terms {
    color: var(--muted);
}

.support-qr-wrap {
    padding: 18px;
    border-radius: 22px;
    background: #f3f6f9;
    text-align: center;
}

.support-qr-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.support-qr-wrap p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.site-footer {
    color: #d8e0e9;
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 54, 37, 0.13), transparent 28%),
        #101d2c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 0.8fr 1fr;
    gap: 40px;
    padding-block: 54px 42px;
}

.footer-brand {
    display: inline-block;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1rem;
}

.site-footer p {
    max-width: 390px;
    margin: 9px 0 0;
    color: #b7c3cf;
    font-size: 0.88rem;
}

.footer-status {
    width: fit-content;
    display: block;
    margin-top: 16px;
    padding: 6px 10px;
    border: 1px solid rgba(106, 210, 158, 0.26);
    border-radius: 999px;
    color: #8ee0b6;
    background: rgba(20, 122, 75, 0.12);
    font-size: 0.75rem;
    font-weight: 800;
}

.site-footer a:not(.footer-brand) {
    display: block;
    width: fit-content;
    margin-top: 9px;
    color: #d8e0e9;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a:active {
    color: #ffd34d !important;
}

@media (hover: none) {
    .site-footer a:not(.footer-brand) {
        color: #ffd34d;
    }
}

.footer-note {
    color: #8f9eae !important;
    font-size: 0.78rem !important;
}

.footer-bottom {
    padding-block: 18px;
    border-top: 1px solid #2b3a4c;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
}

.crop-dialog {
    width: min(calc(100% - 24px), 480px);
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 0;
    border-radius: 20px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.crop-dialog::backdrop {
    background: rgba(13, 24, 38, 0.72);
}

.crop-panel {
    padding: 22px;
}

.crop-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.crop-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.45rem;
}

.icon-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: #46566a;
    background: #ffffff;
    cursor: pointer;
    font-size: 1.65rem;
    line-height: 1;
}

.crop-workspace {
    min-height: 330px;
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: 15px;
    background: #101b28;
}

#cropCanvas {
    display: block;
    max-width: min(100%, 320px);
    max-height: min(52dvh, 360px);
    border: 2px solid #ffffff;
    background: #dfe8f1;
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.08);
    cursor: grab;
    touch-action: none;
}

#cropCanvas.is-round {
    border-radius: 50%;
}

#cropCanvas.is-rounded {
    border-radius: 28px;
}

#cropCanvas.is-dragging {
    cursor: grabbing;
}

.zoom-control {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    color: #33455a;
    font-size: 0.86rem;
    font-weight: 800;
}

.zoom-control input {
    width: 100%;
    accent-color: var(--brand);
}

.crop-help {
    margin: 8px 0 0;
    color: #718093;
    font-size: 0.78rem;
    text-align: center;
}

.crop-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 1120px) {
    .header-inner {
        min-height: auto;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 7px;
        padding-block: 8px 6px;
    }

    .brand img {
        width: 120px;
    }

    .brand {
        grid-column: 2;
        justify-self: center;
        margin: 0;
    }

    .menu-toggle {
        grid-column: 3;
        display: grid;
    }

    .main-nav {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3px;
        overflow: visible;
    }

    .site-header.menu-ready .main-nav {
        display: none;
    }

    .site-header.menu-ready .main-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-block: 4px 7px;
    }

    .main-nav > a,
    .nav-dropdown summary {
        min-height: 38px;
        justify-content: center;
        padding: 7px 10px;
        font-size: 0.8rem;
    }

    .nav-dropdown {
        min-width: 0;
    }

    .nav-dropdown[open] {
        grid-column: 1 / -1;
    }

    .nav-dropdown summary {
        width: 100%;
    }

    .nav-dropdown-panel,
    .nav-dropdown-wide .nav-dropdown-panel {
        position: static;
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 4px;
        box-shadow: none;
    }

    .main-nav .nav-dropdown-panel a {
        justify-content: center;
        text-align: center;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-block: 54px 60px;
    }

    .home-hero-copy {
        text-align: center;
    }

    .home-hero-copy h1,
    .home-hero-copy > p:not(.eyebrow) {
        margin-inline: auto;
    }

    .home-hero-actions,
    .home-trust-list {
        justify-content: center;
    }

    .home-featured-card {
        width: min(100%, 680px);
        margin-inline: auto;
        transform: none;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-hero-inner {
        padding-block: 48px 52px;
    }

    .generator-grid {
        grid-template-columns: 1fr;
    }

    .generator-form {
        border-top: 1px solid var(--line);
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .support-payment-card {
        grid-template-columns: 1fr;
    }

    .support-qr-wrap {
        width: min(100%, 410px);
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    :root {
        --space-section: 52px;
    }

    .site-header {
        position: relative;
    }

    .site-shell {
        width: calc(100% - 22px);
    }

    .header-inner {
        gap: 5px;
        padding-block: 7px 5px;
    }

    .brand img {
        width: 108px;
    }

    .main-nav {
        gap: 3px 2px;
    }

    .main-nav > a,
    .nav-dropdown summary {
        min-height: 34px;
        padding: 5px 8px;
        font-size: 0.74rem;
    }

    .nav-dropdown-panel,
    .nav-dropdown-wide .nav-dropdown-panel {
        grid-template-columns: 1fr;
    }

    .home-hero-grid {
        gap: 30px;
        padding-block: 42px 48px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .home-hero-copy > p:not(.eyebrow) {
        margin-top: 15px;
        font-size: 0.95rem;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .home-trust-list {
        gap: 7px 14px;
        margin-top: 20px;
        font-size: 0.74rem;
    }

    .home-featured-card {
        border-radius: var(--radius-md);
    }

    .home-featured-label {
        top: 9px;
        left: 9px;
        font-size: 0.62rem;
    }

    .home-featured-action {
        right: 9px;
        bottom: 9px;
        padding: 7px 9px;
        font-size: 0.72rem;
    }

    .category-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .category-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
        justify-self: stretch;
    }

    .category-card-body {
        min-height: 0;
        padding: 19px;
    }

    .benefit-grid article {
        padding: 20px;
    }

    .archive-hero-inner {
        padding-block: 40px 44px;
    }

    .archive-hero h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .archive-hero p:last-child {
        margin-top: 14px;
        font-size: 0.94rem;
    }

    .archive-card-grid .category-card-body {
        min-height: 0;
    }

    .hero-inner {
        padding-block: 38px 42px;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.45rem);
    }

    .hero-copy {
        margin-top: 14px;
        font-size: 0.96rem;
    }

    .generator-section {
        padding-block: 26px 46px;
    }

    .generator-card {
        border-radius: 16px;
    }

    .generator-heading {
        padding: 23px 18px 20px;
    }

    .preview-column,
    .generator-form {
        padding: 20px 14px;
    }

    .card-stage {
        border-radius: 8px;
    }

    .preview-label {
        font-size: 0.72rem;
    }

    .privacy-note {
        font-size: 0.67rem;
    }

    .result-actions {
        gap: 8px;
    }

    .result-actions .button {
        padding-inline: 10px;
        font-size: 0.86rem;
    }

    .content-section {
        padding-block: var(--space-section);
    }

    .generator-support-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .generator-support-link {
        grid-column: 2;
    }

    .support-payment-card {
        gap: 26px;
        padding: 22px 16px;
    }

    .support-payment-actions .button {
        width: 100%;
    }

    .support-payment-details div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .steps li {
        display: grid;
        grid-template-columns: 36px 1fr;
        column-gap: 14px;
        padding: 19px;
    }

    .steps h3 {
        align-self: center;
        margin: 0;
    }

    .steps p {
        grid-column: 2;
        margin-top: 5px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 44px 34px;
    }

    .footer-grid > :first-child {
        grid-column: auto;
    }

    .crop-panel {
        padding: 18px 14px;
    }

    .crop-workspace {
        min-height: 300px;
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
