@font-face {
    font-family: "Dehhani Display";
    src: url("../fonts/coolvetica-rg.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --black: #000000;
    --near-black: #0a0a0a;
    --white: #ffffff;
    --off-white: #f5f5f7;
    --grey: #6e6e73;
    --line-light: rgba(255, 255, 255, 0.14);
    --line-dark: rgba(0, 0, 0, 0.12);
    --shell: min(1180px, calc(100vw - 48px));
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--black);
    background: var(--black);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

.section-shell {
    width: var(--shell);
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 24px;
    color: #4f4f53;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.5);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 72px;
    color: var(--black);
    border-bottom: 1px solid transparent;
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, height 0.35s var(--ease);
}

.site-header.is-scrolled {
    height: 64px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.78);
    border-color: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: saturate(160%) blur(22px);
    backdrop-filter: saturate(160%) blur(22px);
}

.site-nav {
    width: var(--shell);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo,
.footer-logo {
    font-family: "Dehhani Display", "SF Pro Display", sans-serif;
    letter-spacing: -0.035em;
}

.site-logo {
    position: relative;
    z-index: 2;
    font-size: 27px;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    position: relative;
    font-size: 14px;
    font-weight: 400;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    position: relative;
    z-index: 2;
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 10px;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:first-child {
    top: 17px;
}

.menu-toggle span:last-child {
    top: 24px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: max(780px, 100svh);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--black);
    background: var(--white);
    isolation: isolate;
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 39%, rgba(0, 0, 0, 0.035), transparent 29%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfc 76%, #f2f2f4 100%);
}

.hero-content {
    width: var(--shell);
    padding: 104px 0 180px;
    text-align: center;
}

.hero-title {
    margin: 0;
    font-family: "Dehhani Display", "SF Pro Display", sans-serif;
    font-size: clamp(92px, 16.5vw, 230px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.82;
}

.hero-lede {
    max-width: 700px;
    margin: 42px auto 0;
    color: #1d1d1f;
    font-size: clamp(23px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.hero-link {
    width: fit-content;
    margin: 40px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: var(--white);
    background: var(--black);
    border: 1px solid var(--black);
    border-radius: 999px;
    font-size: 15px;
    transition: transform 0.3s var(--ease), color 0.3s ease, background 0.3s ease;
}

.hero-link:hover {
    color: var(--black);
    background: transparent;
    transform: translateY(-2px);
}

.hero-link span {
    transition: transform 0.3s var(--ease);
}

.hero-link:hover span {
    transform: translateY(3px);
}

.ocean {
    position: absolute;
    inset: auto 0 0;
    height: 65px;
    overflow: visible;
    background: var(--black);
    pointer-events: none;
}

.wave {
    position: absolute;
    top: -124px;
    left: 0;
    width: 6400px;
    height: 198px;
    background: url("../img/wave.svg?v=20260811-wavefix") repeat-x;
    transform: translate3d(0, 0, 0);
    animation: wave-motion 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.wave:nth-of-type(2) {
    top: -135px;
    opacity: 1;
    animation: wave-motion 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite,
        wave-swell 7s ease -1.25s infinite;
}

@keyframes wave-motion {
    from { margin-left: 0; }
    to { margin-left: -1600px; }
}

@keyframes wave-swell {
    0%, 100% { transform: translate3d(0, -25px, 0); }
    50% { transform: translate3d(0, 5px, 0); }
}

.section-dark {
    color: var(--white);
    background: var(--black);
}

.section-light {
    color: var(--black);
    background: var(--off-white);
}

.about {
    padding: 180px 0 150px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
    gap: clamp(70px, 11vw, 150px);
    align-items: start;
}

.section-heading h2,
.products-heading h2,
.contact-intro h2 {
    margin: 0;
    font-size: clamp(48px, 6.4vw, 88px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.about-copy {
    padding-top: 36px;
}

.about-copy p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 19px;
    letter-spacing: -0.015em;
    line-height: 1.55;
}

.about-copy .about-lede {
    color: var(--white);
    font-size: clamp(25px, 2.6vw, 34px);
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.principles {
    margin-top: 150px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.principle {
    padding-top: 22px;
    border-top: 1px solid var(--line-light);
}

.principle > span {
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.principle h3 {
    margin: 52px 0 16px;
    font-size: clamp(24px, 2.5vw, 33px);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.principle p {
    max-width: 29ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 16px;
    line-height: 1.55;
}

.principle-link {
    width: fit-content;
    margin-top: 24px;
    display: inline-flex;
    gap: 7px;
    padding-bottom: 4px;
    color: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 14px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.principle-link:hover {
    color: var(--white);
    border-color: var(--white);
}

.products {
    position: relative;
    padding: 170px 0 180px;
}

.products > .section-shell {
    position: relative;
    z-index: 1;
}

.sakura-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.petal {
    position: absolute;
    top: -4%;
    left: var(--x);
    width: var(--size);
    height: calc(var(--size) * 0.72);
    display: block;
    opacity: 0.27;
    background: #d91f2b;
    border-radius: 85% 12% 82% 18%;
    filter: saturate(0.72);
    animation: sakura-fall var(--duration) linear var(--delay) infinite;
}

.petal:nth-child(3n) {
    opacity: 0.38;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(185, 20, 30, 0.2);
}

.petal:nth-child(even) {
    border-radius: 14% 80% 18% 86%;
}

@keyframes sakura-fall {
    0% {
        top: -4%;
        transform: translate3d(0, -30px, 0) rotate(0deg);
    }
    48% {
        transform: translate3d(-36px, 0, 0) rotate(150deg);
    }
    100% {
        top: 104%;
        transform: translate3d(var(--drift), 30px, 0) rotate(var(--turn));
    }
}

.products-heading {
    max-width: 920px;
    margin-bottom: 80px;
}

.products-heading h2 {
    font-size: clamp(52px, 7vw, 96px);
}

.retsu-card {
    position: relative;
    min-height: 670px;
    padding: clamp(34px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(430px, 1.22fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--black);
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
    isolation: isolate;
    transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.retsu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22);
}

.retsu-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-label {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.retsu-logo {
    width: min(100%, 390px);
    height: auto;
    display: block;
}

.product-description {
    margin: auto 0 42px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 18px;
    line-height: 1.55;
}

.product-cta {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 16px;
}

.product-cta span {
    transition: transform 0.3s var(--ease);
}

.retsu-card:hover .product-cta span {
    transform: translate(3px, -3px);
}

.retsu-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transform-origin: center left;
    transition: transform 0.7s var(--ease);
}

.retsu-card:hover .retsu-visual {
    transform: perspective(1400px) rotateY(-2deg) rotateX(0deg) translateX(-4px);
}

.retsu-visual::before {
    content: "";
    position: absolute;
    inset: 15% -15% -24% 8%;
    background: rgba(255, 255, 255, 0.13);
    filter: blur(80px);
}

.visual-window {
    position: relative;
    width: 690px;
    max-width: none;
    overflow: hidden;
    color: var(--black);
    background: #f4f4f4;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 #ffffff;
}

.visual-bar {
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #e5e5e5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.visual-bar > span {
    width: 8px;
    height: 8px;
    background: #9a9a9a;
    border-radius: 50%;
}

.visual-bar p {
    margin: 0 0 0 2px;
    color: #77777a;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.visual-wordmark {
    width: 66px;
    height: auto;
    margin-left: 14px;
    display: block;
}

.visual-body {
    height: 440px;
    display: grid;
    grid-template-columns: 72px 1fr;
}

.visual-sidebar {
    padding: 27px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    color: var(--white);
    background: #111111;
}

.visual-mark {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(216, 31, 43, 0.24);
}

.visual-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.visual-sidebar i {
    width: 18px;
    height: 18px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 5px;
}

.visual-sidebar i.active {
    background: var(--white);
    border-color: var(--white);
}

.visual-dashboard {
    padding: 34px;
}

.dashboard-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
}

.dashboard-topline b {
    padding: 6px 10px;
    color: #555;
    background: #fff;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-row {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-row > div {
    padding: 20px;
    display: grid;
    gap: 11px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 13px;
}

.stat-row small {
    color: #77777a;
    font-size: 10px;
}

.stat-row strong {
    font-size: 24px;
    font-weight: 500;
}

.device-list {
    margin-top: 22px;
    padding: 0 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 13px;
}

.device-list > div {
    height: 68px;
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.device-list > div:last-child {
    border-bottom: 0;
}

.device-list i {
    width: 9px;
    height: 9px;
    display: block;
    background: #111;
    border-radius: 50%;
}

.device-list span {
    font-size: 13px;
}

.device-list b {
    color: #77777a;
    font-size: 10px;
    font-weight: 400;
}

.documents {
    padding: 160px 0 170px;
    color: var(--black);
    background: var(--white);
    border-top: 1px solid var(--line-dark);
}

.documents-heading {
    margin-bottom: 62px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
}

.documents-heading h2 {
    margin: 0;
    font-size: clamp(52px, 7vw, 92px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.documents-heading > p {
    max-width: 410px;
    margin: 0 0 8px;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.55;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.document-card {
    min-width: 0;
    overflow: hidden;
    background: var(--off-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    transition: transform 0.45s var(--ease), border-color 0.3s ease, box-shadow 0.45s var(--ease);
}

.document-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.document-preview {
    height: 430px;
    padding: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #e9e9eb;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.document-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center top;
    filter: saturate(0.82);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
    transition: transform 0.55s var(--ease), filter 0.4s ease;
}

.document-card:hover .document-preview img {
    transform: scale(1.018);
    filter: saturate(1);
}

.document-body {
    min-height: 190px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.document-type {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--grey);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.document-body h3 {
    margin: 0;
    font-size: clamp(25px, 2.6vw, 34px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.document-body p {
    margin: 15px 0 0;
    color: var(--grey);
    font-size: 14px;
    line-height: 1.45;
}

.document-arrow {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--black);
    border-radius: 50%;
    font-size: 17px;
    transition: transform 0.35s var(--ease);
}

.document-card:hover .document-arrow {
    transform: translate(3px, -3px);
}

.faq {
    padding: 160px 0 170px;
    background: var(--off-white);
    border-top: 1px solid var(--line-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.68fr) minmax(460px, 1fr);
    gap: clamp(70px, 12vw, 170px);
    align-items: start;
}

.faq-heading {
    position: sticky;
    top: 120px;
}

.faq-heading h2 {
    margin: 0;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.faq-list {
    border-top: 1px solid var(--line-dark);
}

.faq-list details {
    border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
    min-height: 88px;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    list-style: none;
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 500;
    letter-spacing: -0.025em;
}

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

.faq-list summary span {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    font-size: 19px;
    font-weight: 400;
    transition: transform 0.3s var(--ease), color 0.3s ease, background 0.3s ease;
}

.faq-list details[open] summary span {
    color: var(--white);
    background: var(--black);
    transform: rotate(45deg);
}

.faq-list details > p {
    max-width: 660px;
    margin: -3px 55px 30px 0;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.6;
}

.contact-panel {
    padding: 180px 0 130px;
    color: var(--white);
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(460px, 0.75fr);
    gap: clamp(70px, 12vw, 170px);
    align-items: start;
}

.contact-intro {
    position: sticky;
    top: 120px;
}

.contact-intro h2 {
    font-size: clamp(52px, 6.5vw, 86px);
}

.contact-intro > p:not(.eyebrow) {
    max-width: 460px;
    margin: 34px 0 28px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 18px;
    line-height: 1.55;
}

.contact-intro > a {
    width: fit-content;
    display: inline-flex;
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.contact-form {
    padding-top: 8px;
    display: grid;
    gap: 27px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    min-width: 0;
}

.field label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    color: var(--white);
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 13px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.field input,
.field select {
    height: 54px;
    padding: 0 16px;
}

.field textarea {
    min-height: 145px;
    padding: 16px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
    background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    background-color: #151515;
    border-color: rgba(255, 255, 255, 0.6);
}

.captcha-wrap {
    min-height: 78px;
    overflow: hidden;
}

.contact-button {
    width: fit-content;
    min-height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--white);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.contact-button:hover {
    color: var(--white);
    background: transparent;
    transform: translateY(-2px);
}

.footer {
    padding: 32px 0 36px;
    color: var(--white);
    background: var(--black);
    border-top: 1px solid var(--line-light);
}

.footer-shell {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    font-size: 34px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-meta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.38);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.modal[style*="block"] {
    display: grid !important;
}

.modal-content {
    position: relative;
    width: min(480px, 100%);
    padding: 44px;
    color: var(--black);
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.modal-content h2 {
    margin: 0;
    font-size: 42px;
    letter-spacing: -0.04em;
}

.modal-content > p:last-child {
    margin: 16px 0 0;
    color: var(--grey);
    line-height: 1.5;
    white-space: pre-line;
}

.close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    color: var(--black);
    background: #efeff1;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.spinner-wrapper {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    place-items: center;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.spinner-wrapper.is-active {
    display: grid;
}

.spinner {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.principle:nth-child(2) { transition-delay: 0.08s; }
.principle:nth-child(3) { transition-delay: 0.16s; }

@media (max-width: 980px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .about-copy {
        max-width: 680px;
        padding-top: 0;
    }

    .retsu-card {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .retsu-copy {
        min-height: 420px;
    }

    .product-description {
        max-width: 620px;
    }

    .retsu-visual {
        margin-right: -100px;
        transform: none;
    }

    .retsu-card:hover .retsu-visual {
        transform: translateX(-4px);
    }

    .contact-intro {
        position: static;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .faq-heading {
        position: static;
    }

    .contact-form {
        max-width: 720px;
    }
}

@media (max-width: 720px) {
    :root {
        --shell: min(100% - 32px, 1180px);
    }

    html {
        scroll-padding-top: 68px;
    }

    .site-header,
    .site-header.is-scrolled {
        height: calc(64px + env(safe-area-inset-top));
    }

    .site-nav {
        padding-top: env(safe-area-inset-top);
    }

    .site-header.menu-is-open,
    .site-header.is-scrolled.menu-is-open {
        color: var(--white);
        background: transparent;
        border-color: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100dvh;
        min-height: 100%;
        padding: calc(112px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        overflow-y: auto;
        overscroll-behavior: contain;
        color: var(--white);
        background: var(--black);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.35s var(--ease);
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        padding: 5px 8px;
        font-size: clamp(40px, 12vw, 54px);
        letter-spacing: -0.04em;
        line-height: 1.12;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        min-height: max(680px, 100svh);
    }

    .hero-content {
        padding: 90px 0 155px;
    }

    .hero-title {
        font-size: clamp(78px, 25vw, 126px);
    }

    .hero-lede {
        max-width: 530px;
        margin-top: 30px;
        font-size: 25px;
    }

    .hero-link {
        margin-top: 32px;
    }

    .ocean {
        height: 45px;
    }

    .about,
    .products,
    .documents,
    .faq,
    .contact-panel {
        padding-top: 96px;
    }

    .about {
        padding-bottom: 96px;
    }

    .about-grid {
        gap: 42px;
        text-align: center;
    }

    .section-heading,
    .about-copy {
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }

    .section-heading h2 {
        max-width: 10ch;
        margin-inline: auto;
    }

    .about-copy p,
    .about-copy .about-lede {
        max-width: 34ch;
        margin-right: auto;
        margin-left: auto;
    }

    .section-heading h2,
    .products-heading h2,
    .contact-intro h2 {
        font-size: clamp(44px, 13vw, 66px);
    }

    .principles {
        margin-top: 76px;
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }

    .principle {
        padding: 42px 12px 48px;
    }

    .principle h3 {
        margin: 24px 0 15px;
        font-size: clamp(28px, 8.5vw, 36px);
    }

    .principle p {
        max-width: 34ch;
        margin-inline: auto;
        font-size: 17px;
    }

    .principle-link {
        margin-right: auto;
        margin-left: auto;
    }

    .products {
        padding-bottom: 96px;
    }

    .documents {
        padding-bottom: 96px;
    }

    .faq {
        padding-bottom: 96px;
    }

    .documents-heading {
        margin-bottom: 44px;
        display: grid;
        gap: 25px;
        text-align: center;
    }

    .documents-heading h2 {
        font-size: clamp(44px, 13vw, 66px);
    }

    .documents-heading > p {
        max-width: 34ch;
        margin: 0 auto;
    }

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

    .document-preview {
        height: 360px;
        padding: 22px;
    }

    .document-body {
        min-height: 170px;
        padding: 25px;
    }

    .products-heading {
        margin-bottom: 50px;
        text-align: center;
    }

    .products-heading h2 {
        max-width: 11ch;
        margin-inline: auto;
    }

    .retsu-card {
        min-height: 0;
        padding: 35px 28px 50px;
        gap: 0;
        text-align: center;
        border-radius: 27px;
    }

    .retsu-copy {
        min-height: 0;
        align-items: center;
        gap: 28px;
    }

    .retsu-logo {
        width: min(100%, 310px);
        margin-inline: auto;
    }

    .product-description {
        max-width: 36ch;
        margin: 0 auto;
        font-size: 16px;
    }

    .retsu-visual {
        width: calc(100% + 56px);
        height: 315px;
        margin: 44px -28px -50px;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }

    .visual-window {
        width: 610px;
        flex: 0 0 610px;
        transform: scale(0.61);
        transform-origin: top center;
    }

    .faq-grid {
        gap: 42px;
    }

    .faq-heading {
        max-width: 520px;
        margin-inline: auto;
        text-align: center;
    }

    .faq-heading h2 {
        max-width: 10ch;
        margin-inline: auto;
    }

    .faq-list summary {
        min-height: 76px;
        padding: 22px 0;
        font-size: 20px;
    }

    .faq-list details > p {
        margin-right: 40px;
        font-size: 16px;
    }

    .contact-grid {
        gap: 52px;
    }

    .contact-intro {
        max-width: 560px;
        margin-inline: auto;
        text-align: center;
    }

    .contact-intro > p:not(.eyebrow) {
        max-width: 34ch;
        margin-right: auto;
        margin-left: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .captcha-wrap {
        width: 100%;
    }

    .contact-button {
        width: 100%;
        justify-content: center;
    }

    .footer-shell {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 18px;
    }

    .footer-meta {
        grid-column: auto;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

@media (max-width: 720px) and (max-height: 620px) {
    .nav-links {
        padding-top: calc(88px + env(safe-area-inset-top));
        gap: 4px;
    }

    .nav-links a {
        font-size: clamp(34px, 10vw, 44px);
    }
}

@media (max-width: 390px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left top;
    }

    .captcha-wrap {
        min-height: 70px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .sakura-field {
        display: none;
    }
}
