:root {
    --bg: #0a0b10;
    --panel: #0f1220;
    --text: #e6f1ff;
    --muted: #9fb3c8;
    --accent: #00e5ff;
    --accent-2: #7c3aed;
    --ring: 0 0 0 2px rgba(0, 229, 255, .35), 0 0 30px rgba(0, 229, 255, .15);
    /* Dark theme border/separator tokens */
    --border: rgba(255, 255, 255, .10);
    --border-strong: rgba(255, 255, 255, .16);
    --separator: linear-gradient(90deg, transparent, rgba(0, 229, 255, .25) 25%, rgba(255,255,255,.35) 50%, rgba(124, 58, 237, .25) 75%, transparent);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: radial-gradient(1200px 600px at 50% -10%, rgba(124, 58, 237, .15), transparent), radial-gradient(800px 400px at 90% 10%, rgba(0, 229, 255, .12), transparent), radial-gradient(800px 400px at 10% 20%, rgba(0, 229, 255, .08), transparent), #0a0b10;
    color: var(--text);
    font: 500 16px/1.5 ui-sans-serif, system-ui, Segoe UI, Roboto, Inter, Apple Color Emoji, Segoe UI Emoji;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

.grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(0, 229, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, .06) 1px, transparent 1px);
    background-size: 64px 64px, 64px 64px;
    mask-image: radial-gradient(60% 50% at 50% 40%, rgba(0, 0, 0, .9) 40%, rgba(0, 0, 0, .3) 70%, transparent 100%)
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    text-decoration: none;
    color: var(--text)
}

.ruby {
    display: inline-flex;
    align-items: baseline;
    gap: 8px
}

.ruby ruby {
    font-size: 18px
}

.ruby rt {
    color: var(--muted)
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600
}

.nav-links a:hover {
    color: var(--accent)
}

.hero {
    position: relative;
    isolation: isolate;
    padding: 96px 0 72px;
    display: grid;
    gap: 28px
}

.kicker {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 12px
}

.h1 {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -.02em;
    font-weight: 800
}

.h1 .accent {
    color: var(--accent)
}

/* Ruby annotation styling inside headings */
.h1 ruby { ruby-position: over; ruby-align: center; }
.h1 rb { display:inline-block }
.h1 rt { color: var(--muted); font-size:.5em; font-weight:600; line-height:1 }

.sub {
    color: var(--muted);
    font-size: 18px;
    max-width: 800px
}

.cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 800;
    letter-spacing: .02em
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #71f7ff);
    color: #00151a;
    box-shadow: var(--ring)
}

.btn-primary:hover {
    transform: translateY(-1px)
}

.btn-ghost {
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    outline: 1px solid rgba(255, 255, 255, .08)
}

.section {
    position: relative;
    padding: 56px 0;
    /* default for parallax separator */
    --sep-offset: 0px;
}

/* Subtle full-bleed separator with parallax offset */
.section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 100vw;
    height: 1px;
    transform: translate3d(-50%, var(--sep-offset), 0);
    background: var(--separator);
    pointer-events: none;
    opacity: .7;
}

.section h2 {
    font-size: 28px;
    letter-spacing: -.01em;
    margin: 0 0 10px
}

.section p {
    color: var(--muted);
    margin: 0 0 18px
}

.cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px
}

.card {
    grid-column: span 6;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    backdrop-filter: blur(6px)
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.pill {
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--text);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    background: rgba(255, 255, 255, .04)
}

.panel {
    background: linear-gradient(180deg, rgba(0, 229, 255, .08), rgba(124, 58, 237, .08));
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 20px
}

.footer {
    padding: 48px 0;
    color: var(--muted);
    font-size: 14px
}

.logo-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.logo {
    height: 28px;
    opacity: .9;
    filter: grayscale(1) brightness(.9)
}

.kadomatsu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted)
}

/* Hero slider */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: none;
    background: rgba(255, 255, 255, .02);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw
}

.slides {
    display: flex;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
    will-change: transform
}

.slide {
    min-width: 100%;
    position: relative;
    display: grid;
    place-items: center;
    padding: 120px 24px;
    min-height: 65vh
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 80% 0%, rgba(0, 229, 255, .12), transparent), radial-gradient(600px 300px at 20% 100%, rgba(124, 58, 237, .12), transparent);
    pointer-events: none
}

.slide-content {
    position: relative;
    max-width: 980px;
    text-align: center;
    display: grid;
    gap: 18px
}

.slide .h1 {
    margin: 0
}

.slide .sub {
    margin: 0 auto
}

/* Wave themed background inspired by The Great Wave off Kanagawa */
.slide--wave {
    background: linear-gradient(rgba(128, 128, 128, 0.5), rgba(128, 128, 128, 0.5)), url('../images/header-bg.png') center/cover no-repeat, linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    background-blend-mode: color, normal, normal
}

.slide--wave .h1 .accent {
    color: #9fe8ff
}

/* About slide */
.slide--about {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015))
}

/* Offers slide */
.slide--offers {
    background: linear-gradient(180deg, rgba(0, 229, 255, .06), rgba(124, 58, 237, .06))
}

.slider-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none
}

.arrow {
    pointer-events: auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border-strong);
    cursor: pointer;
    color: var(--text)
}

.arrow:hover {
    box-shadow: var(--ring)
}

.dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    gap: 8px;
    justify-content: center
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid var(--border-strong);
    cursor: pointer
}

.dot[aria-current="true"],
.dot.active {
    background: var(--accent);
    border-color: transparent;
    box-shadow: var(--ring)
}

/* Return to Top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.06); color: var(--text); display: grid; place-items: center; font-weight:800; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .2s ease; backdrop-filter: blur(6px); }
.to-top:hover { box-shadow: var(--ring); transform: translateY(-2px); }
.to-top--visible { opacity: 1; pointer-events: auto; }

/* About section helpers */
.cols-2 { display:grid; grid-template-columns:repeat(12,1fr); gap:18px }
.cols-2 > .col { grid-column:span 6 }
.cols-3 { display:grid; grid-template-columns:repeat(12,1fr); gap:16px }
.cols-3 > .col { grid-column:span 4 }
.stats { display:grid; grid-template-columns:repeat(12,1fr); gap:14px }
.stat { grid-column:span 4; background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02)); border:1px solid var(--border); border-radius:14px; padding:14px; text-align:center }
.stat .emoji { font-size:18px; opacity:.9 }
.stat .value { font-weight:800 }
.stat .label { color:var(--muted); font-weight:600 }
.values { display:grid; grid-template-columns:repeat(12,1fr); gap:16px }
.value-item { grid-column:span 6; background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02)); border:1px solid var(--border); border-radius:14px; padding:16px }

/* Minimal reveal-on-scroll animations */
.reveal-initial { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
.reveal-initial.is-inview { opacity: 1; transform: none; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-initial { transition: none; opacity: 1; transform: none; }
}
.value-item h3 { margin:0 0 6px; font-size:16px }

@media (max-width:900px) {
    .slide {
        padding: 72px 16px;
        min-height: 56vh
    }
}

@media (max-width:900px) {
    .h1 {
        font-size: 36px
    }

    .card {
        grid-column: span 12
    }

    .hero {
        padding: 72px 0 48px
    }
}