/* ShopNova showcase page – static HTML version */
:root {
    --paper: #f4efe6;
    --paper-2: #ebe4d7;
    --ink: #1d1a16;
    --ink-2: #4a443c;
    --ink-3: #807868;
    --coral: #d4492f;
    --coral-dark: #b53a23;
    --green: #1f3a32;
    --green-2: #2a4a40;
    --gold: #e6b84a;
    --rule: rgba(29, 26, 22, 0.14);
    --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.98;
}
.display em { font-style: italic; color: var(--coral); }
.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    margin-bottom: 22px;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--coral); }
.lead { font-size: 1.05rem; color: var(--ink-2); line-height: 1.7; max-width: 48ch; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-dark); }
.btn--text { padding-left: 4px; padding-right: 4px; color: var(--ink); }
.btn--text:hover { color: var(--coral); }
.btn--line { border: 1px solid currentColor; }

/* ---------- top strip + nav ---------- */
.strip {
    background: var(--green);
    color: rgba(255,255,255,.82);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}
.strip .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.strip a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 239, 230, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease;
}
.nav.is-stuck { border-bottom-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--coral); color: #fff;
    font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em;
}
.logo-text b { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--mono); font-size: 0.62rem; color: var(--ink-3); letter-spacing: 0.06em; }

.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--coral); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 4px; font-size: 0.75rem; font-weight: 600; }
.lang a, .lang span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.lang span { background: var(--ink); color: #fff; }
.lang a { color: var(--ink-3); }
.lang a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.6vw, 5.2rem); overflow-wrap: break-word; margin-bottom: 26px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.hero-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.hero-visual { position: relative; padding: 0 0 16% 14%; }
.hero-panel {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40%;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(29,26,22,.08), 0 28px 50px -22px rgba(29,26,22,.5);
}
.hero-tag {
    position: absolute; right: 0; bottom: 9%;
    background: var(--green); color: #fff;
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
    padding: 10px 14px;
}

/* ---------- browser frame ---------- */
.frame {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(29,26,22,.08), 0 30px 60px -30px rgba(29,26,22,.45);
}
.frame-bar {
    display: flex; align-items: center; gap: 12px;
    height: 34px; padding: 0 12px;
    background: #f3f1ec; border-bottom: 1px solid #e6e1d8;
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d3c8; display: block; }
.frame-dots { display: flex; gap: 5px; }
.frame-url {
    flex: 1; min-width: 0;
    height: 22px; padding: 0 10px; border-radius: 5px;
    background: #fff; border: 1px solid #e6e1d8;
    font-size: 0.7rem; color: var(--ink-3);
    display: flex; align-items: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* scrolling screenshot */
.scroller {
    position: relative;
    overflow: hidden;
    background: #f6f4ef;
    cursor: ns-resize;
}
.scroller > img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: auto;
    transition: transform 1s cubic-bezier(.45,0,.25,1);
    will-change: transform;
}
.r-16x10 { aspect-ratio: 16 / 10; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-4x5 { aspect-ratio: 4 / 5; }

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 24px 0; }
.marquee {
    background: var(--coral);
    color: #fff;
    transform: rotate(-1.6deg);
    margin: 0 -40px;
    padding: 14px 0;
    overflow: hidden;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 9px; height: 9px; border: 1px solid #fff; border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.h2 { font-size: clamp(2.6rem, 5vw, 4rem); }
.intro .lead { max-width: 52ch; }

/* gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 0 0 40px; }
.gallery-head p { max-width: 36ch; font-size: 0.9rem; color: var(--ink-2); text-align: right; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; }
.card { grid-column: span 2; }
.card--wide { grid-column: span 3; }
.card .frame { transition: box-shadow .3s ease; }
.card:hover .frame { box-shadow: 0 0 0 1px rgba(29,26,22,.12), 0 34px 60px -28px rgba(29,26,22,.55); }
.card-cap { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; padding-top: 16px; }
.card-cap h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.01em; }
.card-cap .sector { font-family: var(--mono); font-size: 0.68rem; color: var(--coral); letter-spacing: 0.06em; justify-self: end; }
.card-cap p { grid-column: 1 / -1; font-size: 0.86rem; color: var(--ink-2); max-width: 44ch; }

.more { grid-column: span 2; display: flex; flex-direction: column; }
.more-box {
    position: relative;
    aspect-ratio: 4 / 3;
    margin-top: 34px;
    border-radius: 10px;
    border: 1px dashed rgba(29,26,22,.25);
    background: rgba(255,255,255,.35);
    overflow: hidden;
}
.more-box img {
    position: absolute; width: 52%; height: auto;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(29,26,22,.1), 0 12px 24px -12px rgba(29,26,22,.55);
}
.more-box img:nth-child(1) { left: 6%;  top: 10%; transform: rotate(-4deg); }
.more-box img:nth-child(2) { left: 42%; top: 8%;  transform: rotate(3deg); }
.more-box img:nth-child(3) { left: 24%; top: 34%; transform: rotate(-1deg); z-index: 2; }
.more-box img:nth-child(4) { left: 4%;  top: 58%; transform: rotate(2deg); }
.more-box img:nth-child(5) { left: 44%; top: 58%; transform: rotate(-3deg); }
.more .card-cap .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; padding: 11px 18px; }

/* demo */
.demo { background: var(--paper-2); }
.demo .split { align-items: center; margin-bottom: 52px; }
.demo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.demo-cta small { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.scores { display: grid; gap: 20px; }
.score-card { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 0 0 1px rgba(29,26,22,.06); }
.score-card h3 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 18px; display: flex; justify-content: space-between; }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.ring { position: relative; width: 58px; height: 58px; margin: 0 auto 8px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring .t { stroke: rgba(12,206,107,.16); }
.ring .v { stroke: #0cce6b; stroke-linecap: round; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 0.95rem; color: #08a256; }
.rings span { display: block; font-size: 0.7rem; color: var(--ink-2); line-height: 1.25; }
.vitals { display: flex; gap: 28px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.78rem; color: var(--ink-2); }
.vitals b { display: block; font-size: 1.15rem; color: #08a256; font-weight: 600; }
.score-note { font-size: 0.75rem; color: var(--ink-3); }

/* package */
.package-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.package-list li { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--rule); }
.package-list li:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.package-list li:not(:nth-child(3n+1)) { padding-left: 28px; }
.package-list h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.package-list p { font-size: 0.88rem; color: var(--ink-2); }

/* green */
.green { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.green .kicker { color: rgba(255,255,255,.6); }
.green .display em { color: var(--gold); }
.green .lead { color: rgba(255,255,255,.72); }
.green-mark {
    position: absolute; right: 4%; top: 40px;
    font-family: var(--serif); font-size: 22rem; line-height: 1;
    color: rgba(255,255,255,.04); pointer-events: none; user-select: none;
}
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid rgba(255,255,255,.16); }
.cols div { padding: 28px 32px 0 0; }
.cols div + div { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.16); }
.cols h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.cols p { font-size: 0.88rem; color: rgba(255,255,255,.66); max-width: 34ch; }

/* details */
.details .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.details-visual { position: relative; }
.details-visual img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(29,26,22,.08), 0 30px 60px -30px rgba(29,26,22,.5); }
.stamp {
    position: absolute; right: -22px; bottom: -26px;
    width: 116px; height: 116px; border-radius: 50%;
    background: var(--gold); color: var(--ink);
    display: grid; place-items: center; text-align: center;
    font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; line-height: 1.4;
    transform: rotate(-10deg);
    padding: 14px;
}
.ticks { list-style: none; margin: 30px 0 30px; padding: 0; border-top: 1px solid var(--rule); }
.ticks li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.ticks li::before { content: '↗'; color: var(--coral); }

/* cta */
.cta { background: var(--paper-2); padding: 96px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta .h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-bottom: 14px; }
.cta p { color: var(--ink-2); max-width: 46ch; }

/* footer */
.foot { padding: 56px 0 30px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.foot-top p { font-size: 0.85rem; color: var(--ink-2); max-width: 32ch; margin-top: 14px; }
.foot-links { display: flex; gap: 26px; font-size: 0.85rem; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.foot-links a:hover { color: var(--coral); }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 20px; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card, .card--wide, .more { grid-column: span 1; }
    .hero-side { display: none; }
}
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--rule);
        padding: 8px 28px 18px;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { display: block; padding: 12px 0; }
    .nav-toggle { display: block; }
    .nav-right .btn { display: none; }
    .hero { padding: 48px 0 80px; }
    .hero .wrap, .split, .demo-grid, .details .wrap { grid-template-columns: 1fr; gap: 44px; }
    .split { align-items: start; }
    .section { padding: 88px 0; }
    .gallery-head { flex-direction: column; align-items: start; gap: 14px; }
    .gallery-head p { text-align: left; }
    .package-list { grid-template-columns: 1fr 1fr; }
    .package-list li { padding: 24px 22px 24px 0 !important; border-right: 0 !important; }
    .package-list li:nth-child(2n) { padding-left: 22px !important; border-left: 1px solid var(--rule); }
    .cols { grid-template-columns: 1fr; }
    .cols div, .cols div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
    .cta .wrap { flex-direction: column; align-items: start; }
    .stamp { right: 10px; }
}
@media (max-width: 620px) {
    .wrap { padding: 0 20px; }
    .strip span:first-child { display: none; }
    .strip .wrap { justify-content: center; }
    .gallery { grid-template-columns: 1fr; }
    .more, .card { grid-column: auto; }
    .package-list { grid-template-columns: 1fr; }
    .package-list li:nth-child(2n) { padding-left: 0 !important; border-left: 0; }
    .rings { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
    .foot-top, .foot-bottom { flex-direction: column; gap: 14px; }
    .hero-tag { display: none; }
    .hero-visual { padding: 0 0 30% 10%; }
    .hero-panel { width: 46%; }
    .green-mark { font-size: 14rem; }
}

/* touch: finger scrolls the screenshot */
@media (hover: none) {
    .scroller { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; cursor: auto; }
    .scroller > img { position: static; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee-track { animation: none; }
    .scroller { overflow-y: auto; }
    .scroller > img { position: static; transform: none !important; transition: none; }
}
