:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #596579;
  --subtle: #8a94a6;
  --line: #dce2eb;
  --soft-line: #edf0f5;
  --paper: #ffffff;
  --canvas: #f5f7fa;
  --blue: #155eef;
  --blue-dark: #0f49bd;
  --blue-soft: #eaf1ff;
  --coral: #ef5b45;
  --coral-soft: #fff0ed;
  --green: #15836d;
  --green-soft: #e8f6f1;
  --yellow: #f5c84b;
  --danger: #c92a2a;
  --danger-soft: #fff0f0;
  --dark: #111827;
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, .06);
  --shadow-md: 0 24px 64px rgba(16, 24, 40, .12);
  --font: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --display: "Manrope", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--font); letter-spacing: 0; }
button, input, select { font: inherit; letter-spacing: 0; }
button, a { touch-action: manipulation; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { flex: 0 0 auto; }
:focus-visible { outline: 3px solid rgba(21, 94, 239, .32); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; background: var(--dark); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 19px/1 var(--display); text-decoration: none; }
.brand-mark { width: 31px; height: 31px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 2px solid var(--ink); }
.brand-mark span { display: grid; place-items: center; font: 800 12px/1 var(--display); }
.brand-mark span:first-child { color: white; background: var(--ink); }
.brand-mark.small { width: 27px; height: 27px; }
.brand-mark.small span { font-size: 10px; }

.button { min-height: 44px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease; }
.button:active { transform: scale(.98); }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.button.primary { color: white; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); box-shadow: 0 8px 24px rgba(21, 94, 239, .2); }
.button.secondary { color: var(--ink); background: white; border-color: var(--line); }
.button.secondary:hover { background: var(--canvas); border-color: #c8d0dc; }
.button.quiet { color: var(--ink); background: transparent; }
.button.quiet:hover { background: var(--canvas); }
.button.inverse { color: var(--dark); background: white; }
.button.inverse:hover { background: #eaf1ff; }
.button.danger { color: var(--danger); background: var(--danger-soft); border-color: #ffc9c9; }
.button.large { min-height: 52px; padding: 0 22px; }
.button.small { min-height: 38px; padding: 0 12px; font-size: 13px; }
.button.full { width: 100%; }
.icon-button { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; border: 0; border-radius: 6px; color: var(--ink); background: transparent; cursor: pointer; transition: background .2s ease, color .2s ease; }
.icon-button:hover { background: var(--canvas); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--soft-line); backdrop-filter: blur(12px); }
.site-nav { width: min(1180px, calc(100% - 40px)); height: 72px; margin: auto; display: flex; align-items: center; gap: 34px; }
.site-links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-links a { color: #344054; font-size: 14px; font-weight: 600; text-decoration: none; }
.site-links a:hover { color: var(--blue); }
.site-actions { display: flex; align-items: center; gap: 8px; }
.mobile-menu { display: none; margin-left: auto; }

.public-page { min-height: 100vh; background: var(--paper); }
.hero-band { min-height: calc(100svh - 72px); padding: 78px 20px 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-copy { width: min(900px, 100%); margin: auto; text-align: center; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: var(--blue); font: 800 12px/1 var(--display); }
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
.hero-copy .eyebrow { justify-content: center; }
.hero-copy h1 { margin: 0; font: 800 clamp(72px, 10vw, 142px)/.88 var(--display); letter-spacing: 0; }
.hero-lead { margin: 27px 0 16px; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.25; font-weight: 800; }
.hero-description { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 25px; }
.product-visual { width: min(1120px, 100%); margin: 70px auto -300px; padding: 16px; background: #dbe4f2; border: 1px solid #c8d3e3; box-shadow: var(--shadow-md); }
.preview-window { min-height: 540px; display: grid; grid-template-columns: 190px 1fr; overflow: hidden; background: #f7f8fa; border: 1px solid #bdc7d6; }
.preview-rail { padding: 24px 18px; background: var(--dark); color: white; }
.preview-brand { margin-bottom: 34px; display: flex; align-items: center; gap: 9px; font-family: var(--display); }
.preview-brand .brand-mark { border-color: white; }
.preview-brand .brand-mark span:first-child { color: var(--dark); background: white; }
.preview-nav { margin: 5px 0; padding: 11px 12px; display: flex; align-items: center; gap: 9px; color: #aab4c5; font-size: 13px; border-radius: 5px; }
.preview-nav.active { color: white; background: #263142; }
.preview-main { padding: 32px; }
.preview-top, .preview-list-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.preview-top div { display: grid; gap: 4px; }
.preview-top small, .preview-list-head span { color: var(--subtle); font: 700 10px/1.3 var(--display); }
.preview-top strong { font-size: 24px; }
.fake-button { padding: 10px 14px; display: inline-flex; align-items: center; gap: 6px; color: white; background: var(--blue); border-radius: 5px; font-size: 12px; font-weight: 700; }
.preview-metrics { margin: 25px 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: white; }
.preview-metrics div { padding: 18px; display: grid; gap: 8px; border-right: 1px solid var(--line); }
.preview-metrics div:last-child { border-right: 0; }
.preview-metrics span, .preview-metrics small { color: var(--muted); font-size: 11px; }
.preview-metrics strong { font: 800 27px/1 var(--display); }
.preview-metrics small { color: var(--green); }
.preview-list { background: white; border: 1px solid var(--line); }
.preview-list-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.preview-list-head strong { font-size: 14px; }
.preview-row { padding: 12px 18px; display: grid; grid-template-columns: 78px minmax(0, 1fr) auto 60px; align-items: center; gap: 14px; border-bottom: 1px solid var(--soft-line); }
.preview-row:last-child { border-bottom: 0; }
.preview-row > div:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.preview-row strong { font-size: 12px; }
.preview-row small { color: var(--subtle); font-size: 10px; }
.preview-row > b { text-align: right; font: 700 12px/1 var(--display); }
.sample-og { width: 78px; aspect-ratio: 1.91/1; display: grid; place-items: center; color: white; }
.sample-og b { font: 800 11px/1.05 var(--display); text-align: center; }
.sample-og.coral { background: var(--coral); }.sample-og.blue { background: var(--blue); }.sample-og.dark { background: var(--dark); }
.status-dot { color: var(--green); font-size: 10px; font-weight: 700; white-space: nowrap; }

.statement-band { padding: 360px 20px 110px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.statement { width: min(1040px, 100%); margin: auto; }
.statement p, .cta-inner > p { color: var(--blue); font: 800 12px/1 var(--display); }
.statement h2 { margin: 20px 0 0; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.25; }
.statement h2 span { color: var(--muted); }
.section-inner { width: min(1140px, calc(100% - 40px)); margin: auto; }
.feature-band, .safety-band { padding: 116px 0; }
.section-heading { max-width: 650px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.3; }
.section-heading > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); line-height: 1.9; }
.feature-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-item { position: relative; padding: 34px 34px 42px; border-right: 1px solid var(--line); }
.feature-item:last-child { border-right: 0; }
.feature-number { position: absolute; top: 18px; right: 20px; color: var(--subtle); font: 700 11px/1 var(--display); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 30px; }
.blue-bg { color: var(--blue); background: var(--blue-soft); }.coral-bg { color: var(--coral); background: var(--coral-soft); }.green-bg { color: var(--green); background: var(--green-soft); }
.feature-item h3 { margin: 0 0 14px; font-size: 20px; }
.feature-item p { margin: 0; color: var(--muted); line-height: 1.85; }

.flow-band { padding: 116px 0; color: white; background: var(--dark); }
.flow-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.eyebrow.light { color: #8fb3ff; }
.flow-layout .section-heading > p:not(.eyebrow) { color: #aeb8c8; }
.flow-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #344054; }
.flow-steps li { min-height: 145px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid #344054; }
.flow-steps li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #596579; border-radius: 50%; color: #b7c0ce; font: 700 13px/1 var(--display); }
.flow-steps li div { display: grid; gap: 7px; }
.flow-steps strong { font-size: 20px; }.flow-steps p { margin: 0; color: #aeb8c8; }
.flow-steps li > svg { color: #8fb3ff; }

.safety-band { background: white; }
.safety-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.safety-visual { padding: 44px; background: var(--blue-soft); border: 1px solid #cad9fc; }
.access-window { padding: 24px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.access-head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.access-head svg { color: var(--green); }
.access-code { margin: 22px 0; padding: 22px; display: grid; gap: 10px; background: var(--canvas); border: 1px dashed #bdc6d3; }
.access-code small { color: var(--subtle); font: 700 10px/1 var(--display); }.access-code b { font: 800 27px/1 var(--display); }.access-code span { color: var(--muted); font-size: 12px; }
.access-people { display: flex; align-items: center; }
.access-people > span { width: 34px; height: 34px; display: grid; place-items: center; margin-right: -7px; color: white; background: var(--dark); border: 2px solid white; border-radius: 50%; font: 700 11px/1 var(--display); }
.access-people > span:nth-child(2) { background: var(--coral); }.access-people > span:nth-child(3) { background: var(--green); }
.access-people p { margin: 0 0 0 18px; color: var(--muted); font-size: 12px; }
.check-list { margin: 26px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }.check-list svg { color: var(--green); }

.cta-band { padding: 110px 20px; color: white; background: var(--blue); }
.cta-inner { width: min(1140px, 100%); margin: auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.cta-inner > p { grid-column: 1/-1; margin: 0; color: #cbdcff; }
.cta-inner h2 { margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: 1.1; }
.site-footer { padding: 52px 20px; background: white; }
.footer-inner { width: min(1140px, 100%); margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: start; }
.footer-inner p { margin: 16px 0 0; color: var(--muted); font-size: 13px; }.footer-inner nav { display: flex; gap: 24px; }.footer-inner nav a { font-size: 13px; text-decoration: none; }.footer-inner small { grid-column: 1/-1; padding-top: 26px; color: var(--subtle); border-top: 1px solid var(--line); }

.auth-page { min-height: 100svh; background: var(--dark); }
.auth-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; height: 80px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; }
.auth-header .brand { color: white; }.auth-header .brand-mark { border-color: white; }.auth-header .brand-mark span:first-child { color: var(--dark); background: white; }.auth-header .text-link { color: var(--ink); border-color: var(--ink); }
.auth-main { min-height: 100svh; display: grid; grid-template-columns: 1fr minmax(460px, 42%); }
.auth-intro { padding: 150px clamp(42px, 7vw, 110px) 80px; display: flex; flex-direction: column; justify-content: center; color: white; background: var(--dark); }
.auth-intro h1 { max-width: 680px; margin: 0; white-space: pre-line; font-size: clamp(40px, 3.8vw, 54px); line-height: 1.3; }
.auth-intro > p:not(.eyebrow) { max-width: 620px; margin: 22px 0 0; color: #b3bdcc; line-height: 1.9; }
.auth-proof { margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.auth-proof > div { padding-top: 18px; display: flex; gap: 12px; border-top: 1px solid #344054; }.auth-proof svg { color: #8fb3ff; }.auth-proof span { display: grid; gap: 5px; }.auth-proof strong { font-size: 13px; }.auth-proof small { color: #8e99aa; font-size: 11px; }
.auth-panel { min-height: 100svh; padding: 110px 50px 60px; display: grid; place-items: center; background: white; }
.auth-panel-inner { width: min(430px, 100%); }
.panel-kicker { margin: 0 0 12px; color: var(--blue); font: 800 11px/1 var(--display); }.auth-panel h2 { margin: 0; font-size: 30px; }.auth-panel-inner > p:not(.panel-kicker) { margin: 10px 0 30px; color: var(--muted); }
.auth-form { display: grid; }.auth-form label, .form-fields > label, .settings-form label, .invite-form label { margin: 18px 0 8px; font-size: 13px; font-weight: 700; }
input, select { width: 100%; min-height: 48px; padding: 0 13px; color: var(--ink); background: white; border: 1px solid #cbd3df; border-radius: 5px; }
input:hover, select:hover { border-color: #9ca8b8; } input:focus, select:focus { border-color: var(--blue); outline: 3px solid rgba(21,94,239,.12); }
.password-field { position: relative; }.password-field input { padding-right: 52px; }.password-field .icon-button { position: absolute; right: 2px; top: 2px; }
.field-help { margin-top: 7px; color: var(--muted); font-size: 11px; }.form-error { min-height: 22px; margin: 12px 0; color: var(--danger); font-size: 13px; font-weight: 600; }
.auth-switch { margin-top: 24px; color: var(--muted); font-size: 13px; text-align: center; }.auth-switch a { color: var(--blue); font-weight: 700; }

.app-page { min-height: 100svh; overflow: hidden; background: var(--canvas); }
.app-shell { height: 100svh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.app-sidebar { position: relative; z-index: 60; min-width: 0; padding: 24px 18px 16px; display: flex; flex-direction: column; color: white; background: var(--dark); }
.app-sidebar .brand { color: white; }.app-sidebar .brand-mark { border-color: white; }.app-sidebar .brand-mark span:first-child { color: var(--dark); background: white; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; }.sidebar-close, .sidebar-open { display: none; }.sidebar-close { color: white; }
.app-nav { margin-top: 38px; display: grid; gap: 5px; }
.app-nav a { min-height: 45px; padding: 0 13px; display: flex; align-items: center; gap: 12px; color: #aeb8c8; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.app-nav a:hover { color: white; background: #202b3b; }.app-nav a.active { color: white; background: #273448; }.app-nav a.active svg { color: #8fb3ff; }
.sidebar-foot { margin-top: auto; display: grid; gap: 15px; }.sidebar-foot > a { display: flex; align-items: center; gap: 9px; color: #aeb8c8; font-size: 12px; text-decoration: none; }
.user-chip { padding-top: 15px; display: grid; grid-template-columns: 34px 1fr 40px; align-items: center; gap: 10px; border-top: 1px solid #344054; }.user-chip > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--dark); background: #8fb3ff; border-radius: 50%; font: 800 12px/1 var(--display); }.user-chip div { min-width: 0; display: grid; gap: 3px; }.user-chip strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.user-chip small { color: #8e99aa; font-size: 10px; }.user-chip .icon-button { color: #aeb8c8; }
.app-workspace { min-width: 0; height: 100svh; overflow: auto; }
.app-topbar { position: sticky; top: 0; z-index: 30; min-height: 82px; padding: 14px 32px; display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.app-topbar > div { display: grid; gap: 3px; }.app-topbar p { margin: 0; color: var(--blue); font: 800 10px/1 var(--display); }.app-topbar h1 { margin: 0; font-size: 21px; }.app-topbar .button { margin-left: auto; }
.app-content { width: min(1280px, 100%); margin: auto; padding: 32px; outline: none; }
.loading-state { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 15px; color: var(--muted); }.loading-state p { margin: 0; }
.spinner { width: 26px; height: 26px; display: inline-block; border: 3px solid #dce2eb; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-stack { display: grid; gap: 28px; }
.welcome-strip { display: flex; align-items: end; justify-content: space-between; gap: 30px; }.welcome-strip h2 { margin: 0 0 7px; font-size: 30px; }.welcome-strip p { margin: 0; color: var(--muted); }.welcome-note { max-width: 320px; padding: 14px 16px; display: flex; gap: 10px; color: #674d00; background: #fff8db; border: 1px solid #f4d97e; font-size: 12px; line-height: 1.6; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border: 1px solid var(--line); }
.metric { min-height: 145px; padding: 22px; display: grid; align-content: space-between; border-right: 1px solid var(--line); }.metric:last-child { border-right: 0; }.metric-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }.metric-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); }.metric strong { font: 800 32px/1 var(--display); }.metric small { color: var(--muted); font-size: 11px; }
.content-section { background: white; border: 1px solid var(--line); }
.section-bar { min-height: 70px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }.section-bar h2 { margin: 0; font-size: 17px; }.section-bar p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }.section-tools { display: flex; align-items: center; gap: 10px; }.search-field { position: relative; }.search-field svg { position: absolute; top: 13px; left: 12px; color: var(--subtle); }.search-field input { min-height: 42px; width: 250px; padding-left: 40px; }
.link-table { width: 100%; border-collapse: collapse; }.link-table th { padding: 12px 18px; color: var(--subtle); background: #fafbfc; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; text-align: left; }.link-table td { padding: 15px 18px; border-bottom: 1px solid var(--soft-line); vertical-align: middle; }.link-table tr:last-child td { border-bottom: 0; }.link-cell { display: grid; grid-template-columns: 92px minmax(180px, 1fr); align-items: center; gap: 14px; }.link-thumb { width: 92px; aspect-ratio: 1.91/1; display: grid; place-items: center; overflow: hidden; color: var(--subtle); background: var(--canvas); border: 1px solid var(--line); }.link-thumb img { width: 100%; height: 100%; object-fit: cover; }.link-info { min-width: 0; display: grid; gap: 5px; }.link-info strong, .link-info small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.link-info strong { font-size: 13px; }.link-info small { color: var(--muted); font-size: 10px; }.number-cell { font: 700 13px/1 var(--display); font-variant-numeric: tabular-nums; }.date-cell { color: var(--muted); font-size: 11px; white-space: nowrap; }
.status { min-height: 26px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 700; white-space: nowrap; }.status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }.status.off { color: #8b5d00; background: #fff5d8; }
.row-actions { display: flex; justify-content: flex-end; gap: 3px; }.row-actions .icon-button { width: 38px; height: 38px; color: var(--muted); }.row-actions .icon-button:hover { color: var(--ink); }
.empty-state { min-height: 260px; padding: 35px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; }.empty-state > div { width: 56px; height: 56px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); }.empty-state h3 { margin: 5px 0 0; }.empty-state p { max-width: 420px; margin: 0 0 8px; color: var(--muted); line-height: 1.7; }

.link-dialog { width: min(940px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; color: var(--ink); background: transparent; border: 0; overflow: visible; }.link-dialog::backdrop { background: rgba(15, 23, 42, .62); backdrop-filter: blur(3px); }.dialog-shell { max-height: calc(100svh - 32px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: white; border-radius: 8px; box-shadow: var(--shadow-md); overflow: hidden; }.dialog-head, .dialog-actions { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }.dialog-head p, .og-preview-wrap > p { margin: 0 0 5px; color: var(--blue); font: 800 10px/1 var(--display); }.dialog-head h2 { margin: 0; font-size: 21px; }.dialog-body { padding: 22px; overflow: auto; }.dialog-actions { justify-content: flex-end; border-top: 1px solid var(--line); border-bottom: 0; }.form-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }.form-fields { display: grid; align-content: start; }.url-divider { margin: 16px 0 8px; display: flex; align-items: center; gap: 10px; color: var(--subtle); font-size: 10px; }.url-divider::before, .url-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.upload-drop { min-height: 116px; padding: 18px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; background: var(--canvas); border: 1px dashed #aeb8c8; }.upload-drop.drag { background: var(--blue-soft); border-color: var(--blue); }.upload-drop > span { color: var(--muted); font-size: 12px; }.upload-drop > small { flex-basis: 100%; color: var(--subtle); text-align: center; }
.og-preview-wrap { padding: 18px; align-self: start; background: var(--canvas); border: 1px solid var(--line); }.og-preview { overflow: hidden; background: white; border: 1px solid var(--line); }.og-preview-image { aspect-ratio: 1.91/1; display: grid; place-items: center; color: var(--subtle); background: #e9edf3; background-position: center; background-size: cover; }.og-preview-image span { display: flex; align-items: center; gap: 8px; }.og-preview-copy { padding: 15px; display: grid; gap: 8px; }.og-preview-copy strong { line-height: 1.5; overflow-wrap: anywhere; }.og-preview-copy small, .preview-note { color: var(--muted); font-size: 10px; }.preview-note { margin: 12px 0 0; line-height: 1.6; }

.invite-layout, .settings-layout { display: grid; grid-template-columns: 360px 1fr; gap: 24px; }.side-panel, .settings-panel { padding: 24px; align-self: start; background: white; border: 1px solid var(--line); }.side-panel h2, .settings-panel h2 { margin: 0; font-size: 18px; }.side-panel > p, .settings-panel > p { margin: 8px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }.invite-form, .settings-form { display: grid; }.invite-form .button, .settings-form .button { margin-top: 20px; }.invite-list { background: white; border: 1px solid var(--line); }.invite-row { padding: 17px 20px; display: grid; grid-template-columns: minmax(160px, 1fr) 110px 110px auto; align-items: center; gap: 15px; border-bottom: 1px solid var(--soft-line); }.invite-row:last-child { border-bottom: 0; }.invite-code { display: grid; gap: 5px; }.invite-code strong { font: 800 15px/1 var(--display); }.invite-code small, .invite-meta { color: var(--muted); font-size: 10px; }.invite-actions { display: flex; justify-content: flex-end; gap: 4px; }.settings-layout { grid-template-columns: 1fr 1fr; }.account-summary { padding: 24px; display: flex; align-items: center; gap: 15px; background: white; border: 1px solid var(--line); }.account-avatar { width: 50px; height: 50px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font: 800 18px/1 var(--display); }.account-summary div { display: grid; gap: 5px; }.account-summary small { color: var(--muted); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; max-width: min(380px, calc(100% - 44px)); padding: 13px 16px; display: flex; align-items: center; gap: 9px; color: white; background: var(--dark); border-radius: 6px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }.toast.show { opacity: 1; transform: translateY(0); }.toast.error { background: #8f1d1d; }
.context-menu { position: fixed; z-index: 120; width: 190px; padding: 6px; background: white; border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow-md); }
.context-menu[hidden] { display: none; }.context-menu button { width: 100%; min-height: 40px; padding: 0 10px; display: flex; align-items: center; gap: 9px; color: var(--ink); background: transparent; border: 0; border-radius: 5px; font-size: 12px; font-weight: 600; cursor: pointer; }.context-menu button:hover { background: var(--canvas); }.context-menu .danger-item { color: var(--danger); border-top: 1px solid var(--soft-line); }
.sidebar-scrim { display: none; }

.legal-main { width: min(820px, calc(100% - 40px)); min-height: 70svh; margin: auto; padding: 100px 0; }.legal-main h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); }.legal-date { color: var(--muted); }.legal-main section { padding: 30px 0; border-top: 1px solid var(--line); }.legal-main h2 { font-size: 20px; }.legal-main section p { color: var(--muted); line-height: 1.9; }
.redirect-page, .not-found-page { min-height: 100svh; display: grid; place-items: center; padding: 24px; background: var(--canvas); }.redirect-page main, .not-found-page main { width: min(480px, 100%); display: grid; justify-items: center; gap: 15px; text-align: center; }.redirect-page h1, .not-found-page h1 { margin: 0; }.redirect-page p, .not-found-page span { color: var(--muted); }.not-found-page main > p { margin: 0; color: var(--blue); font: 800 70px/1 var(--display); }

.tiktok-bridge-page { min-height: 100svh; overflow: hidden; color: white; background: var(--dark); }
.tiktok-tap-screen { position: relative; min-height: 100svh; padding: 26px clamp(20px, 5vw, 64px); display: grid; grid-template-rows: auto 1fr auto; color: white; text-decoration: none; cursor: pointer; isolation: isolate; }
.tiktok-tap-screen::before { content: ""; position: absolute; z-index: -1; top: 0; right: clamp(20px, 8vw, 130px); width: clamp(8px, 1vw, 14px); height: 46%; background: var(--coral); }
.tiktok-tap-screen::after { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: min(34vw, 440px); height: 13px; background: var(--blue); }
.bridge-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); }
.bridge-brand .brand-mark { border-color: white; }.bridge-brand .brand-mark span:first-child { color: var(--dark); background: white; }
.bridge-brand strong { font-size: 18px; }.bridge-brand small { margin-left: auto; color: #9ba7b8; font: 700 10px/1 var(--display); }
.bridge-main { width: min(660px, 100%); margin: auto; display: grid; justify-items: center; text-align: center; }
.bridge-kicker { margin: 0 0 26px; color: #92b5ff; font: 800 11px/1 var(--display); }
.bridge-device { position: relative; width: 92px; height: 92px; display: grid; place-items: center; color: var(--dark); background: white; border-radius: 50%; }
.bridge-device > b { font: 800 25px/1 var(--display); }.bridge-device > i { position: absolute; right: -9px; bottom: -6px; min-width: 44px; height: 31px; padding: 0 7px; display: grid; place-items: center; color: white; background: var(--coral); border: 4px solid var(--dark); border-radius: 999px; font: 800 7px/1 var(--display); font-style: normal; }
.bridge-main h1 { margin: 30px 0 12px; font-size: clamp(34px, 6vw, 64px); line-height: 1.2; }
.bridge-main > p:not(.bridge-kicker) { margin: 0; color: #b9c2d0; font-size: clamp(17px, 2vw, 21px); line-height: 1.8; }
.bridge-button { min-height: 54px; margin-top: 32px; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px; color: var(--dark); background: white; border-radius: 6px; font-weight: 800; box-shadow: 7px 7px 0 var(--blue); }
.bridge-button > b { font: 800 21px/1 var(--display); }
.bridge-footer { padding-top: 24px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; color: #9ba7b8; }
.bridge-footer > span { height: 1px; background: #344054; }.bridge-footer small { font-size: 10px; }.bridge-footer b { color: white; font: 800 10px/1 var(--display); }
.bridge-fallback { position: fixed; z-index: 2; left: 50%; bottom: 62px; translate: -50% 0; color: #9ba7b8; font-size: 10px; text-underline-offset: 3px; }

.reveal { animation: reveal .7s cubic-bezier(.2,.7,.2,1) both; }.product-visual.reveal { animation-delay: .12s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .site-links { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 15px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }.site-links.open { display: grid; }.site-links a { min-height: 44px; display: flex; align-items: center; }.mobile-menu { display: grid; }.site-actions { margin-left: 0; }
  .preview-window { grid-template-columns: 150px 1fr; }.preview-main { padding: 24px; }
  .flow-layout, .safety-layout { grid-template-columns: 1fr; gap: 60px; }.sticky-copy { position: static; }.safety-visual { order: 2; }
  .auth-main { grid-template-columns: 1fr 450px; }.auth-intro { padding-left: 42px; padding-right: 42px; }.auth-proof { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }.metric:nth-child(2) { border-right: 0; }.metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .invite-layout { grid-template-columns: 1fr; }.side-panel { position: static; }
}

@media (max-width: 760px) {
  .site-nav { width: calc(100% - 28px); }.site-actions .quiet { display: none; }.site-actions .button { min-height: 40px; padding: 0 12px; font-size: 12px; }.mobile-menu { margin-left: auto; }.hero-band { padding-top: 58px; }.hero-copy h1 { font-size: 68px; }.hero-lead { font-size: 31px; }.hero-description br { display: none; }.hero-actions { flex-direction: column; gap: 12px; }.product-visual { margin-top: 50px; margin-bottom: -180px; padding: 8px; overflow: hidden; }.preview-window { min-width: 700px; min-height: 420px; transform: scale(.68); transform-origin: top left; }.product-visual { height: 300px; }.statement-band { padding-top: 250px; padding-bottom: 75px; }.feature-band, .safety-band, .flow-band { padding: 78px 0; }.section-inner { width: calc(100% - 32px); }.feature-grid { grid-template-columns: 1fr; margin-top: 45px; }.feature-item { border-right: 0; border-bottom: 1px solid var(--line); }.feature-item:last-child { border-bottom: 0; }.flow-steps li { min-height: 130px; }.safety-layout { gap: 45px; }.safety-visual { padding: 18px; }.cta-inner { grid-template-columns: 1fr; align-items: start; }.cta-inner .button { justify-self: start; }.footer-inner { grid-template-columns: 1fr; }.footer-inner nav { flex-wrap: wrap; }.footer-inner small { grid-column: auto; }
  .auth-header { height: 70px; padding: 0 18px; }.auth-header .text-link { color: white; border-color: #8e99aa; font-size: 12px; }.auth-main { display: block; }.auth-intro { min-height: 420px; padding: 120px 20px 60px; }.auth-intro h1 { font-size: 38px; }.auth-proof { display: none; }.auth-panel { min-height: auto; padding: 48px 20px 70px; }
  .app-shell { display: block; }.app-sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: min(280px, 86vw); transform: translateX(-105%); transition: transform .24s ease; }.app-sidebar.open { transform: translateX(0); }.sidebar-close, .sidebar-open { display: grid; }.sidebar-scrim { position: fixed; z-index: 50; inset: 0; display: block; background: rgba(15,23,42,.55); opacity: 0; pointer-events: none; transition: opacity .2s ease; }.sidebar-scrim.show { opacity: 1; pointer-events: auto; }.app-workspace { height: 100svh; }.app-topbar { min-height: 72px; padding: 10px 16px; }.app-topbar h1 { font-size: 17px; }.app-topbar .button { padding: 0 12px; font-size: 12px; }.app-content { padding: 22px 16px 40px; }.welcome-strip { align-items: start; flex-direction: column; }.welcome-strip h2 { font-size: 25px; }.welcome-note { max-width: none; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric { min-height: 130px; padding: 17px; }.metric strong { font-size: 27px; }.section-bar { align-items: start; flex-direction: column; }.section-tools, .search-field, .search-field input { width: 100%; }.content-section { overflow: hidden; }.table-scroll { overflow-x: auto; }.link-table { min-width: 760px; }.form-grid { grid-template-columns: 1fr; }.og-preview-wrap { order: -1; }.link-dialog { width: calc(100% - 16px); max-height: calc(100svh - 16px); }.dialog-shell { max-height: calc(100svh - 16px); }.dialog-head, .dialog-body, .dialog-actions { padding: 16px; }.dialog-actions .button { flex: 1; }.invite-row { grid-template-columns: 1fr auto; }.invite-row .invite-meta { display: none; }.settings-layout { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .site-actions .primary { display: none; }.hero-copy h1 { font-size: 60px; }.metric-grid { grid-template-columns: 1fr; }.metric { border-right: 0; border-bottom: 1px solid var(--line); }.metric:last-child { border-bottom: 0; }.app-topbar .button { width: 44px; padding: 0; font-size: 0; }.app-topbar .button svg { width: 19px; height: 19px; }.invite-row { grid-template-columns: 1fr; }.invite-actions { justify-content: start; }
}

@media (max-width: 600px) {
  .tiktok-tap-screen { padding: 20px 18px; }.tiktok-tap-screen::before { right: 25px; height: 31%; }.bridge-main { align-content: center; }.bridge-main h1 { font-size: 36px; }.bridge-footer { grid-template-columns: 1fr auto; }.bridge-footer small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
