/* Homepage visual system. Shared policy and gallery styles remain unchanged. */
.home-page {
    --ink: #282334;
    --muted: #6a6575;
    --paper: #faf9f6;
    --line: #e8e4ed;
    --accent: #6b21a8;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

.home-page .container { width: 100%; max-width: 1240px; padding-inline: clamp(20px, 4vw, 48px); }
.home-page section[id] { scroll-margin-top: 100px; }
.home-page > section:not(.home-hero) { padding-block: clamp(56px, 7vw, 104px); }
.home-page h1, .home-page h2, .home-page h3 { letter-spacing: -.035em; text-wrap: balance; }
.home-page p { line-height: 1.75; }
.home-page h2 { line-height: 1.15; font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.home-page a, .home-page button { -webkit-tap-highlight-color: transparent; }
.home-page :is(a, button, input, textarea):focus-visible { outline: 3px solid #a78bfa; outline-offset: 4px; }
.home-page ::selection { background: #e9ddf4; color: #321449; }

/* A quiet, compact brand header. */
.home-page > header { background: rgb(41 23 59 / 96%); backdrop-filter: blur(16px); box-shadow: none; border-bottom: 1px solid rgb(255 255 255 / 10%); }
.home-page > header > .container { max-width: 1440px; }
.home-page #homeLogo img { height: 48px; }
.home-page #homeLogo span { font-size: 1.05rem; letter-spacing: -.025em; }
.home-page #mainNav { font-size: .8rem; }
.home-page #mainNav > a { white-space: nowrap; }
.home-page #mainNav > a[href="#contact"].bg-white { border-radius: 999px !important; }

/* Hero: editorial copy paired with a framed product photograph. */
.home-hero { padding: 144px 0 80px; overflow: hidden; background: radial-gradient(ellipse at 95% 5%, #ece3f5 0, transparent 55%), var(--paper); }
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.home-page .section-eyebrow { margin: 0 0 20px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.hero-copy h1 { font-size: clamp(2.5rem, 4.7vw, 4.15rem); font-weight: 600; line-height: 1.06; margin-bottom: 24px; }
.hero-description { color: var(--muted); font-size: 1.08rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.button-solid { display: inline-flex; justify-content: center; align-items: center; border-radius: 999px; padding: 14px 25px; background: var(--accent); color: #fff; font-weight: 600; font-size: .9rem; transition: background .2s; }
.button-solid:hover { background: #4c187a; }
.button-text { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.button-text:hover { color: var(--accent); }
.hero-capabilities { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .72rem; color: var(--muted); }
.hero-capabilities span + span::before { content: '·'; margin-right: 14px; color: #9d86b5; }
.hero-visual { position: relative; min-width: 0; margin: 0; padding: 14px; border: 1px solid #e2d9eb; border-radius: 120px 28px 28px 28px; background: #f0eaf5; }
.hero-visual > img { position: relative; width: 100%; height: clamp(320px, 34vw, 460px); object-fit: cover; border-radius: 108px 18px 18px 18px; }
.hero-orbit { position: absolute; width: 360px; height: 360px; border: 1px solid #d5c7e2; border-radius: 50%; right: -80px; top: -40px; pointer-events: none; }
.hero-visual figcaption { display: flex; align-items: center; gap: 12px; position: relative; padding: 18px 6px 4px; font-size: .85rem; color: #59466a; }
.hero-caption-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: white; }
.hero-caption-dot { width: 7px; height: 7px; background: #81718e; border-radius: 50%; margin-left: auto; flex-shrink: 0; }

/* Full-bleed photography, with more compact secondary sections. */
.home-page #carousel { background: #fff; padding-bottom: 36px; }
.home-page #carousel .text-center { text-align: left; margin-bottom: 28px; }
.home-page #carousel .text-center p { margin-inline: 0; }
.home-page #carousel h2 { color: var(--ink); }
.home-page .carousel-container { border-radius: 24px; box-shadow: none; background: #eeeaf2; }
.home-page .carousel-slide { flex: 0 0 100%; min-width: 0; }
.home-page .carousel-slide img { display: block; height: clamp(340px, 50vw, 680px); }
.home-page :is(#prevBtn, #nextBtn) { background: rgb(255 255 255 / 94%); color: var(--ink); width: 44px; height: 44px; box-shadow: 0 2px 12px rgb(0 0 0 / 8%); }
.home-page #prevBtn { left: 18px; }
.home-page #nextBtn { right: 18px; }
.home-page #demo-gallery { padding-block: 24px 48px; background: #fff; }
.home-page #demo-gallery .container > div { max-width: none; text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.home-page #demo-gallery h2 { font-size: 1.2rem; color: var(--ink); }
.home-page #demo-gallery p { grid-column: 1; font-size: .9rem; margin: 0; }
.home-page #demo-gallery a { grid-column: 2; grid-row: 1 / 3; border-radius: 999px; background: #f0e9f6; color: var(--accent); font-size: .85rem; }
.home-page #painpoints { background: var(--paper); }
.home-page #painpoints h2 { color: var(--ink); }
.home-page #painpoints .grid { max-width: none; gap: 20px; }
.home-page #painpoints .grid > div { background: transparent; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; border-radius: 0; padding: 24px 8px; }
.home-page #painpoints .grid h3 { color: var(--ink); font-size: 1.05rem; }
.home-page #painpoints .grid p { font-size: .9rem; }
.home-page #painpoints .grid .rounded-full { background: #eee8f4; border-radius: 14px; }
.home-page #painpoints > .container > .mt-12 { border-top: 0; margin-top: 32px; }
.home-page #painpoints > .container > .mt-12 p { font-size: 1rem; font-weight: 500; }

/* Bento system: content always determines height, including long translations. */
.editorial-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.editorial-heading h2 { margin: 0; color: var(--ink); font-weight: 600; }
.editorial-heading > p { max-width: 28rem; margin: 0 0 3px auto; color: var(--muted); font-size: 1rem; }
.feature-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.feature-tile { grid-column: span 4; min-width: 0; padding: clamp(24px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line); background: #faf9fc; transition: border-color .2s, box-shadow .2s; }
.feature-tile:hover { border-color: #cfc0de; box-shadow: 0 10px 28px rgb(55 34 72 / 5%); }
.tile-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.tile-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e5deed; border-radius: 13px; background: #fff; color: var(--accent); font-size: 1.25rem; }
.tile-index { color: #82758e; font-size: .75rem; font-variant-numeric: tabular-nums; }
.feature-tile h3 { margin-bottom: 12px; font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
.feature-tile p { margin: 0; font-size: .92rem; color: var(--muted); }
.feature-tile-lead { grid-column: span 7; background: #2d1d3d; color: white; border-color: #2d1d3d; }
.feature-tile-lead h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); max-width: 24rem; }
.feature-tile-lead p { color: #d7cce2; max-width: 30rem; }
.feature-tile-lead .tile-icon { background: #493457; border-color: #624b73; color: #e4c9f9; }
.feature-tile-lead .tile-index { color: #b7a6c4; }
.feature-tile-language { grid-column: span 5; background: #eee7f5; display: flex; flex-direction: column; justify-content: center; }
.feature-tile-dinein { grid-column: span 5; grid-row: span 2; background: #f4f2ed; }
.feature-tile-bundle { grid-column: span 7; background: #fbfaf7; }
.feature-tile-future { grid-column: span 4; }
.feature-tile-team { grid-column: span 3; background: #f0edf6; }
.workflow-art { display: flex; align-items: center; max-width: 380px; margin-top: 36px; padding: 18px 0 0; }
.workflow-art > span:not(.workflow-link) { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid #685376; border-radius: 14px; color: #dfcee9; font-size: 1.3rem; }
.workflow-art .workflow-center { width: 78px !important; font-size: .8rem !important; letter-spacing: .08em; background: #493457; }
.workflow-link { flex: 1; height: 1px; background: #685376; }
.feature-checklist { list-style: none; margin: 24px 0 0; padding: 0; }
.feature-checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 18px 0; border-top: 1px solid #e0ddd5; font-size: .95rem; line-height: 1.6; }
.feature-checklist i { color: var(--accent); }

/* Story and testimonials: less staging, more human context. */
.home-page #ourstory { background: var(--paper); }
.home-page #ourstory > .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.home-page #ourstory .text-center.mb-12 { text-align: left; margin: 0; }
.home-page #ourstory h2 { color: var(--ink); }
.home-page #ourstory .max-w-2xl { max-width: none; }
.home-page #ourstory .max-w-2xl > div { padding: 0 0 0 32px; border-left: 2px solid #d5bfe6; border-radius: 0; background: transparent; box-shadow: none; }
.home-page #ourstory .max-w-2xl p { font-size: 1rem; color: #5d5667; }
.home-page #ourstory .mt-10 { text-align: left; margin-top: 24px; }
.home-page #testimonials { background: #f0edf3; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.testimonial-card { display: flex; flex-direction: column; min-width: 0; margin: 0; border-radius: 24px; overflow: hidden; background: white; border: 1px solid #e4deea; }
.testimonial-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.testimonial-photo { position: relative; min-width: 0; }
.testimonial-photo > img { width: 100%; height: 250px; display: block; object-fit: cover; }
.testimonial-card-featured .testimonial-photo > img { height: 100%; min-height: 380px; }
.photo-label { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 8px 13px; background: rgb(255 255 255 / 94%); border-radius: 999px; font-size: .72rem; font-weight: 600; color: #44334f; }
.testimonial-content { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 3vw, 40px); }
.quote-mark { display: block; height: 40px; color: #9a78b4; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; }
.testimonial-content blockquote { flex: 1; margin: 16px 0 32px; font-size: 1.15rem; letter-spacing: -.02em; color: #3e3348; }
.testimonial-card-featured blockquote { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.testimonial-author > img { width: 52px; height: 52px; border-radius: 50%; background: #f0eaf5; object-fit: cover; object-position: center 15%; }
.testimonial-author span { font-size: .9rem; font-weight: 600; }
.testimonial-author p { margin: 3px 0 0; font-size: .75rem; color: var(--muted); }

/* Align the existing functional sections with the new visual language. */
.home-page #pricing { background: #fff; }
.home-page #pricing article { box-shadow: none; transition: border-color .2s; }
.home-page #pricing article:hover { transform: none; }
.home-page #pricing article.relative { border-color: #9c7cb5; margin-block: 0; }
.home-page #pricing article.bg-gradient-to-br { background: #2d1d3d; }
.home-page #pricing > .container > .max-w-4xl h2 { color: var(--ink); }
.home-page #pricing .text-gray-700.text-lg { font-size: 1rem; }
/* A separate payment-partner offer, not an OMNI subscription discount. */
.sumup-intro .sumup-partner { margin-top: 0; }
.sumup-partner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 48px; margin-top: 48px; padding: clamp(24px, 4vw, 44px); border: 1px solid #ded2e8; border-radius: 24px; background: #f5f0f9; }
.sumup-partner > * { min-width: 0; overflow-wrap: anywhere; }
.sumup-partner .section-eyebrow { margin-bottom: 14px; }
.sumup-partner h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; font-weight: 600; margin-bottom: 16px; }
.sumup-partner-copy > p:not(.section-eyebrow) { color: var(--muted); font-size: .95rem; }
.sumup-signup { gap: 12px; margin-top: 24px; min-height: 48px; max-width: 100%; text-align: center; }
.sumup-signup > i { flex-shrink: 0; }
.sumup-partner-link { display: flex; width: fit-content; max-width: 100%; min-height: 44px; margin-top: 12px; line-height: 1.5; }
.sumup-partner-link > i { flex-shrink: 0; }
.sumup-benefits { display: grid; gap: 20px; align-content: center; margin: 0; }
.sumup-benefits > div { padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.sumup-benefits dt { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.sumup-benefits dd { margin: 8px 0 0; }
.sumup-benefits strong { display: block; color: var(--accent); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.sumup-previous { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }
.home-page .sumup-terms { grid-column: 1 / -1; border-top: 1px solid #ded2e8; padding-top: 20px; margin: 0; color: var(--muted); font-size: .78rem; }
.home-page #contact { background: var(--paper); }
.home-page #contact > .container > .max-w-2xl { max-width: 760px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: white; }
.home-page #contact h2 { color: var(--ink); }
.home-page #contact input, .home-page #contact textarea { background: #faf9fc; border-color: #e4deea; }
.home-page #policies { padding-block: 48px; background: #f2eef6; border-top: 1px solid var(--line); }
.home-page #policies h2 { font-size: 1.4rem; }
.home-page > section.gradient-bg { background: #2d1d3d; }
.home-page > footer { margin-top: 0; background: #21172b; }
.home-page > footer > .container { gap: 32px; }

@media (min-width: 1280px) {
    .home-page #mainNav > :not([hidden]) ~ :not([hidden]) { margin-left: 18px; }
}

@media (max-width: 1023px) {
    .hero-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
    .feature-tile, .feature-tile-lead, .feature-tile-language, .feature-tile-dinein,
    .feature-tile-bundle, .feature-tile-future, .feature-tile-team { grid-column: span 6; grid-row: auto; }
    .home-page #ourstory > .container { gap: 28px; }
}

@media (max-width: 767px) {
    .sumup-partner { grid-template-columns: 1fr; gap: 24px; }
    .sumup-signup { width: 100%; padding-inline: 18px; }
    .home-page > section:not(.home-hero) { padding-block: 56px; }
    .home-hero { padding: 116px 0 48px; }
    .hero-layout { grid-template-columns: 1fr; gap: 36px; }
    .hero-copy h1 { max-width: 34rem; }
    .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
    .hero-visual > img { height: 320px; }
    .hero-capabilities { margin-top: 24px; }
    .editorial-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
    .editorial-heading > p { max-width: none; margin: 0; }
    .feature-bento { grid-template-columns: 1fr; gap: 14px; }
    .feature-tile, .feature-tile-lead, .feature-tile-language, .feature-tile-dinein,
    .feature-tile-bundle, .feature-tile-future, .feature-tile-team { grid-column: auto; }
    .tile-topline { margin-bottom: 20px; }
    .home-page #ourstory > .container { grid-template-columns: 1fr; }
    .home-page #ourstory .max-w-2xl > div { padding-left: 20px; }
    .testimonial-grid, .testimonial-card-featured { grid-template-columns: 1fr; }
    .testimonial-card-featured .testimonial-photo > img { height: 260px; min-height: 0; }
    .testimonial-photo > img { height: 230px; }
    .home-page #demo-gallery { padding-block: 20px 40px; }
    .home-page #demo-gallery .container > div { grid-template-columns: 1fr; gap: 12px; }
    .home-page #demo-gallery a { grid-column: auto; grid-row: auto; justify-self: start; margin-top: 8px; }
    .home-page #carousel { padding-bottom: 24px; }
    .home-page #mainNav { background: #29173b; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}