/* Lumolab shared site styles. Base concept adopted on 2026-06-14. */
:root {
    color-scheme: light;
    --paper: #f7f8fb;
    --paper-2: #eef2f8;
    --ink: #111827;
    --ink-2: #394150;
    --muted: #667085;
    --hairline: rgba(17, 24, 39, .10);
    --white: rgba(255, 255, 255, .86);
    --blue: #2563eb;
    --sky: #0ea5e9;
    --violet: #7c3aed;
    --rose: #ec4899;
    --amber: #f59e0b;
    --green: #10b981;
    --shadow: 0 34px 90px -54px rgba(15, 23, 42, .48);
    --shadow-soft: 0 22px 60px -44px rgba(15, 23, 42, .36);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --max: 1180px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    min-width: 320px;
    color: var(--ink);
    background:
      radial-gradient(900px 520px at 8% -8%, rgba(14, 165, 233, .18), transparent 62%),
      radial-gradient(760px 480px at 92% 4%, rgba(124, 58, 237, .16), transparent 58%),
      linear-gradient(180deg, #fbfcff 0%, var(--paper) 48%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    background: rgba(247, 248, 251, .76);
    backdrop-filter: blur(20px) saturate(160%);
  }

  .nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -.03em;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    background:
      radial-gradient(circle at 28% 24%, rgba(255,255,255,.95), transparent 26%),
      linear-gradient(135deg, #0ea5e9, #2563eb 46%, #7c3aed 100%);
    box-shadow: 0 18px 34px -22px rgba(37, 99, 235, .95);
  }

  .brand span { display: block; font-size: 19px; line-height: 1; }
  .brand small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .16em;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 800;
  }

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

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 17px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 999px;
    color: #fff;
    background: #111827;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 18px 36px -28px rgba(17, 24, 39, .95);
  }

  .hero {
    position: relative;
    padding: 86px 0 78px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(480px, .88fr);
    align-items: center;
    gap: 40px;
  }

  .pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(255,255,255,.7);
    box-shadow: 0 16px 42px -34px rgba(37, 99, 235, .9);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
  }

  .pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--violet));
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
  }

  h1 {
    margin-top: 28px;
    max-width: 820px;
    font-size: clamp(46px, 6.1vw, 74px);
    line-height: .98;
    letter-spacing: -.075em;
    font-weight: 950;
  }

  h1 .hero-line {
    display: block;
    white-space: nowrap;
  }

  h1 .soft {
    display: block;
    white-space: nowrap;
    color: transparent;
    background: linear-gradient(92deg, #2563eb 0%, #0ea5e9 36%, #7c3aed 72%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .hero-lead {
    margin-top: 24px;
    max-width: 640px;
    color: var(--ink-2);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 2;
  }

  .hero-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 14px;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 999px;
    color: #31507f;
    background: rgba(255,255,255,.68);
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 18px 42px -36px rgba(37, 99, 235, .75);
  }

  .hero-note::before {
    content: "new";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 20px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--amber));
    font-size: 10px;
    letter-spacing: .04em;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .btn:hover { transform: translateY(-2px); }
  .btn-primary { color: #fff; background: #111827; box-shadow: 0 24px 48px -34px rgba(17, 24, 39, .95); }
  .btn-secondary { color: #111827; background: rgba(255,255,255,.74); border: 1px solid var(--hairline); }
  .btn-light { color: #111827; background: #fff; }
  .btn-dark-ghost { color: #fff; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 42px;
    max-width: 660px;
  }

  .trust {
    padding: 18px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 22px;
    background: rgba(255,255,255,.64);
    box-shadow: 0 18px 48px -42px rgba(17, 24, 39, .5);
  }

  .trust b {
    display: block;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.05em;
  }

  .trust span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .product-stage {
    position: relative;
    min-height: 560px;
    padding: 24px;
    border-radius: 44px;
    background:
      linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.38)),
      radial-gradient(420px 320px at 78% 12%, rgba(124, 58, 237, .22), transparent 64%),
      radial-gradient(420px 300px at 10% 88%, rgba(14, 165, 233, .22), transparent 62%);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(.2px);
    opacity: .9;
  }

  .orb.one { width: 140px; height: 140px; right: 30px; top: 42px; background: rgba(124, 58, 237, .18); }
  .orb.two { width: 96px; height: 96px; left: 48px; bottom: 60px; background: rgba(14, 165, 233, .18); }

  .icon-showcase {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 498px;
    place-items: center;
  }

  .hero-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(100%, 520px);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.64);
    border-radius: 34px;
    background: rgba(255,255,255,.34);
    box-shadow: 0 34px 80px -58px rgba(17, 24, 39, .62);
    backdrop-filter: blur(14px);
  }

  .hero-app-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 22px;
    object-fit: cover;
    background: #fff;
    box-shadow:
      0 22px 45px -26px rgba(17, 24, 39, .62),
      inset 0 0 0 1px rgba(255,255,255,.40);
    transform: rotate(var(--tilt, 0deg)) translateY(var(--lift, 0));
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .hero-app-icon:nth-child(2n) { --tilt: 2deg; --lift: -3px; }
  .hero-app-icon:nth-child(3n) { --tilt: -2deg; --lift: 4px; }
  .hero-app-icon:nth-child(5n) { --tilt: 1deg; --lift: -7px; }

  .hero-app-icon:hover {
    transform: rotate(0deg) translateY(-6px) scale(1.03);
    box-shadow: 0 30px 58px -30px rgba(17, 24, 39, .70);
  }

  .phone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 278px;
    min-height: 568px;
    padding: 14px;
    border-radius: 44px;
    background: #111827;
    box-shadow: 0 44px 90px -42px rgba(17, 24, 39, .75);
    transform: translate(-50%, -50%) rotate(-4deg);
  }

  .phone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 82px;
    height: 22px;
    border-radius: 999px;
    background: #0b1020;
    transform: translateX(-50%);
    z-index: 2;
  }

  .phone-screen {
    min-height: 540px;
    padding: 46px 18px 18px;
    border-radius: 34px;
    background:
      radial-gradient(260px 180px at 70% 0%, rgba(194,105,63,.25), transparent 62%),
      linear-gradient(180deg, #fff8ef, #fff);
    overflow: hidden;
  }

  .screen-title {
    color: #3a2e1e;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.05em;
    font-weight: 950;
  }

  .mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .mini-stat {
    min-height: 78px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 18px 30px -26px rgba(58, 46, 30, .4);
  }

  .mini-stat b { display: block; color: #c2693f; font-size: 20px; letter-spacing: -.04em; }
  .mini-stat span { display: block; color: #7a6b5b; font-size: 10px; font-weight: 800; }

  .work-card {
    margin-top: 14px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 34px -28px rgba(58, 46, 30, .55);
  }

  .work-card .thumb {
    height: 98px;
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(194,105,63,.18), rgba(244,177,131,.38)),
      url("../../images/screenshots/hero.webp") center/cover;
  }

  .work-card b { display: block; margin-top: 12px; font-size: 13px; }
  .work-card p { margin-top: 4px; color: #7a6b5b; font-size: 11px; line-height: 1.55; }

  .floating-card {
    position: absolute;
    width: 245px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 26px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 26px 70px -46px rgba(17, 24, 39, .56);
    backdrop-filter: blur(16px);
  }

  .sticker {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    color: #111827;
    background: #fff;
    box-shadow: 0 18px 44px -30px rgba(17, 24, 39, .48);
    font-size: 12px;
    font-weight: 950;
    transform: rotate(-6deg);
  }

  .sticker.good { right: 36px; top: 230px; }
  .sticker.fun { left: 44px; top: 360px; transform: rotate(5deg); }

  .floating-card h3 {
    font-size: 16px;
    line-height: 1.28;
    letter-spacing: -.035em;
  }

  .floating-card p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
  }

  .floating-card.top { top: 54px; left: 34px; }
  .floating-card.bottom { right: 28px; bottom: 54px; }

  .sparkline {
    display: flex;
    align-items: end;
    gap: 6px;
    height: 46px;
    margin-top: 14px;
  }

  .sparkline span {
    flex: 1;
    min-width: 8px;
    border-radius: 99px 99px 6px 6px;
    background: linear-gradient(180deg, #0ea5e9, #2563eb);
  }

  .sparkline span:nth-child(1) { height: 30%; }
  .sparkline span:nth-child(2) { height: 54%; }
  .sparkline span:nth-child(3) { height: 42%; }
  .sparkline span:nth-child(4) { height: 82%; }
  .sparkline span:nth-child(5) { height: 66%; }

  .logo-strip {
    padding: 12px 0 72px;
  }

  .strip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    box-shadow: 0 20px 60px -52px rgba(17, 24, 39, .55);
  }

  .strip-box span:first-child { color: var(--ink); letter-spacing: 0; }

  section { padding: 96px 0; }

  .proof {
    padding: 32px 0 96px;
  }

  .proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 18px;
    align-items: stretch;
  }

  .proof-card {
    padding: 34px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    background:
      radial-gradient(520px 320px at 92% 8%, rgba(37, 99, 235, .12), transparent 62%),
      rgba(255,255,255,.78);
    box-shadow: var(--shadow-soft);
  }

  .proof-card h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.12;
    letter-spacing: -.065em;
    font-weight: 950;
  }

  .proof-card p {
    margin-top: 18px;
    max-width: 760px;
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
  }

  .proof-list {
    display: grid;
    gap: 12px;
  }

  .proof-item {
    padding: 22px;
    border: 1px solid var(--hairline);
    border-radius: 26px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 52px -44px rgba(17, 24, 39, .4);
  }

  .proof-item b {
    display: block;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.04em;
  }

  .proof-item span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
  }

  .milestones {
    padding: 96px 0;
    color: #fff;
    background:
      radial-gradient(700px 460px at 82% 16%, rgba(236, 72, 153, .20), transparent 62%),
      radial-gradient(680px 420px at 12% 88%, rgba(37, 99, 235, .24), transparent 62%),
      #0b1020;
  }

  .milestones .section-head p {
    color: rgba(255,255,255,.66);
  }

  .milestone-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .milestone-card {
    min-height: 260px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 24px 70px -54px rgba(0,0,0,.75);
  }

  .milestone-card.flagship {
    grid-column: span 2;
    background:
      radial-gradient(460px 300px at 94% 0%, rgba(14, 165, 233, .20), transparent 64%),
      rgba(255,255,255,.09);
  }

  .milestone-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(37, 99, 235, .22);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
  }

  .milestone-card h3 {
    margin-top: 22px;
    font-size: 23px;
    line-height: 1.18;
    letter-spacing: -.045em;
  }

  .milestone-card p {
    margin-top: 12px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.85;
  }

  .milestone-card .tag {
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.10);
  }

  .milestone-note {
    margin-top: 18px;
    color: rgba(255,255,255,.46);
    font-size: 12px;
    line-height: 1.8;
  }

  .section-head {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(320px, .5fr);
    align-items: end;
    gap: 40px;
    margin-bottom: 36px;
  }

  .label {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
  }

  .section-head h2,
  .story-copy h2,
  .closing h2 {
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.12;
    letter-spacing: -.065em;
    font-weight: 950;
  }

  .section-head p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
  }

  .apps-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
  }

  .app-card {
    position: relative;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,.74);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .app-card:hover .card-link { transform: translateX(3px); }
  .app-card.featured { min-height: 500px; color: #fff; background: #15111d; }
  .app-card.featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(520px 320px at 82% 10%, rgba(244,177,131,.34), transparent 62%),
      radial-gradient(440px 320px at 10% 90%, rgba(194,105,63,.38), transparent 64%);
    pointer-events: none;
  }

  .app-card > * { position: relative; z-index: 1; }

  .app-side {
    display: grid;
    gap: 18px;
  }

  .app-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    font-weight: 950;
    letter-spacing: -.04em;
    box-shadow: 0 20px 34px -24px rgba(0,0,0,.68);
  }

  .maker { background: linear-gradient(135deg, #c2693f, #f4b183); }
  .pmp { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
  .calc { background: linear-gradient(135deg, #111827, #7c3aed); }
  .fan { background: linear-gradient(135deg, #ec4899, #f97316); }

  .app-card h3 {
    margin-top: 22px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -.055em;
  }

  .app-side .app-card h3 { font-size: 24px; }

  .audience {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .08);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
  }

  .featured .audience {
    color: #fef3c7;
    background: rgba(255,255,255,.12);
  }

  .app-card p {
    margin-top: 14px;
    max-width: 560px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
  }

  .app-card.featured p { color: rgba(255,255,255,.70); }

  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
  }

  .tag {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--ink-2);
    background: rgba(17, 24, 39, .06);
    font-size: 11px;
    font-weight: 900;
  }

  .featured .tag { color: rgba(255,255,255,.88); background: rgba(255,255,255,.10); }

  .card-link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding-top: 28px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 950;
    transition: transform .18s ease;
  }

  .featured .card-link { color: #fff; }

  .app-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 28px;
  }

  .app-actions .card-link {
    margin-top: 0;
    padding-top: 0;
  }

  .card-link.secondary {
    color: rgba(255,255,255,.76);
  }

  .card-link.muted-link {
    color: var(--muted);
    cursor: default;
  }

  .product-peek {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .peek {
    min-height: 148px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
  }

  .peek .bar {
    height: 10px;
    margin-bottom: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
  }

  .peek .bar:nth-child(2) { width: 68%; }
  .peek .bar:nth-child(3) { width: 86%; }
  .peek .bar:nth-child(4) { width: 52%; }

  .philosophy {
    background:
      radial-gradient(650px 420px at 8% 20%, rgba(37, 99, 235, .08), transparent 62%),
      linear-gradient(180deg, #fff, #f7f8fb);
  }

  .portfolio {
    background:
      radial-gradient(680px 420px at 8% 12%, rgba(14, 165, 233, .12), transparent 62%),
      radial-gradient(620px 380px at 94% 92%, rgba(124, 58, 237, .10), transparent 62%),
      linear-gradient(180deg, #fff, #f7f8fb);
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1.34fr 1fr 1fr;
    gap: 16px;
  }

  .portfolio-category {
    min-height: 350px;
    padding: 24px;
    border: 1px solid var(--hairline);
    border-radius: 30px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 20px 58px -48px rgba(17, 24, 39, .46);
  }

  .portfolio-category.learning {
    background:
      radial-gradient(380px 240px at 92% 0%, rgba(37, 99, 235, .12), transparent 62%),
      rgba(255,255,255,.82);
  }

  .portfolio-kicker {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .08);
    font-size: 11px;
    font-weight: 950;
  }

  .portfolio-category h3 {
    margin-top: 18px;
    font-size: 22px;
    line-height: 1.28;
    letter-spacing: -.045em;
  }

  .portfolio-list {
    display: grid;
    gap: 9px;
    margin-top: 22px;
  }

  .portfolio-app {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 24, 39, .07);
    border-radius: 16px;
    background: rgba(255,255,255,.62);
  }

  a.portfolio-app {
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
  }

  a.portfolio-app:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .20);
    background: #fff;
  }

  .portfolio-app b {
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: -.02em;
  }

  .portfolio-app span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 10px;
    font-weight: 950;
  }

  .app-catalog {
    background:
      radial-gradient(720px 440px at 9% 10%, rgba(14, 165, 233, .12), transparent 62%),
      radial-gradient(620px 380px at 94% 92%, rgba(236, 72, 153, .10), transparent 62%),
      linear-gradient(180deg, #fff, #f7f8fb 52%, #fff);
  }

  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .catalog-card {
    position: relative;
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--hairline);
    border-radius: 30px;
    background: rgba(255,255,255,.80);
    box-shadow: 0 20px 58px -48px rgba(17, 24, 39, .48);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .catalog-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -54px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .07);
    pointer-events: none;
  }

  .catalog-card.spotlight {
    background:
      radial-gradient(420px 260px at 92% 0%, rgba(194,105,63,.14), transparent 62%),
      rgba(255,255,255,.84);
  }

  .catalog-card.learning {
    background:
      radial-gradient(420px 260px at 92% 0%, rgba(37, 99, 235, .14), transparent 62%),
      rgba(255,255,255,.84);
  }

  .catalog-card.fun {
    background:
      radial-gradient(420px 260px at 92% 0%, rgba(236, 72, 153, .16), transparent 62%),
      rgba(255,255,255,.84);
  }

  .catalog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .18);
    box-shadow: var(--shadow);
  }

  .catalog-card > * {
    position: relative;
    z-index: 1;
  }

  .catalog-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .catalog-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 22px 42px -28px rgba(17, 24, 39, .70);
  }

  .catalog-category {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .08);
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
  }

  .catalog-card h3 {
    margin-top: 22px;
    font-size: 25px;
    line-height: 1.18;
    letter-spacing: -.055em;
  }

  .catalog-card p {
    margin-top: 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
  }

  .catalog-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin-top: auto;
    padding-top: 26px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 950;
    transition: transform .18s ease;
  }

  .catalog-card:hover .catalog-link {
    transform: translateX(3px);
  }

  .scenes {
    background:
      radial-gradient(520px 340px at 92% 8%, rgba(236, 72, 153, .10), transparent 62%),
      linear-gradient(180deg, #f7f8fb, #fff);
  }

  .scene-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .scene-card {
    position: relative;
    min-height: 260px;
    padding: 24px;
    border: 1px solid var(--hairline);
    border-radius: 30px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 18px 52px -44px rgba(17, 24, 39, .4);
    overflow: hidden;
  }

  .scene-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -38px;
    width: 132px;
    height: 132px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
  }

  .scene-card:nth-child(2)::after { background: rgba(245, 158, 11, .14); }
  .scene-card:nth-child(3)::after { background: rgba(124, 58, 237, .12); }
  .scene-card:nth-child(4)::after { background: rgba(236, 72, 153, .12); }

  .scene-kicker {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(17, 24, 39, .06);
    font-size: 11px;
    font-weight: 950;
  }

  .scene-card h3 {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    font-size: 22px;
    line-height: 1.28;
    letter-spacing: -.045em;
  }

  .scene-card p {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
  }

  .scene-card strong {
    color: var(--ink);
    font-weight: 950;
  }

  .principles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .principle {
    min-height: 244px;
    padding: 24px;
    border: 1px solid var(--hairline);
    border-radius: 28px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 50px -44px rgba(17, 24, 39, .42);
  }

  .principle b {
    display: block;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.04em;
  }

  .principle p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
  }

  .promise-card {
    min-height: 330px;
    padding: 26px;
    border: 1px solid var(--hairline);
    border-radius: 30px;
    background: rgba(255,255,255,.80);
    box-shadow: 0 18px 50px -44px rgba(17, 24, 39, .42);
  }

  .promise-card b {
    display: block;
    font-size: 22px;
    line-height: 1.32;
    letter-spacing: -.05em;
  }

  .promise-card p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
  }

  .microcopy {
    display: block;
    margin-top: 22px;
    padding: 14px;
    border-radius: 18px;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .08);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.65;
  }

  .number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 28px;
    border-radius: 999px;
    color: #fff;
    background: #111827;
    font-size: 12px;
    font-weight: 950;
  }

  .story {
    padding: 110px 0;
    color: #fff;
    background:
      radial-gradient(700px 460px at 80% 20%, rgba(14, 165, 233, .22), transparent 62%),
      radial-gradient(620px 380px at 18% 82%, rgba(124, 58, 237, .26), transparent 60%),
      #0b1020;
  }

  .story-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 46px;
    align-items: start;
  }

  .story-copy p {
    margin-top: 20px;
    color: rgba(255,255,255,.68);
    font-size: 15px;
    line-height: 2;
  }

  .maker-note {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    color: rgba(255,255,255,.76);
    background: rgba(255,255,255,.06);
    font-size: 13px;
    line-height: 1.8;
  }

  .timeline {
    display: grid;
    gap: 12px;
  }

  .time-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    background: rgba(255,255,255,.06);
  }

  .time-item time {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 950;
  }

  .time-item b { display: block; }
  .time-item span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
  }

  .closing {
    padding: 104px 0;
  }

  .closing-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 34px;
    padding: 40px;
    border-radius: 38px;
    color: #fff;
    background:
      radial-gradient(640px 360px at 88% 10%, rgba(14, 165, 233, .30), transparent 62%),
      radial-gradient(560px 360px at 12% 90%, rgba(124, 58, 237, .30), transparent 64%),
      #111827;
    box-shadow: var(--shadow);
  }

  .closing p {
    margin-top: 14px;
    max-width: 720px;
    color: rgba(255,255,255,.68);
  }

  .closing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
  }

  footer {
    padding: 34px 0;
    border-top: 1px solid var(--hairline);
    background: #fff;
    color: var(--muted);
    font-size: 12px;
  }

  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
  }

  .footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
  .footer-links a:hover { color: var(--blue); }

  .app-detail-main {
    overflow: hidden;
  }

  .app-detail-hero {
    padding: 82px 0 72px;
  }

  .app-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: 58px;
  }

  .app-breadcrumb {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
  }

  .app-kicker {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    color: var(--blue);
    background: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
  }

  .app-detail-hero h1 {
    margin-top: 22px;
    font-size: clamp(46px, 7vw, 82px);
  }

  .app-detail-hero .hero-lead {
    max-width: 680px;
  }

  .app-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
  }

  .app-meta {
    padding: 16px;
    border: 1px solid var(--hairline);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 18px 48px -42px rgba(17, 24, 39, .46);
  }

  .app-meta b {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.04em;
  }

  .app-meta span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
  }

  .screenshot-stage {
    position: relative;
    min-height: 580px;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 42px;
    background:
      radial-gradient(420px 320px at 82% 8%, rgba(37, 99, 235, .18), transparent 64%),
      radial-gradient(420px 300px at 14% 92%, rgba(236, 72, 153, .14), transparent 62%),
      rgba(255,255,255,.72);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .screenshot-phone {
    position: absolute;
    width: 238px;
    border-radius: 34px;
    padding: 9px;
    background: #111827;
    box-shadow: 0 34px 70px -42px rgba(17, 24, 39, .78);
  }

  .screenshot-phone img {
    width: 100%;
    border-radius: 26px;
  }

  .screenshot-phone.main {
    left: 50%;
    top: 50%;
    width: 278px;
    transform: translate(-50%, -50%) rotate(-3deg);
    z-index: 3;
  }

  .screenshot-phone.left {
    left: 28px;
    top: 120px;
    transform: rotate(7deg);
    opacity: .78;
    z-index: 2;
  }

  .screenshot-phone.right {
    right: 24px;
    bottom: 92px;
    transform: rotate(6deg);
    opacity: .86;
    z-index: 2;
  }

  .app-detail-section {
    padding: 88px 0;
  }

  .feature-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-box {
    min-height: 240px;
    padding: 24px;
    border: 1px solid var(--hairline);
    border-radius: 30px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 52px -44px rgba(17, 24, 39, .4);
  }

  .feature-box .number {
    margin-bottom: 24px;
  }

  .feature-box h3 {
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -.045em;
  }

  .feature-box p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
  }

  .usecase-band {
    color: #fff;
    background:
      radial-gradient(640px 360px at 88% 10%, rgba(14, 165, 233, .22), transparent 62%),
      radial-gradient(560px 360px at 12% 90%, rgba(124, 58, 237, .26), transparent 64%),
      #0b1020;
  }

  .usecase-grid {
    display: grid;
    grid-template-columns: .75fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .usecase-grid p {
    color: rgba(255,255,255,.68);
  }

  .usecase-list {
    display: grid;
    gap: 12px;
  }

  .usecase-item {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    background: rgba(255,255,255,.06);
  }

  .usecase-item b {
    display: block;
  }

  .usecase-item span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
  }

  .app-cta {
    padding: 86px 0 104px;
  }

  .app-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--hairline);
    border-radius: 34px;
    background: rgba(255,255,255,.78);
    box-shadow: var(--shadow-soft);
  }

  .app-cta-card p {
    margin-top: 8px;
    color: var(--muted);
  }

  .pmp-hero {
    background:
      radial-gradient(760px 440px at 8% -8%, rgba(37, 99, 235, .14), transparent 62%),
      radial-gradient(640px 360px at 92% 8%, rgba(245, 158, 11, .14), transparent 60%);
  }

  .pmp-proof {
    padding: 36px 0 86px;
  }

  .proof-number-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .proof-number {
    min-height: 132px;
    padding: 22px;
    border: 1px solid var(--hairline);
    border-radius: 26px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 52px -44px rgba(17, 24, 39, .48);
  }

  .proof-number b {
    display: block;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.06em;
  }

  .proof-number span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.65;
  }

  .release-proof {
    background:
      radial-gradient(640px 380px at 8% 10%, rgba(37, 99, 235, .08), transparent 62%),
      linear-gradient(180deg, #fff, #f7f8fb);
  }

  .release-timeline {
    display: grid;
    gap: 12px;
  }

  .release-item {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--hairline);
    border-radius: 24px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 18px 52px -44px rgba(17, 24, 39, .44);
  }

  .release-item time {
    color: var(--blue);
    font-size: 13px;
    font-weight: 950;
  }

  .release-item b {
    display: block;
    line-height: 1.35;
    letter-spacing: -.03em;
  }

  .release-item span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
  }

  .app-split-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
    gap: 42px;
    align-items: center;
  }

  .app-split-grid h2 {
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.12;
    letter-spacing: -.065em;
    font-weight: 950;
  }

  .app-split-grid p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
  }

  .feature-media-card,
  .feature-media-box {
    border: 1px solid var(--hairline);
    border-radius: 32px;
    background: rgba(255,255,255,.78);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  .feature-media-card img,
  .feature-media-box img {
    width: 100%;
    height: auto;
  }

  .compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--hairline);
    border-radius: 30px;
    background: rgba(255,255,255,.82);
    box-shadow: var(--shadow-soft);
  }

  .compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 13px;
  }

  .compare-table th,
  .compare-table td {
    padding: 18px;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    text-align: left;
    vertical-align: top;
  }

  .compare-table th {
    color: var(--ink);
    background: rgba(37, 99, 235, .06);
    font-weight: 950;
  }

  .compare-table td:first-child {
    color: var(--ink);
    font-weight: 950;
    white-space: nowrap;
  }

  .compare-table tr:last-child td {
    border-bottom: 0;
  }

  .compare-table strong {
    color: #1d4ed8;
  }

  .feature-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-media-box {
    display: flex;
    min-height: 620px;
    flex-direction: column;
  }

  .feature-media-box img {
    aspect-ratio: 9 / 13;
    object-fit: cover;
    object-position: top center;
  }

  .feature-media-box div {
    padding: 22px;
  }

  .feature-media-box .number {
    margin-bottom: 20px;
  }

  .feature-media-box h3 {
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -.045em;
  }

  .feature-media-box p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
  }

  .language-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px;
    border: 1px solid var(--hairline);
    border-radius: 32px;
    background:
      radial-gradient(420px 260px at 92% 0%, rgba(37, 99, 235, .12), transparent 62%),
      rgba(255,255,255,.80);
    box-shadow: var(--shadow-soft);
  }

  .language-panel span {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 16px 38px -32px rgba(17, 24, 39, .45);
  }

  @media (max-width: 1040px) {
    .hero-grid,
    .proof-grid,
    .app-detail-grid,
    .section-head,
    .story-grid,
    .app-split-grid,
    .usecase-grid,
    .app-cta-card,
    .closing-card {
      grid-template-columns: 1fr;
    }

    .product-stage { min-height: auto; }
    .icon-showcase { min-height: auto; }
    .hero-icon-grid {
      width: min(100%, 560px);
      margin: 0 auto;
    }
    .apps-grid { grid-template-columns: 1fr; }
    .app-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proof-number-grid,
    .feature-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promise-grid { grid-template-columns: 1fr; }
    .feature-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .closing-actions { justify-content: flex-start; }
  }

  @media (max-width: 720px) {
    .wrap { width: min(100% - 36px, var(--max)); }
    .nav-links { display: none; }
    .nav { height: 66px; }
    .brand small { display: none; }
    .hero { padding: 62px 0 54px; }
    h1 { font-size: clamp(38px, 10.7vw, 42px); }
    .hero-lead { font-size: 15px; }
    .trust-row,
    .app-meta-grid,
    .catalog-grid,
    .proof-number-grid,
    .feature-media-grid,
    .portfolio-grid,
    .principles,
    .promise-grid,
    .feature-list-grid,
    .scene-grid,
    .milestone-grid,
    .app-side,
    .product-peek {
      grid-template-columns: 1fr;
    }
    .milestone-card.flagship { grid-column: auto; }
    .product-stage {
      min-height: auto;
      padding: 22px;
      border-radius: 32px;
    }
    .icon-showcase { min-height: auto; }
    .hero-icon-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      width: 100%;
      padding: 14px;
      border-radius: 26px;
    }
    .hero-app-icon { border-radius: 18px; }
    .phone {
      width: 244px;
      min-height: 500px;
    }
    .phone-screen { min-height: 472px; }
    .floating-card {
      position: relative;
      width: auto;
      left: auto;
      right: auto;
      top: auto;
      bottom: auto;
      margin: 18px;
    }
    .floating-card.bottom { display: none; }
    .strip-box {
      align-items: flex-start;
      border-radius: 26px;
      flex-direction: column;
    }
    section { padding: 72px 0; }
    .proof { padding: 24px 0 72px; }
    .proof-card { padding: 26px; }
    .app-card { min-height: auto; }
    .app-card.featured { min-height: auto; }
    .catalog-card { min-height: auto; padding: 22px; }
    .catalog-icon { width: 64px; height: 64px; border-radius: 19px; }
    .feature-media-box { min-height: auto; }
    .feature-media-box img { aspect-ratio: auto; }
    .time-item,
    .release-item { grid-template-columns: 1fr; }
    .app-detail-hero { padding: 56px 0 48px; }
    .screenshot-stage { min-height: 500px; border-radius: 32px; }
    .screenshot-phone.main { width: 230px; }
    .screenshot-phone.left,
    .screenshot-phone.right { display: none; }
    .app-cta-card { padding: 28px; }
    .app-cta-card .btn { width: 100%; }
    .closing-card { padding: 28px; }
    .closing-actions .btn { width: 100%; }
  }

/* Closing（締め）— 1文ステートメント用バランス調整 */
.closing-card.statement {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 60px 44px;
}
.closing-card.statement h2 {
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.55;
  letter-spacing: -.01em;
  font-weight: 900;
  max-width: 880px;
  margin: 0 auto;
}
.closing-card.statement p {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.7;
}
