/* LinkLens専用のビジュアル設計 */
:root {
    --ll-ink: #102131;
    --ll-ink-soft: #21394b;
    --ll-paper: #f4f3ee;
    --ll-paper-deep: #e8e9e2;
    --ll-mint: #aaf8df;
    --ll-mint-ink: #14766d;
    --ll-cyan: #72d9f2;
    --ll-coral: #ff856f;
    --ll-yellow: #f4d778;
    --ll-line: rgba(16, 33, 49, 0.14);
    --ll-shadow: 0 24px 70px rgba(16, 33, 49, 0.18);
    --ll-radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ll-ink);
    background: var(--ll-paper);
    font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.ll-site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    padding: 24px 5vw;
    color: #fff;
}

.ll-nav {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ll-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ll-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.ll-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 600;
}

.ll-nav-links a {
    text-decoration: none;
    transition: color 180ms ease;
}

.ll-nav-links a:hover,
.ll-nav-links a:focus-visible {
    color: #fff;
}

.ll-hero {
    position: relative;
    min-height: 760px;
    padding: 150px 5vw 110px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(114, 217, 242, 0.2), transparent 24%),
        radial-gradient(circle at 18% 78%, rgba(255, 133, 111, 0.13), transparent 24%),
        var(--ll-ink);
    overflow: hidden;
}

.ll-hero::before,
.ll-hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(170, 248, 223, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.ll-hero::before {
    width: 720px;
    height: 720px;
    top: -290px;
    right: -190px;
}

.ll-hero::after {
    width: 460px;
    height: 460px;
    bottom: -280px;
    left: -180px;
}

.ll-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(42px, 7vw, 110px);
}

.ll-kicker,
.ll-section-kicker {
    margin: 0 0 22px;
    color: var(--ll-mint-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ll-hero h1 {
    max-width: 600px;
    margin: 0;
    font-size: clamp(48px, 6.7vw, 92px);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.ll-hero h1 em {
    color: var(--ll-mint);
    font-style: normal;
}

/* 日本語の第2句を1文字だけの行に分断しない */
html[lang="ja"] .ll-hero h1 .ll-ja-nowrap {
    display: inline-block;
    font-size: 0.78em;
    letter-spacing: -0.08em;
    white-space: nowrap;
}

.ll-hero-lead {
    max-width: 500px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

.ll-download-row {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ll-download-row img {
    display: block;
    width: 180px;
    height: auto;
}

.ll-hero-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
}

/* 共有されたURLが焦点の中で要約に変わる、ページの署名ビジュアル */
.ll-lens-scene {
    position: relative;
    min-height: 470px;
}

.ll-lens-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(34vw, 390px);
    aspect-ratio: 1;
    border: 1px solid rgba(170, 248, 223, 0.66);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 16px rgba(170, 248, 223, 0.04), 0 0 90px rgba(114, 217, 242, 0.24);
}

.ll-lens-ring::before,
.ll-lens-ring::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.ll-lens-ring::before {
    inset: 42px;
    border: 1px solid rgba(114, 217, 242, 0.56);
}

.ll-lens-ring::after {
    inset: 50%;
    width: 10px;
    height: 10px;
    background: var(--ll-mint);
    box-shadow: 0 0 26px 8px rgba(170, 248, 223, 0.45);
    transform: translate(-50%, -50%);
}

.ll-link-card,
.ll-summary-card {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: var(--ll-shadow);
    backdrop-filter: blur(16px);
}

.ll-link-card {
    top: 33px;
    right: 4%;
    width: min(300px, 72%);
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(6deg);
}

.ll-link-card::after {
    position: absolute;
    right: -18px;
    bottom: -38px;
    width: 1px;
    height: 66px;
    background: rgba(170, 248, 223, 0.5);
    content: "";
    transform: rotate(-28deg);
}

.ll-card-label {
    margin: 0 0 12px;
    color: var(--ll-mint);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ll-link-url {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
}

.ll-link-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}

.ll-summary-card {
    bottom: 48px;
    left: 4%;
    width: min(320px, 76%);
    padding: 22px;
    color: var(--ll-ink);
    background: rgba(170, 248, 223, 0.94);
    transform: rotate(-5deg);
}

.ll-summary-card .ll-card-label {
    color: var(--ll-ink-soft);
}

.ll-summary-card p:last-child {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.ll-hero-scroll {
    position: absolute;
    right: 5vw;
    bottom: 32px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.ll-section {
    padding: clamp(84px, 11vw, 150px) 5vw;
}

.ll-section-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.ll-intro {
    display: grid;
    grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.28fr);
    gap: 64px;
    align-items: start;
}

.ll-intro h2,
.ll-screenshots h2,
.ll-features h2,
.ll-ai h2,
.ll-cta h2 {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 62px);
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.ll-intro-copy {
    max-width: 620px;
    margin: 3px 0 0;
    font-size: 19px;
    line-height: 1.85;
}

.ll-flow {
    margin-top: 74px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ll-line);
}

.ll-flow-step {
    min-height: 210px;
    padding: 28px 28px 24px 0;
    border-right: 1px solid var(--ll-line);
}

.ll-flow-step:not(:first-child) {
    padding-left: 28px;
}

.ll-flow-step:last-child {
    border-right: 0;
}

.ll-flow-symbol {
    display: block;
    width: 40px;
    height: 40px;
    margin-bottom: 32px;
    border: 1px solid var(--ll-ink);
    border-radius: 50%;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    line-height: 38px;
}

.ll-flow-step h3,
.ll-feature-card h3 {
    margin: 0 0 11px;
    font-size: 19px;
    letter-spacing: -0.025em;
}

.ll-flow-step p,
.ll-feature-card p {
    margin: 0;
    color: rgba(16, 33, 49, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.ll-screenshots {
    background: var(--ll-paper-deep);
}

.ll-screenshots-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.ll-screenshots-heading > p {
    max-width: 300px;
    margin: 0;
    color: rgba(16, 33, 49, 0.66);
    font-size: 13px;
    line-height: 1.7;
    text-align: right;
}

.ll-screenshot-rail {
    margin: 58px calc(50% - 50vw) 0;
    padding: 0 5vw 22px;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(16, 33, 49, 0.32) transparent;
}

.ll-screenshot-rail picture {
    width: clamp(220px, 24vw, 320px);
    flex: 0 0 auto;
    display: block;
    border-radius: 25px;
    box-shadow: 0 20px 34px rgba(16, 33, 49, 0.18);
    scroll-snap-align: start;
    overflow: hidden;
    transition: transform 180ms ease;
}

.ll-screenshot-rail picture img {
    display: block;
    width: 100%;
    height: auto;
}

.ll-screenshot-rail picture:hover {
    transform: translateY(-8px) rotate(1deg);
}

.ll-features {
    background: var(--ll-ink);
    color: #fff;
}

.ll-hero .ll-kicker,
.ll-features .ll-section-kicker {
    color: var(--ll-mint);
}

.ll-cta .ll-section-kicker {
    color: var(--ll-ink-soft);
}

.ll-feature-grid {
    margin-top: 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ll-feature-card {
    min-height: 255px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ll-radius);
    background: rgba(255, 255, 255, 0.055);
    transition: background 180ms ease, transform 180ms ease;
}

.ll-feature-card:hover {
    background: rgba(170, 248, 223, 0.1);
    transform: translateY(-6px);
}

.ll-feature-index {
    display: block;
    margin-bottom: 68px;
    color: var(--ll-coral);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.ll-feature-card h3 {
    color: #fff;
}

.ll-feature-card p {
    color: rgba(255, 255, 255, 0.62);
}

.ll-ai {
    background: var(--ll-paper);
}

.ll-ai-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}

.ll-ai-copy p:last-child {
    max-width: 430px;
    margin: 28px 0 0;
    color: rgba(16, 33, 49, 0.7);
    font-size: 16px;
    line-height: 1.8;
}

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

.ll-engine {
    padding: 22px 0;
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--ll-line);
}

.ll-engine strong {
    font-size: 17px;
}

.ll-engine span {
    color: rgba(16, 33, 49, 0.68);
    font-size: 14px;
    line-height: 1.65;
}

.ll-cta {
    position: relative;
    padding-bottom: 130px;
    color: var(--ll-ink);
    background: var(--ll-coral);
    overflow: hidden;
}

.ll-cta::after {
    position: absolute;
    right: -100px;
    bottom: -220px;
    width: 580px;
    height: 580px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    content: "";
}

.ll-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.ll-cta h2 {
    max-width: 660px;
}

.ll-cta-copy {
    max-width: 390px;
    margin: 25px 0 0;
    color: rgba(16, 33, 49, 0.82);
    font-size: 16px;
    line-height: 1.75;
}

.ll-cta .ll-download-row {
    flex: 0 0 auto;
    margin-top: 0;
}

.ll-site-footer {
    padding: 30px 5vw;
    color: rgba(255, 255, 255, 0.72);
    background: var(--ll-ink);
    font-size: 12px;
}

.ll-footer-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ll-footer-links {
    display: flex;
    gap: 20px;
}

.ll-footer-links a {
    text-decoration: none;
}

.ll-footer-links a:hover,
.ll-footer-links a:focus-visible {
    color: #fff;
}

@media (max-width: 860px) {
    .ll-hero {
        min-height: auto;
        padding-top: 125px;
    }

    .ll-hero-inner,
    .ll-ai-layout {
        grid-template-columns: 1fr;
    }

    .ll-hero-inner {
        gap: 40px;
    }

    .ll-lens-scene {
        min-height: 430px;
    }

    .ll-lens-ring {
        width: min(68vw, 390px);
    }

    .ll-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ll-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ll-cta-inner {
        display: block;
    }

    .ll-cta .ll-download-row {
        margin-top: 34px;
    }
}

@media (max-width: 560px) {
    .ll-site-header {
        padding: 16px 20px;
    }

    .ll-nav-links {
        gap: 12px;
        font-size: 11px;
    }

    .ll-nav-links a:first-child,
    .ll-nav-links a:nth-child(2) {
        display: none;
    }

    .ll-hero {
        padding: 112px 20px 72px;
    }

    .ll-hero h1 {
        font-size: clamp(46px, 15vw, 72px);
    }

    .ll-hero-lead {
        font-size: 16px;
    }

    .ll-lens-scene {
        min-height: 350px;
    }

    .ll-link-card {
        top: 8px;
        right: 0;
    }

    .ll-summary-card {
        bottom: 4px;
        left: 0;
    }

    .ll-hero-scroll {
        display: none;
    }

    .ll-section {
        padding: 76px 20px;
    }

    .ll-flow,
    .ll-feature-grid {
        grid-template-columns: 1fr;
    }

    .ll-flow-step,
    .ll-flow-step:not(:first-child) {
        min-height: auto;
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--ll-line);
    }

    .ll-flow-step:last-child {
        border-bottom: 0;
    }

    .ll-flow-symbol {
        margin-bottom: 24px;
    }

    .ll-screenshots-heading {
        display: block;
    }

    .ll-screenshots-heading > p {
        margin-top: 20px;
        text-align: left;
    }

    .ll-screenshot-rail {
        margin-top: 40px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .ll-screenshot-rail picture {
        width: min(72vw, 290px);
    }

    .ll-feature-card {
        min-height: auto;
    }

    .ll-feature-index {
        margin-bottom: 48px;
    }

    .ll-engine {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ll-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

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