:root {
  --ink: #17191d;
  --muted: #737985;
  --line: #e8e9ee;
  --paper: #fff;
  --soft: #f6f7fa;
  --primary: #171717;
  --primary-dark: #000000;
  --kakao: #fee500;
  --shadow: 0 16px 50px rgba(28, 31, 42, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfbfd; font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.topbar { height: 72px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(232,233,238,.8); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; color: #fff; background: #171717; box-shadow: none; }
.topbar nav { display: flex; align-items: center; gap: 28px; }
.topbar nav > a { font-size: 14px; font-weight: 650; color: #555b67; }
.topbar nav > a:hover { color: var(--primary); }
.topbar .button { color: #201f1a; }

.button { border: 0; cursor: pointer; border-radius: 12px; min-height: 44px; padding: 0 18px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { color: #fff; background: var(--primary); box-shadow: 0 8px 20px rgba(20,20,22,.22); }
.button-primary:hover { color: #fff; background: var(--primary-dark); }
.button-soft { color: #4d5260; background: #f1f1f6; border: 1px solid #e7e7ed; box-shadow: none; }
.button-kakao { background: var(--kakao); box-shadow: none; }
.button-sm { min-height: 36px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.button-lg { min-height: 56px; padding: 0 26px; border-radius: 15px; font-size: 16px; }
.button-block { width: 100%; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.icon-button:hover { background: var(--soft); }
.icon-button.danger:hover { color: #e24c5b; border-color: #ffcbd0; background: #fff5f6; }
.eyebrow { margin: 0 0 13px; font-size: 11px; line-height: 1; font-weight: 850; letter-spacing: 1.8px; color: var(--primary); }
.muted { color: var(--muted); line-height: 1.65; }

label { display: block; position: relative; font-size: 13px; font-weight: 700; color: #454a55; }
label em { font-style: normal; font-weight: 500; color: #9ba0aa; }
input, textarea, select { width: 100%; border: 1px solid #dde0e6; background: #fff; border-radius: 11px; outline: 0; padding: 11px 13px; color: #252830; margin-top: 7px; transition: border-color .15s, box-shadow .15s; }
input, select { min-height: 44px; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { border-color: #8a8a90; box-shadow: 0 0 0 3px rgba(20,20,22,.1); }
label small { display: block; margin-top: 6px; color: #9a9fa9; font-weight: 500; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-prefix { display: flex; align-items: center; margin-top: 7px; border: 1px solid #dde0e6; border-radius: 11px; overflow: hidden; background: #f7f8fa; }
.input-prefix span { padding-left: 13px; color: #858b96; }
.input-prefix input { margin: 0; border: 0; background: transparent; box-shadow: none; }
.grow { flex: 1; }

.flash { position: fixed; z-index: 200; top: 88px; left: 50%; transform: translateX(-50%); padding: 13px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); transition: opacity .3s, transform .3s; }
.flash-success { background: #e9fbf1; color: #197a49; border: 1px solid #c9f1da; }
.flash-error { background: #fff0f1; color: #b52e3c; border: 1px solid #ffd4d8; }
.flash-info { background: #eef3ff; color: #3f5a9b; border: 1px solid #d6e2ff; }
.flash-hide { opacity: 0; transform: translate(-50%, -8px); pointer-events: none; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 15px); opacity: 0; display: flex; gap: 9px; align-items: center; padding: 13px 18px; background: #24262d; color: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.25); font-size: 13px; font-weight: 650; transition: .2s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast-error { background: #c83e4d; }

/* Installation */
.install-page { min-height: 100vh; background: #f4f4f5; }
.install-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); }
.install-hero { padding: 9vh 8vw; color: #fff; position: sticky; top: 0; height: 100vh; overflow: hidden; background: #171717; }
.install-hero::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.1); border-radius: 44% 56% 65% 35%; right: -130px; bottom: -120px; transform: rotate(24deg); }
.install-hero .brand-mark { width: 47px; height: 47px; border-radius: 15px; background: rgba(255,255,255,.14); box-shadow: none; font-size: 20px; }
.install-hero .eyebrow { margin-top: 90px; color: #c4c4c8; }
.install-hero h1 { margin: 0; font-size: clamp(40px, 4vw, 64px); line-height: 1.12; letter-spacing: -3px; }
.install-hero > p:not(.eyebrow) { max-width: 480px; margin: 28px 0 38px; color: rgba(255,255,255,.73); line-height: 1.75; font-size: 16px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 650; }
.feature-list i { width: 30px; height: 30px; display: inline-grid; place-items: center; margin-right: 9px; background: rgba(255,255,255,.1); border-radius: 9px; }
.install-card { width: min(620px, calc(100% - 48px)); margin: 7vh auto; background: #fff; border: 1px solid rgba(255,255,255,.8); border-radius: 25px; padding: 42px; box-shadow: 0 24px 80px rgba(20,20,22,.13); align-self: start; }
.install-card .step-label { display: inline-flex; padding: 6px 10px; border-radius: 8px; color: var(--primary); background: #f2f2f3; font-size: 11px; font-weight: 800; }
.install-card h2 { margin: 13px 0 30px; letter-spacing: -1px; font-size: 27px; }
.form-section { padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); display: grid; gap: 15px; }
.form-section h3 { margin: 0 0 3px; display: flex; align-items: center; gap: 9px; font-size: 14px; }
.form-section h3 span { width: 24px; height: 24px; display: inline-grid; place-items: center; color: var(--primary); background: #f2f2f3; border-radius: 50%; font-size: 11px; }
.hint { display: flex; gap: 10px; padding: 12px; color: #737985; background: #f7f7fa; border-radius: 10px; font-size: 12px; line-height: 1.6; }
.hint code, .copy-box code { color: var(--primary); word-break: break-all; }
.alert { margin: -10px 0 24px; padding: 14px 16px; border-radius: 12px; font-size: 13px; }
.alert-error { color: #a8343e; background: #fff3f4; border: 1px solid #ffd7da; }
.alert ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; }
.success-icon { width: 70px; height: 70px; display: grid; place-items: center; color: #fff; background: #171717; border-radius: 14px; box-shadow: none; font-size: 30px; }
.copy-box { margin: 20px 0; padding: 13px; border: 1px dashed #d2d2d6; background: #f8f8f8; border-radius: 10px; font-size: 12px; }

/* Home */
.home-page { background: #fff; }
.home-hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; max-width: 1280px; margin: auto; padding: 70px 5vw 90px; }
.hero-copy h1 { margin: 0; font-size: clamp(48px, 5.4vw, 78px); line-height: 1.08; letter-spacing: -4px; }
.hero-copy h1 span { color: var(--primary); }
.hero-copy > p:not(.eyebrow) { max-width: 570px; margin: 28px 0 36px; color: #6c727e; font-size: 18px; line-height: 1.75; letter-spacing: -.2px; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.text-link { color: #696f79; font-size: 14px; font-weight: 650; }
.hero-visual { min-height: 640px; display: grid; place-items: center; position: relative; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-a { width: 430px; height: 430px; background: #f0f0f1; right: 4%; top: 9%; }
.orb-b { width: 180px; height: 180px; background: #ffecbd; left: 7%; bottom: 7%; }
.phone-card { width: 320px; min-height: 590px; padding: 24px 22px; position: relative; z-index: 2; display: flex; align-items: center; flex-direction: column; background: #f3f3f4; border: 9px solid #22232a; border-radius: 38px; color: #171717; box-shadow: none; }
.phone-top { width: 100%; display: flex; justify-content: space-between; }
.phone-top span { width: 80px; height: 18px; border-radius: 10px; background: #22232a; }
.demo-avatar { width: 78px; height: 78px; margin: 32px 0 13px; display: grid; place-items: center; background: #f3c867; color: #332a1b; font-size: 27px; font-weight: 850; border-radius: 50%; border: 4px solid rgba(255,255,255,.5); }
.phone-card > strong { font-size: 18px; }
.phone-card > small { margin: 5px 0 25px; color: rgba(255,255,255,.7); }
.demo-link { width: 100%; height: 64px; margin-bottom: 11px; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #292734; background: rgba(255,255,255,.94); border-radius: 17px; box-shadow: 0 7px 14px rgba(20,20,22,.09); font-size: 12px; font-weight: 750; }
.demo-link > i:first-child { font-size: 18px; color: #171717; }
.demo-link span { flex: 1; }
.demo-social { display: flex; gap: 20px; margin-top: 16px; font-size: 20px; }
.features { padding: 110px 5vw 130px; background: #f8f8fb; }
.section-heading { text-align: center; }
.section-heading h2 { margin: 0 0 50px; font-size: 37px; letter-spacing: -1.6px; }
.feature-grid { max-width: 1120px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid article { padding: 34px; background: #fff; border: 1px solid #ededf2; border-radius: 20px; box-shadow: 0 12px 35px rgba(32,34,42,.04); }
.feature-grid article > span { width: 50px; height: 50px; display: grid; place-items: center; color: var(--primary); background: #f2f2f3; border-radius: 15px; font-size: 21px; }
.feature-grid h3 { margin: 22px 0 9px; font-size: 19px; }
.feature-grid p { margin: 0; color: #777d88; line-height: 1.7; font-size: 14px; }

/* Dashboard */
.dashboard-page { background: #f5f6f9; }
.dashboard-page .topbar { position: fixed; width: 100%; }
.dashboard-shell { min-height: 100vh; padding-top: 72px; display: grid; grid-template-columns: 235px minmax(550px, 760px) minmax(330px, 1fr); }
.side-panel { padding: 28px 20px; border-right: 1px solid var(--line); background: #fff; position: sticky; top: 72px; height: calc(100vh - 72px); }
.side-user { padding: 0 5px 25px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
.mini-avatar { flex: 0 0 auto; width: 39px; height: 39px; display: grid; place-items: center; overflow: hidden; color: #fff; background: #171717; border-radius: 12px; font-size: 14px; font-weight: 800; }
.mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.side-user strong, .side-user span { display: block; max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user strong { font-size: 14px; }
.side-user span { margin-top: 3px; color: #9297a1; font-size: 11px; }
.side-nav { margin: 22px 0; display: grid; gap: 5px; }
.side-nav a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 0 12px; border-radius: 10px; color: #676d78; font-size: 13px; font-weight: 650; }
.side-nav a.active, .side-nav a:hover { color: var(--primary); background: #f2f2f3; }
.side-nav i { font-size: 16px; }
.side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.side-stats div { padding: 12px; background: #f7f7fa; border-radius: 10px; }
.side-stats span, .side-stats strong { display: block; }
.side-stats span { margin-bottom: 4px; color: #9297a1; font-size: 10px; }
.side-stats strong { font-size: 17px; }
.editor-panel { padding: 44px 34px 100px; }
.editor-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 25px; }
.editor-heading h1 { margin: 0; font-size: 31px; letter-spacing: -1.3px; }
.save-state { color: #8a909b; font-size: 11px; }
.save-state i { color: #32a06a; }
.save-state.saving i { color: var(--primary); }
.settings-card, .content-section { margin-bottom: 22px; padding: 26px; background: #fff; border: 1px solid #e9eaf0; border-radius: 18px; box-shadow: 0 5px 18px rgba(31,34,45,.025); }
.settings-card { display: grid; gap: 19px; }
.settings-card form { display: grid; gap: 19px; }
.settings-card > .button, .settings-card form > .button { justify-self: start; }
.card-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.card-heading > span { width: 40px; height: 40px; display: grid; place-items: center; background: #f2f2f3; color: var(--primary); border-radius: 12px; }
.card-heading h2, .section-row h2 { margin: 0; font-size: 17px; letter-spacing: -.5px; }
.card-heading p, .section-row p { margin: 4px 0 0; color: #9297a1; font-size: 11px; }
.avatar-row { display: flex; align-items: center; gap: 18px; }
.profile-avatar-large { flex: 0 0 auto; width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; color: #fff; background: #171717; border-radius: 22px; font-size: 25px; font-weight: 800; }
.profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.char-count { position: absolute; right: 9px; bottom: 8px; padding: 3px 6px; background: rgba(255,255,255,.9); }
.toggle-line { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.toggle-line strong, .toggle-line > div > span { display: block; }
.toggle-line strong { font-size: 13px; }
.toggle-line > div > span { margin-top: 4px; color: #969ba5; font-size: 11px; }
.switch { position: relative; display: inline-block; width: 43px; height: 25px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.switch span { position: absolute; inset: 0; cursor: pointer; border-radius: 20px; background: #d7d9e0; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.14); transition: .2s; }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch-sm { width: 36px; height: 21px; }
.switch-sm span::before { width: 15px; height: 15px; }
.switch-sm input:checked + span::before { transform: translateX(15px); }
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.color-control { display: flex; align-items: center; gap: 10px; margin-top: 7px; height: 46px; padding: 6px 11px; border: 1px solid #dde0e6; border-radius: 11px; }
.color-control input { width: 29px; min-height: 29px; height: 29px; margin: 0; padding: 0; border: 0; border-radius: 8px; overflow: hidden; }
.color-control span { font-size: 12px; color: #6b717c; }
.section-row { display: flex; align-items: center; justify-content: space-between; }
.add-menu { margin: 20px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.add-menu button { padding: 14px 9px; display: flex; flex-direction: column; gap: 9px; border: 1px solid var(--line); background: #fafafd; border-radius: 12px; cursor: pointer; text-align: left; }
.add-menu button:hover { color: var(--primary); border-color: #c6c6ca; background: #f7f7f8; }
.add-menu button > i { font-size: 19px; }
.add-menu strong, .add-menu small { display: block; }
.add-menu strong { font-size: 12px; }
.add-menu small { margin-top: 3px; color: #999ea8; font-size: 9px; }
.block-list { margin-top: 20px; display: grid; gap: 12px; }
.block-card { position: relative; display: grid; grid-template-columns: 34px 1fr; border: 1px solid #e3e4ea; border-radius: 15px; background: #fff; overflow: hidden; transition: opacity .2s, border-color .2s; }
.block-card:hover { border-color: #d0d0d4; }
.block-card.is-disabled { opacity: .58; }
.block-ghost { opacity: .3; background: #f2f2f3; }
.drag-handle { display: grid; place-items: center; color: #a4a8b1; background: #f8f8fa; border-right: 1px solid var(--line); cursor: grab; }
.drag-handle:active { cursor: grabbing; }
.block-body { padding: 17px; }
.block-top { display: flex; justify-content: space-between; align-items: center; }
.block-label { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.block-label > span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--primary); background: #f2f2f3; border-radius: 9px; }
.block-actions { display: flex; align-items: center; gap: 8px; }
.block-fields { display: grid; gap: 12px; margin: 16px 0; padding-top: 15px; border-top: 1px solid var(--line); }
.social-items { display: grid; gap: 7px; }
.social-item { display: grid; grid-template-columns: 110px .65fr 1.5fr 34px; gap: 6px; }
.social-item input, .social-item select { margin: 0; min-height: 39px; padding: 8px; font-size: 11px; }
.social-item button { border: 1px solid #e4e5ea; background: #fff; border-radius: 9px; cursor: pointer; }
.empty-blocks { padding: 45px; display: flex; align-items: center; flex-direction: column; color: #9ba0aa; border: 1px dashed #d6d8df; border-radius: 14px; }
.empty-blocks i { margin-bottom: 12px; font-size: 26px; }
.empty-blocks strong { color: #646a75; font-size: 14px; }
.empty-blocks span { margin-top: 6px; font-size: 11px; }
.preview-panel { min-width: 0; padding: 34px max(25px, 4vw); position: sticky; top: 72px; height: calc(100vh - 72px); background: #eeeff4; border-left: 1px solid #e1e2e8; }
.preview-toolbar { max-width: 320px; margin: 0 auto 13px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.phone-preview { width: min(320px, 100%); height: min(620px, calc(100vh - 185px)); margin: auto; padding: 8px; background: #202228; border-radius: 37px; box-shadow: 0 25px 50px rgba(30,32,41,.17); }
.phone-preview iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #fff; }
.profile-url { max-width: 320px; height: 40px; margin: 14px auto 0; padding: 0 8px 0 13px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dedfe5; border-radius: 10px; }
.profile-url span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #858b96; font-size: 10px; }
.profile-url button { border: 0; background: none; cursor: pointer; color: var(--primary); }

/* Public profile */
.profile-public { min-height: 100vh; color: var(--profile-text); background: var(--profile-bg); position: relative; overflow-x: hidden; }
.profile-glow { position: fixed; width: 430px; height: 430px; left: 50%; top: -300px; transform: translateX(-50%); border-radius: 50%; background: var(--profile-accent); filter: blur(80px); opacity: .24; pointer-events: none; }
.public-shell { width: min(620px, calc(100% - 32px)); min-height: 100vh; margin: auto; padding: 55px 0 35px; position: relative; }
.preview-notice { margin: -28px auto 28px; width: max-content; padding: 8px 12px; color: #fff; background: #272931; border-radius: 9px; font-size: 11px; }
.public-head { text-align: center; }
.public-avatar { width: 100px; height: 100px; margin: auto; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--profile-accent); border-radius: 50%; border: 4px solid rgba(255,255,255,.6); box-shadow: 0 12px 35px rgba(0,0,0,.13); font-size: 33px; font-weight: 850; }
.public-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-head h1 { margin: 19px 0 3px; font-size: 25px; letter-spacing: -.8px; }
.public-handle { opacity: .55; font-size: 12px; }
.public-head p { max-width: 500px; margin: 16px auto 0; opacity: .78; font-size: 14px; line-height: 1.65; }
.public-blocks { margin-top: 32px; display: grid; gap: 13px; }
.public-link { min-height: 72px; padding: 11px 16px; display: flex; align-items: center; gap: 13px; color: var(--profile-text); background: var(--profile-button); border: 1px solid rgba(128,128,128,.1); border-radius: var(--profile-radius); box-shadow: 0 8px 22px rgba(25,27,34,.08); transition: transform .18s, box-shadow .18s; }
.public-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(25,27,34,.12); }
.link-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: var(--profile-accent); background: color-mix(in srgb, var(--profile-accent) 12%, transparent); border-radius: 13px; font-size: 18px; }
.link-copy { flex: 1; min-width: 0; }
.link-copy strong, .link-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-copy strong { font-size: 14px; }
.link-copy small { margin-top: 5px; opacity: .55; font-size: 10px; }
.link-arrow { opacity: .45; }
.public-text { padding: 20px 21px; background: color-mix(in srgb, var(--profile-button) 82%, transparent); border-radius: var(--profile-radius); }
.public-text h2 { margin: 0 0 8px; font-size: 16px; }
.public-text p { margin: 0; opacity: .75; font-size: 13px; line-height: 1.7; }
.public-image { display: block; overflow: hidden; background: var(--profile-button); border-radius: var(--profile-radius); box-shadow: 0 8px 22px rgba(25,27,34,.08); }
.public-image img { width: 100%; max-height: 480px; object-fit: cover; }
.public-image strong { display: block; padding: 14px 17px; font-size: 13px; }
.public-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }
.public-social a { width: 48px; height: 48px; display: grid; place-items: center; color: var(--profile-text); background: var(--profile-button); border-radius: 15px; box-shadow: 0 7px 18px rgba(25,27,34,.08); font-size: 19px; transition: transform .18s; }
.public-social a:hover { transform: translateY(-2px); }
.spacer-sm { height: 10px; }.spacer-md { height: 28px; }.spacer-lg { height: 54px; }
.public-footer { padding-top: 42px; text-align: center; }
.public-footer a { opacity: .45; font-size: 11px; font-weight: 750; }
.public-footer i { color: var(--profile-accent); }

/* Admin */
.admin-page { background: #f5f6f9; }
.admin-shell { max-width: 1440px; margin: auto; padding: 48px 4vw 90px; }
.admin-title { display: flex; justify-content: space-between; align-items: center; }
.admin-title h1 { margin: 0; font-size: 32px; letter-spacing: -1.4px; }
.admin-title > div > p:last-child { margin: 8px 0 0; color: #858b96; font-size: 13px; }
.admin-badge { padding: 9px 13px; color: #55555b; background: #f1f1f2; border-radius: 10px; font-size: 12px; font-weight: 750; }
.stat-grid { margin: 30px 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-grid article { padding: 22px; display: flex; align-items: center; gap: 15px; background: #fff; border: 1px solid #e8e9ee; border-radius: 16px; }
.stat-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; font-size: 18px; }
.stat-icon.purple { color: #171717; background: #f2f2f3; }.stat-icon.blue { color: #3980cf; background: #eaf4ff; }.stat-icon.green { color: #229965; background: #e7f9f0; }.stat-icon.orange { color: #d97b2c; background: #fff2e5; }
.stat-grid small, .stat-grid strong { display: block; }
.stat-grid small { margin-bottom: 4px; color: #8f949e; font-size: 11px; }
.stat-grid strong { font-size: 23px; }
.admin-grid { display: grid; grid-template-columns: minmax(650px, 1fr) 320px; gap: 18px; align-items: start; }
.admin-card { background: #fff; border: 1px solid #e8e9ee; border-radius: 17px; box-shadow: 0 5px 18px rgba(31,34,45,.025); }
.admin-card-head { padding: 21px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.admin-card-head h2 { margin: 0; font-size: 16px; }
.admin-card-head p { margin: 4px 0 0; color: #989da7; font-size: 10px; }
.search-form { width: 230px; height: 39px; padding: 0 10px; display: flex; align-items: center; gap: 7px; border: 1px solid #e1e2e7; border-radius: 10px; }
.search-form i { color: #9a9fa9; }
.search-form input { min-height: 0; height: auto; padding: 0; margin: 0; border: 0; box-shadow: none; font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 12px 15px; color: #9297a2; background: #fafafd; text-align: left; font-size: 10px; font-weight: 700; }
td { padding: 14px 15px; border-top: 1px solid #f0f0f3; vertical-align: middle; }
td > small { display: block; margin-top: 4px; color: #999ea8; }
.member-cell { display: flex; align-items: center; gap: 9px; min-width: 180px; }
.member-cell strong, .member-cell small { display: block; }
.member-cell small { margin-top: 3px; color: #999ea8; font-size: 9px; }
.status, .role { display: inline-flex; margin-right: 5px; padding: 4px 6px; border-radius: 6px; font-size: 9px; font-weight: 750; }
.status-active { color: #228357; background: #e8f8f0; }.status-suspended { color: #bd3948; background: #fff0f1; }.role { color: #55555b; background: #f2f2f3; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu[open] form { position: absolute; z-index: 10; width: 230px; right: 0; top: 35px; padding: 14px; display: grid; gap: 10px; background: #fff; border: 1px solid #e2e3e8; border-radius: 12px; box-shadow: var(--shadow); }
.user-menu form select { min-height: 36px; padding: 7px; font-size: 11px; }
.table-empty { padding: 45px; color: #999ea8; text-align: center; }
.settings-admin form { padding: 20px; display: grid; gap: 17px; }
.settings-admin .toggle-line { padding: 6px 0; border-top: 1px solid #f0f0f3; }
.admin-note { margin: 0 20px 20px; padding: 12px; display: flex; gap: 9px; color: #808690; background: #f7f7fa; border-radius: 10px; font-size: 10px; line-height: 1.55; }
.admin-note p { margin: 0; }.admin-note code { color: #55555b; }
.empty-page { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.empty-page > span { width: 70px; height: 70px; display: grid; place-items: center; color: var(--primary); background: #f2f2f3; border-radius: 23px; font-size: 28px; }
.empty-page h1 { margin: 22px 0 7px; }.empty-page p { margin: 0 0 22px; color: #888e99; font-size: 14px; }

@media (max-width: 1180px) {
  .dashboard-shell { grid-template-columns: 210px minmax(500px, 1fr); }
  .preview-panel { display: none; }
  .admin-grid { grid-template-columns: 1fr; }
  .settings-admin { max-width: 520px; }
}

@media (max-width: 820px) {
  .topbar { padding: 0 18px; }.topbar nav { gap: 14px; }.topbar nav > a:not(.button) { display: none; }
  .install-wrap { display: block; }.install-hero { position: relative; height: auto; padding: 55px 28px 70px; }.install-hero .eyebrow { margin-top: 50px; }.install-hero h1 { font-size: 42px; }.install-card { margin: -25px auto 40px; position: relative; border-radius: 22px; }
  .home-hero { grid-template-columns: 1fr; padding-top: 80px; text-align: center; }.hero-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }.hero-actions { justify-content: center; }.hero-visual { min-height: 630px; }.feature-grid { grid-template-columns: 1fr; max-width: 520px; }
  .dashboard-shell { display: block; padding-top: 72px; }.side-panel { height: auto; position: static; padding: 15px 20px; border-right: 0; border-bottom: 1px solid var(--line); }.side-user, .side-stats, .side-panel > .button { display: none; }.side-nav { margin: 0; display: flex; }.side-nav a { flex: 1; justify-content: center; }.editor-panel { padding: 28px 18px 80px; max-width: 760px; margin: auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }.admin-shell { padding: 32px 16px 70px; }.admin-title { align-items: flex-start; }.admin-badge { display: none; }
}

@media (max-width: 560px) {
  .form-grid, .color-grid { grid-template-columns: 1fr; }.install-card { width: calc(100% - 24px); padding: 28px 22px; }.install-hero h1 { font-size: 35px; letter-spacing: -2px; }
  .hero-copy h1 { font-size: 43px; letter-spacing: -2.6px; }.hero-copy > p:not(.eyebrow) { font-size: 15px; }.hero-actions { flex-direction: column; }.hero-visual { min-height: 570px; }.phone-card { width: 285px; min-height: 540px; }.orb-a { width: 330px; height: 330px; }
  .settings-card, .content-section { padding: 19px; }.editor-heading { align-items: flex-start; }.save-state { display: none; }.add-menu { grid-template-columns: 1fr 1fr; }.social-item { grid-template-columns: 1fr 1fr 34px; }.social-item input[data-social="url"] { grid-column: 1 / 3; grid-row: 2; }.social-item button { grid-column: 3; grid-row: 1 / 3; }.section-row { align-items: flex-end; }
  .stat-grid { gap: 8px; }.stat-grid article { padding: 15px; }.stat-icon { width: 38px; height: 38px; }.stat-grid strong { font-size: 19px; }.admin-card-head { align-items: flex-start; gap: 12px; flex-direction: column; }.search-form { width: 100%; }.public-shell { padding-top: 40px; }
}

/* infti neutral interface */
:root {
  --ink: #19191b;
  --muted: #77777f;
  --line: #e7e7ea;
  --paper: #ffffff;
  --soft: #f7f7f8;
  --primary: #171717;
  --primary-dark: #000000;
  --shadow: 0 8px 28px rgba(20, 20, 24, .06);
}

body { background: #fff; }
.topbar { height: 64px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); background: rgba(255,255,255,.96); border-bottom: 1px solid #eeeeef; backdrop-filter: blur(12px); }
.brand { gap: 9px; font-size: 18px; letter-spacing: -.35px; }
.infti-wordmark { display: inline-block; color: #151515; font-size: 21px; line-height: 1; font-weight: 800; letter-spacing: -1.1px; }
.infti-wordmark-light { color: #fff; font-size: 25px; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: #171717; box-shadow: none; font-size: 15px; }
.topbar nav { gap: 24px; }
.topbar nav > a { color: #4f4f55; font-size: 13px; font-weight: 600; }
.nav-logout { margin: 0; }
.nav-logout button { padding: 0; color: #4f4f55; background: transparent; border: 0; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }

.button { min-height: 42px; border-radius: 9px; padding: 0 17px; font-weight: 650; box-shadow: none; }
.button:hover { transform: none; }
.button-primary { background: #171717; box-shadow: none; }
.button-primary:hover { background: #000000; }
.button-soft { background: #f7f7f8; border-color: #e7e7ea; }
.button-outline { color: #252529; background: #fff; border: 1px solid #d9d9dd; }
.button-outline:hover { background: #f7f7f8; }
.button-dark { color: #fff; background: #202023; }
.button-dark:hover { color: #fff; background: #09090a; }
.button-lg { min-height: 52px; padding: 0 23px; border-radius: 10px; font-size: 15px; }
.button-kakao { color: #191919 !important; background: #fee500; }
.icon-button { border-radius: 8px; }

input, textarea, select { border-color: #dedee2; border-radius: 8px; background: #fff; }
input:focus, textarea:focus, select:focus { border-color: #707076; box-shadow: 0 0 0 3px rgba(20,20,22,.09); }
.input-prefix, .color-control { border-radius: 8px; }
.eyebrow { color: #171717; letter-spacing: 1.2px; }

/* Landing */
.home-page { background: #fff; }
.home-page .topbar { position: relative; }
.home-hero { max-width: 1240px; min-height: 720px; padding: 72px 24px 88px; grid-template-columns: minmax(0, 1fr) 520px; gap: 72px; }
.hero-copy { align-self: center; }
.hero-kicker { display: inline-flex; align-items: center; height: auto; padding: 0 0 0 10px; color: #55555a; background: transparent; border-left: 2px solid #171717; border-radius: 0; font-size: 12px; font-weight: 650; }
.hero-copy h1 { margin: 22px 0 0; color: #161619; font-size: clamp(46px, 5vw, 70px); line-height: 1.14; letter-spacing: -3.5px; font-weight: 800; }
.hero-copy > p:not(.eyebrow) { max-width: 560px; margin: 25px 0 31px; color: #66666e; font-size: 17px; line-height: 1.7; }
.hero-actions { gap: 10px; justify-content: flex-start; }
.hero-points { display: flex; gap: 20px; margin-top: 23px; color: #85858c; font-size: 12px; }
.hero-points span { display: inline-flex; align-items: center; gap: 5px; }
.hero-points i { color: #171717; }
.hero-visual { min-height: 560px; place-items: center; }
.product-preview { width: 100%; max-width: 500px; overflow: hidden; background: #fff; border: 1px solid #dedee2; border-radius: 10px; box-shadow: 0 10px 30px rgba(30,30,36,.06); }
.preview-browser { height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 6px; background: #fafafa; border-bottom: 1px solid #ececee; }
.preview-browser > span { width: 7px; height: 7px; background: #d2d2d6; border-radius: 50%; }
.preview-browser small { margin-left: 10px; color: #a0a0a6; font-size: 10px; }
.preview-page { min-height: 500px; padding: 45px 58px 34px; background: #f3f3f4; }
.preview-profile { display: flex; align-items: center; flex-direction: column; margin-bottom: 27px; }
.preview-profile .demo-avatar { width: 72px; height: 72px; margin: 0 0 13px; color: #fff; background: #171717; border: 0; border-radius: 50%; font-size: 24px; font-weight: 800; }
.preview-profile strong { color: #242329; font-size: 17px; }
.preview-profile small { margin-top: 6px; color: #7e7b88; }
.demo-link { width: 100%; height: 58px; margin-bottom: 10px; padding: 0 16px; color: #26262b; background: #fff; border: 1px solid rgba(20,20,24,.04); border-radius: 12px; box-shadow: 0 4px 12px rgba(30,30,38,.05); font-size: 12px; font-weight: 650; }
.demo-link > i:first-child { color: #171717; font-size: 17px; }
.demo-social { justify-content: center; margin-top: 21px; color: #54535c; font-size: 17px; }
.service-strip { min-height: 82px; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 50px; color: #828289; background: #fafafa; border-top: 1px solid #eeeeef; border-bottom: 1px solid #eeeeef; font-size: 13px; font-weight: 600; }
.service-strip span { position: relative; }
.service-strip span:not(:last-child)::after { content: ""; width: 3px; height: 3px; position: absolute; right: -27px; top: 7px; background: #c4c4c8; border-radius: 50%; }
.features { padding: 120px 24px 135px; background: #fff; }
.section-heading { max-width: 1180px; margin: auto; text-align: left; }
.section-heading > span { color: #171717; font-size: 13px; font-weight: 700; }
.section-heading h2 { margin: 12px 0 10px; font-size: 40px; letter-spacing: -1.8px; }
.section-heading p { margin: 0; color: #7a7a82; font-size: 15px; }
.feature-grid { max-width: 1180px; margin: 48px auto 0; gap: 15px; }
.feature-grid article { min-height: 250px; padding: 29px; position: relative; overflow: hidden; background: #f7f7f8; border: 1px solid #eeeeef; border-radius: 10px; box-shadow: none; }
.feature-number { color: #9a9aa1; font-size: 11px; font-weight: 700; }
.feature-grid h3 { margin: 47px 0 10px; font-size: 20px; letter-spacing: -.6px; }
.feature-grid p { max-width: 300px; color: #77777f; font-size: 13px; line-height: 1.75; }
.feature-grid article > i { display: none; }
.home-cta { max-width: 1180px; min-height: 190px; margin: 0 auto 120px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #171717; border-radius: 10px; }
.home-cta span { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 650; }
.home-cta h2 { margin: 10px 0 0; font-size: 30px; letter-spacing: -1.1px; }

/* Install */
.install-page { background: #f5f5f6; }
.install-wrap { grid-template-columns: minmax(350px, .8fr) minmax(560px, 1.2fr); }
.install-hero { padding: 9vh 7vw; background: #202023; }
.install-hero::after { display: none; }
.install-hero .infti-wordmark { position: relative; z-index: 1; }
.install-hero .eyebrow { margin-top: 80px; color: #b8b8bd; }
.install-hero h1 { font-size: clamp(40px, 4vw, 58px); line-height: 1.18; letter-spacing: -2.7px; }
.install-hero > p:not(.eyebrow) { color: #aaaab0; }
.feature-list { color: #e0e0e3; }
.feature-list i { background: #303034; border-radius: 7px; }
.install-card { max-width: 620px; border: 1px solid #e5e5e8; border-radius: 15px; box-shadow: 0 10px 35px rgba(20,20,25,.06); }
.install-card .step-label { color: #000000; background: #f2f2f3; border-radius: 5px; }
.form-section h3 span { color: #000000; background: #f2f2f3; }
.success-icon { background: #171717; border-radius: 14px; box-shadow: none; }

/* Editor */
.dashboard-page { background: #f7f7f8; }
.dashboard-page .topbar { height: 64px; }
.dashboard-shell { padding-top: 64px; grid-template-columns: 200px minmax(330px, 400px) minmax(560px, 760px); grid-template-areas: "side preview editor"; justify-content: center; background: #f7f7f8; }
.side-panel { grid-area: side; top: 64px; height: calc(100vh - 64px); padding: 24px 16px; border-right: 1px solid #e8e8ea; }
.side-user { padding: 0 7px 21px; }
.mini-avatar { border-radius: 9px; background: #171717; }
.side-nav { gap: 3px; }
.side-nav a { border-radius: 7px; font-size: 13px; }
.side-nav a.active, .side-nav a:hover { color: #000000; background: #f2f2f3; }
.side-stats div { background: #f7f7f8; border-radius: 7px; }
.preview-panel { grid-area: preview; top: 64px; height: calc(100vh - 64px); padding: 28px 30px; background: #efeff1; border-left: 0; border-right: 1px solid #e1e1e4; }
.preview-toolbar { max-width: 300px; }
.phone-preview { width: min(300px, 100%); height: min(600px, calc(100vh - 170px)); padding: 7px; background: #242427; border-radius: 32px; box-shadow: 0 15px 35px rgba(30,30,35,.13); }
.phone-preview iframe { border-radius: 26px; }
.profile-url { max-width: 300px; border-radius: 8px; }
.editor-panel { grid-area: editor; padding: 36px 30px 100px; background: #fafafa; }
.editor-heading { margin-bottom: 21px; }
.editor-heading h1 { font-size: 27px; letter-spacing: -1px; }
.editor-description { margin: 6px 0 0; color: #8a8a91; font-size: 12px; }
.save-state { padding: 7px 9px; background: #f0f0f2; border-radius: 6px; }
.settings-card, .content-section { margin-bottom: 15px; padding: 23px; border: 1px solid #e5e5e8; border-radius: 12px; box-shadow: none; }
.card-heading > span { width: 36px; height: 36px; color: #000000; background: #f2f2f3; border-radius: 8px; }
.card-heading h2, .section-row h2 { font-size: 16px; }
.profile-avatar-large { border-radius: 15px; background: #171717; }
.switch input:checked + span { background: #171717; }
.add-menu { grid-template-columns: repeat(5, 1fr); }
.add-menu button { background: #fafafa; border-radius: 9px; }
.add-menu button:hover { color: #000000; border-color: #a8a8ad; background: #f7f7f8; }
.block-card { border-color: #e3e3e6; border-radius: 10px; }
.block-card:hover { border-color: #c9c9cd; }
.drag-handle { background: #fafafa; }
.block-label > span { color: #000000; background: #f2f2f3; border-radius: 7px; }
.block-fields { border-top-color: #ededee; }

/* Public page */
.profile-public { background: var(--profile-bg); }
.profile-glow { display: none; }
.public-shell { width: min(560px, calc(100% - 32px)); padding: 52px 0 30px; }
.public-avatar { width: 92px; height: 92px; border: 3px solid rgba(255,255,255,.75); box-shadow: 0 7px 22px rgba(20,20,25,.10); }
.public-head h1 { margin-top: 17px; font-size: 23px; }
.public-head p { font-size: 13px; }
.public-blocks { gap: 11px; }
.public-link { min-height: 68px; padding: 10px 14px; border: 1px solid rgba(30,30,35,.07); box-shadow: 0 3px 12px rgba(25,25,30,.055); }
.public-link:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(25,25,30,.08); }
.link-icon { width: 40px; height: 40px; border-radius: 11px; }
.public-text { border: 1px solid rgba(30,30,35,.06); }
.public-image { box-shadow: 0 3px 12px rgba(25,25,30,.055); }
.public-social a { border-radius: 12px; box-shadow: 0 3px 12px rgba(25,25,30,.055); }
.public-footer a { font-weight: 650; }

/* Admin */
.admin-page { background: #f7f7f8; }
.admin-shell { padding-top: 40px; }
.admin-title h1 { font-size: 29px; }
.admin-badge { color: #000000; background: #f2f2f3; border-radius: 7px; }
.stat-grid article, .admin-card { border-color: #e5e5e8; border-radius: 11px; box-shadow: none; }
.stat-icon { border-radius: 9px; }
.stat-icon { color: #55555a; background: #f2f2f3; }
.stat-icon.purple, .stat-icon.blue, .stat-icon.green, .stat-icon.orange { color: #55555a; background: #f2f2f3; }
.search-form { border-radius: 8px; }
.user-menu[open] form { border-radius: 9px; box-shadow: 0 12px 34px rgba(20,20,25,.12); }
.empty-page > span { color: #000000; background: #f2f2f3; border-radius: 14px; }

@media (max-width: 1240px) {
  .dashboard-shell { grid-template-columns: 190px minmax(520px, 760px); grid-template-areas: "side editor"; }
  .preview-panel { display: none; }
  .home-hero { grid-template-columns: minmax(0,1fr) 460px; gap: 40px; }
  .home-cta { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 860px) {
  .home-hero { min-height: 0; grid-template-columns: 1fr; padding-top: 75px; text-align: left; }
  .hero-copy h1 { font-size: 50px; }
  .hero-copy > p:not(.eyebrow) { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-visual { min-height: 510px; }
  .service-strip { gap: 28px; overflow-x: auto; justify-content: flex-start; }
  .service-strip span { white-space: nowrap; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 230px; }
  .home-cta { align-items: flex-start; gap: 28px; flex-direction: column; }
  .dashboard-shell { display: block; padding-top: 64px; }
  .side-panel { position: static; height: auto; }
}

@media (max-width: 580px) {
  .topbar { padding: 0 16px; }
  .brand { font-size: 16px; }
  .home-hero { padding: 60px 20px 70px; }
  .hero-copy h1 { font-size: 39px; letter-spacing: -2.2px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-points { gap: 9px; flex-wrap: wrap; }
  .hero-visual { min-height: 430px; }
  .preview-page { min-height: 405px; padding: 31px 23px; }
  .service-strip { min-height: 68px; }
  .features { padding: 85px 20px; }
  .section-heading h2 { font-size: 32px; }
  .home-cta { min-height: 230px; margin: 0 20px 80px; padding: 34px 28px; }
  .home-cta h2 { font-size: 25px; }
  .install-card { border-radius: 12px; }
  .editor-panel { padding-left: 14px; padding-right: 14px; }
  .settings-card, .content-section { padding: 17px; }
  .add-menu { grid-template-columns: 1fr 1fr; }
}

/* Slim, light homepage */
.home-page { background: #ffffff; }
.home-page .topbar { background: rgba(255,255,255,.92); }
.hero-kicker { padding: 0 0 0 10px; color: #6b7178; background: transparent; border-left: 2px solid #d8d9dd; border-radius: 0; font-size: 12px; font-weight: 600; }
.hero-copy h1 { font-weight: 700; }
.hero-copy h1 em { color: #1c1c1f; font-style: normal; }
.hero-copy > p strong { color: #242329; font-weight: 700; }
.hero-actions .button-primary { background: #171717; border-color: #171717; box-shadow: none; }
.hero-actions .button-primary:hover { background: #000000; border-color: #000000; }
.hero-points i { color: #345d8a; }
.product-preview { border: 1px solid #eaeaec; border-radius: 12px; box-shadow: none; }
.preview-browser { background: #fafafa; }
.preview-page { background: #fbfbfc; }
.demo-avatar { background: #171717; box-shadow: none; }
.free-banner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #55555c; background: transparent; border-top: 1px solid #eeeeef; border-bottom: 1px solid #eeeeef; border-radius: 0; }
.free-banner strong { color: #171717; font-size: 14px; font-weight: 700; }
.free-banner i { color: #171717; }
.free-banner span { color: #85858c; font-size: 13px; }
.service-strip { background: transparent; border: 0; }
.features { background: #ffffff; }
.feature-grid article { background: #fff; border: 1px solid #eeeeef; border-radius: 12px; box-shadow: none; transition: border-color .15s ease; }
.feature-grid article:hover { transform: none; border-color: #d9d9dd; box-shadow: none; }
.feature-number { color: #b3b3b8; background: transparent; font-weight: 700; }
.feature-grid article > i { display: none; }
.home-cta { background: #fafafa; border: 1px solid #eeeeef; box-shadow: none; color: #171717; }
.home-cta span { color: #85858c; }
.home-cta h2 { color: #171717; }
.home-cta p { color: #9a9aa1; }
.home-cta .button-dark { color: #fff; background: #171717; border-color: #171717; }

/* Multiple profile switcher */
.dashboard-shell { grid-template-columns: 260px minmax(330px,400px) minmax(560px,760px); }
.profile-switcher { margin: 0 0 18px; padding: 13px; background: #fff; border: 1px solid #e8e8ea; border-radius: 12px; }
.profile-switcher-head { padding: 2px 2px 10px; display: flex; align-items: center; justify-content: space-between; }
.profile-switcher-head strong { font-size: 13px; }
.profile-switcher-head span { padding: 4px 7px; color: #33383f; background: #eceef1; border-radius: 999px; font-size: 10px; font-weight: 800; }
.profile-switcher-list { margin-bottom: 9px; display: grid; gap: 4px; }
.profile-switcher-list a { min-width: 0; padding: 8px; display: flex; align-items: center; gap: 8px; color: #555; border-radius: 8px; text-decoration: none; }
.profile-switcher-list a:hover,.profile-switcher-list a.active { color: #171717; background: #f5f5f6; }
.profile-switcher-list a > span { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; color: #fff; background: #345d8a; border-radius: 8px; font-size: 12px; font-weight: 800; }
.profile-switcher-list a > div { min-width: 0; display: grid; }
.profile-switcher-list strong,.profile-switcher-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-switcher-list strong { font-size: 12px; }.profile-switcher-list small { color: #999; font-size: 10px; }
.profile-switcher-list i { margin-left: auto; color: #345d8a; font-size: 13px; }
.profile-switcher .button { min-height: 36px; font-size: 11px; }
.profile-limit-note { margin: 5px 0 0; padding: 9px; color: #4a4f56; background: #f2f3f5; border-radius: 7px; font-size: 10px; line-height: 1.45; }

@media (max-width: 1240px) { .dashboard-shell { grid-template-columns: 260px minmax(520px,760px); } }
@media (max-width: 860px) { .free-banner { margin: 0 20px 10px; align-items: flex-start; flex-direction: column; gap: 5px; }.profile-switcher { max-width: 520px; margin-left: auto; margin-right: auto; } }

/* Notices and help center */
.notice-banner { max-width: 1180px; margin: 22px auto 0; padding: 13px 18px; display: flex; align-items: center; gap: 12px; color: #2b2e33; background: #eef0f3; border: 1px solid #cfd3da; border-radius: 13px; text-decoration: none; }
.notice-banner > span { padding: 5px 8px; color: #fff; background: #1c1c1f; border-radius: 6px; font-size: 10px; font-weight: 900; }.notice-banner strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.notice-banner small { margin-left: auto; color: #6b7178; }.notice-banner > i { font-size: 15px; }
.help-page { background: #ffffff; }.help-hero { padding: 90px 24px 70px; text-align: center; background: linear-gradient(180deg,#eef0f3,#ffffff); }.help-hero > span,.guide-detail > span { color: #1c1c1f; font-size: 11px; font-weight: 900; letter-spacing: 1.6px; }.help-hero h1 { margin: 12px 0; font-size: clamp(36px,5vw,58px); letter-spacing: -2.5px; }.help-hero p { margin: 0; color: #777; line-height: 1.7; }.help-hero > div { margin-top: 25px; display: flex; justify-content: center; gap: 9px; }
.help-shell { max-width: 960px; margin: 0 auto; padding: 60px 24px 100px; }.help-heading { margin-bottom: 25px; display: flex; align-items: center; gap: 13px; }.help-heading > span { width: 46px; height: 46px; display: grid; place-items: center; color: #1c1c1f; background: #fff0e8; border-radius: 14px; font-size: 21px; }.help-heading h2 { margin: 0 0 5px; }.help-heading p { margin: 0; color: #888; font-size: 13px; }
.notice-list { overflow: hidden; background: #fff; border: 1px solid #ece9e2; border-radius: 17px; }.notice-list a { padding: 20px 22px; display: flex; align-items: center; gap: 13px; color: #333; border-bottom: 1px solid #f0eee9; text-decoration: none; }.notice-list a:last-child { border-bottom: 0; }.notice-list a > span { padding: 5px 8px; color: #1c1c1f; background: #fff0ea; border-radius: 6px; font-size: 10px; font-weight: 800; }.notice-list strong { flex: 1; }.notice-list time { color: #999; font-size: 12px; }.notice-detail,.guide-detail { padding: 42px; background: #fff; border: 1px solid #ece9e2; border-radius: 20px; }.notice-detail > a,.guide-detail > a { display: inline-flex; align-items: center; gap: 6px; color: #777; text-decoration: none; font-size: 13px; }.notice-detail h2 { margin: 28px 0 9px; font-size: 32px; }.notice-detail time { color: #999; font-size: 12px; }.notice-detail > div,.guide-content { margin-top: 35px; color: #4e4e52; line-height: 2; white-space: normal; }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.guide-grid > a { min-height: 205px; padding: 25px; display: flex; flex-direction: column; color: #333; background: #fff; border: 1px solid #ece9e2; border-radius: 17px; text-decoration: none; transition: .2s ease; }.guide-grid > a:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(65,48,25,.08); }.guide-grid > a > i { color: #1c1c1f; font-size: 24px; }.guide-grid h3 { margin: 22px 0 8px; }.guide-grid p { margin: 0; color: #888; font-size: 13px; line-height: 1.6; }.guide-grid a > span { margin-top: auto; color: #1c1c1f; font-size: 12px; font-weight: 700; }.faq-section { margin-top: 75px; }.faq-list { display: grid; gap: 9px; }.faq-list details { background: #fff; border: 1px solid #ece9e2; border-radius: 13px; }.faq-list summary { padding: 19px 21px; display: flex; justify-content: space-between; cursor: pointer; font-weight: 700; list-style: none; }.faq-list details[open] summary i { transform: rotate(45deg); }.faq-list details > div { padding: 0 21px 21px; color: #666; line-height: 1.8; }.guide-detail { max-width: 780px; margin: 25px auto; }.guide-detail > span { display: block; margin-top: 45px; }.guide-detail h1 { margin: 10px 0; font-size: 38px; }.guide-summary { color: #888; font-size: 16px; }.help-empty { padding: 45px; grid-column: 1/-1; color: #999; text-align: center; background: #fff; border: 1px dashed #ddd; border-radius: 14px; }.help-empty.standalone { max-width: 700px; margin: 100px auto; }

/* Admin content management */
.content-admin-card { margin-top: 22px; }.content-create-form { padding: 20px; background: #f8f8f9; border-radius: 10px; }.content-create-form > .button { margin-top: 12px; }.check-row { align-self: end; min-height: 45px; display: flex !important; align-items: center; flex-direction: row !important; gap: 8px; }.check-row input,.inline-checks input { width: auto; }.content-manage-list { margin-top: 15px; display: grid; gap: 7px; }.content-manage-list details { border: 1px solid #e8e8ea; border-radius: 9px; }.content-manage-list summary { padding: 13px 15px; display: flex; justify-content: space-between; cursor: pointer; }.content-manage-list summary span { color: #999; font-size: 11px; }.content-manage-list details form { padding: 15px; border-top: 1px solid #eee; }.inline-checks { margin: 10px 0; display: flex; gap: 18px; }.support-admin-grid { margin-top: 22px; align-items: start; }.support-admin-grid .content-admin-card { margin-top: 0; }
@media(max-width:760px){.notice-banner{margin:15px 16px 0}.notice-banner small{display:none}.guide-grid{grid-template-columns:1fr}.help-hero{padding-top:65px}.help-shell{padding:40px 18px 75px}.notice-detail,.guide-detail{padding:25px}.notice-list time{display:none}.support-admin-grid{display:block}.support-admin-grid .content-admin-card{margin-top:18px}}

/* Direct manipulation, sharing and desktop device preview */
.drag-guide { margin-top: 18px; padding: 11px 13px; display: flex; align-items: center; gap: 9px; color: #76767e; background: #f7f7f8; border: 1px solid #e7e7e9; border-radius: 8px; font-size: 11px; }
.drag-guide i { color: #171717; font-size: 16px; }
.drag-guide strong { margin-right: 4px; color: #444448; }
.add-menu { margin-top: 9px; }
.add-menu .add-template { min-width: 0; position: relative; cursor: grab; user-select: none; touch-action: none; }
.add-menu .add-template:active { cursor: grabbing; }
.add-menu .template-grip { position: absolute; top: 10px; right: 8px; color: #b3b3ba; font-size: 13px; }
.block-list { min-height: 84px; padding: 3px; margin-left: -3px; margin-right: -3px; border: 1px dashed transparent; border-radius: 12px; transition: border-color .15s, background .15s; }
.is-dragging-block .block-list { border-color: #a8a8ad; background: #f7f7f8; }
.drag-handle { min-width: 38px; touch-action: none; user-select: none; }
.block-chosen { border-color: #77777d; }
.block-dragging { opacity: .88; box-shadow: 0 14px 35px rgba(20,20,22,.16); }
.sortable-fallback.add-template { width: 150px !important; padding: 12px; display: flex !important; gap: 8px; color: #444448; background: #fff; border: 1px solid #77777d; border-radius: 9px; box-shadow: 0 12px 30px rgba(20,20,22,.15); }
.side-share { margin-top: 7px; }
.preview-toolbar > div { display: flex; gap: 6px; }

.modal-open { overflow: hidden !important; }
.modal-shell { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(18,18,21,.54); cursor: default; backdrop-filter: blur(2px); }
.modal-card { width: min(430px, 100%); padding: 24px; position: relative; z-index: 1; background: #fff; border: 1px solid #e5e5e8; border-radius: 14px; box-shadow: 0 24px 70px rgba(15,15,18,.22); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h2, .pc-tip-modal h2 { margin: 0; color: #1c1c1f; font-size: 19px; letter-spacing: -.5px; }
.modal-head p { margin: 6px 0 0; color: #85858c; font-size: 12px; }
.qr-wrap { width: 220px; height: 220px; margin: 24px auto; display: grid; place-items: center; background: #fff; border: 1px solid #e7e7ea; border-radius: 12px; }
.qr-code { width: 184px; height: 184px; }
.qr-code img, .qr-code canvas { width: 184px !important; height: 184px !important; }
.share-link-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.share-link-row input { min-width: 0; margin: 0; color: #66666e; background: #f7f7f8; font-size: 11px; }
.share-link-row .button { white-space: nowrap; }
.native-share { margin-top: 8px; }
.pc-tip-modal .modal-card { width: min(390px, 100%); text-align: center; }
.pc-tip-icon { width: 54px; height: 54px; margin: 0 auto 17px; display: grid; place-items: center; color: #171717; background: #f2f2f3; border-radius: 13px; font-size: 23px; }
.pc-tip-modal p { margin: 11px 0 21px; color: #76767e; font-size: 13px; line-height: 1.65; }

.profile-public { height: 100vh; overflow: hidden; background: #ececef; }
.device-stage { min-height: 100vh; display: grid; place-items: center; padding: 18px; }
.profile-public .public-shell { width: 420px; height: min(840px, calc(100vh - 36px)); min-height: 0; margin: 0; padding: 50px 24px 28px; overflow-x: hidden; overflow-y: auto; position: relative; background: var(--profile-bg); border: 9px solid #222226; border-radius: 38px; box-shadow: 0 24px 65px rgba(20,20,25,.20); scrollbar-width: none; }
.profile-public .public-shell::-webkit-scrollbar { display: none; }
.public-share-button { width: 38px; height: 38px; padding: 0; position: absolute; z-index: 3; top: 18px; right: 18px; display: grid; place-items: center; color: var(--profile-text); background: color-mix(in srgb, var(--profile-button) 88%, transparent); border: 1px solid rgba(40,40,45,.08); border-radius: 50%; box-shadow: 0 3px 10px rgba(20,20,25,.06); cursor: pointer; }

@media (max-width: 680px) {
  .profile-public { height: auto; min-height: 100vh; overflow: auto; background: var(--profile-bg); }
  .device-stage { min-height: 100vh; display: block; padding: 0; }
  .profile-public .public-shell { width: min(560px, 100%); height: auto; min-height: 100vh; margin: 0 auto; padding: 48px 20px 28px; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
  .public-share-button { top: 14px; right: 14px; }
}

@media (max-width: 580px) {
  .drag-guide { align-items: flex-start; line-height: 1.45; }
  .add-menu .add-template { min-height: 66px; }
  .drag-handle { min-width: 42px; font-size: 18px; }
  .modal-shell { align-items: end; padding: 10px; }
  .modal-card { width: 100%; padding: 21px; border-radius: 15px; }
  .share-modal .modal-card { max-height: calc(100vh - 20px); overflow-y: auto; }
  .qr-wrap { width: 206px; height: 206px; margin: 19px auto; }
  .share-link-row { grid-template-columns: 1fr; }
}

/* Secure image uploads */
.image-uploader { min-height: 116px; margin-bottom: 14px; padding: 15px; position: relative; display: flex; align-items: center; justify-content: center; gap: 13px; overflow: hidden; color: #66666d; background: #fafafa; border: 1px dashed #cfcfd4; border-radius: 10px; text-align: left; transition: border-color .15s, background .15s; }
.image-uploader:hover, .image-uploader.is-dragover { border-color: #65656a; background: #f4f4f5; }
.image-uploader.is-uploading { pointer-events: none; opacity: .65; }
.image-uploader.is-uploading::after { content: "업로드 중…"; padding: 7px 11px; position: absolute; inset: auto; color: #fff; background: #171717; border-radius: 7px; font-size: 11px; font-weight: 700; }
.image-uploader > input[type="file"] { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 2; opacity: 0; cursor: pointer; }
.image-uploader > i { color: #333338; font-size: 24px; }
.image-uploader strong, .image-uploader span { display: block; }
.image-uploader strong { margin-bottom: 5px; color: #2a2a2e; font-size: 12px; }
.image-uploader span { font-size: 10px; line-height: 1.45; }
.image-uploader.compact { min-height: 82px; margin: 0; justify-content: flex-start; }
.upload-preview { width: 78px; height: 78px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: #99999f; background: #efeff1; border-radius: 8px; font-size: 21px; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 580px) {
  .avatar-row { align-items: stretch; flex-direction: column; }
  .image-uploader.compact { width: 100%; }
}

/* Reports and moderation */
.public-page-actions { position: absolute; z-index: 3; top: 18px; right: 18px; display: flex; gap: 7px; }
.public-action-button { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; color: var(--profile-text); background: color-mix(in srgb, var(--profile-button) 88%, transparent); border: 1px solid rgba(40,40,45,.08); border-radius: 50%; box-shadow: 0 3px 10px rgba(20,20,25,.06); cursor: pointer; }
.report-modal form { margin-top: 20px; display: grid; gap: 13px; }
.report-modal label { display: grid; gap: 7px; color: #55555c; font-size: 12px; font-weight: 650; }
.report-modal label em { color: #9a9aa0; font-style: normal; font-weight: 500; }
.report-note { margin: -2px 0 0; color: #96969c; font-size: 10px; }
.report-trap { width: 1px; height: 1px; position: absolute; left: -10000px; overflow: hidden; }
.button-danger { color: #fff; background: #b42318; border-color: #b42318; }
.button-danger:hover { color: #fff; background: #8f1c14; }
.suspension-copy { max-width: 250px; margin-top: 4px; color: #a33a32 !important; white-space: normal; line-height: 1.4; }
.reports-card { margin-top: 18px; }
.report-filter select { min-width: 125px; margin: 0; }
.report-list { display: grid; }
.report-item { padding: 21px 0; border-top: 1px solid #ececef; }
.report-item:first-child { border-top: 0; }
.report-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.report-summary strong { color: #2a2a2e; font-size: 13px; }
.report-summary strong small { color: #85858c; font-size: 11px; font-weight: 550; }
.report-summary p { margin: 4px 0 0; color: #87878e; font-size: 11px; }
.report-status { padding: 5px 8px; color: #55555a; background: #f0f0f2; border-radius: 6px; font-size: 10px; font-weight: 750; }
.report-status-open { color: #9a3412; background: #fff2e8; }
.report-status-actioned { color: #166534; background: #eaf7ee; }
.report-status-dismissed { color: #65656b; background: #efeff1; }
.report-details { margin: 15px 0 0; padding: 13px; color: #55555b; background: #f8f8f9; border-radius: 8px; font-size: 12px; line-height: 1.65; }
.report-contact { margin: 9px 0 0; color: #77777e; font-size: 11px; }
.report-action-form { margin-top: 14px; display: grid; gap: 9px; }
.report-action-form label { color: #77777e; font-size: 11px; }
.report-action-form textarea { margin-top: 6px; }
.report-action-form > div { display: flex; justify-content: flex-end; gap: 7px; }
.report-action-form select { width: auto; min-width: 96px; margin: 0; }

@media (max-width: 680px) {
  .public-page-actions { top: 14px; right: 14px; }
  .report-summary { grid-template-columns: auto minmax(0, 1fr); }
  .report-summary > a { grid-column: 1 / -1; }
  .report-action-form > div { align-items: stretch; flex-direction: column; }
  .report-action-form select { width: 100%; }
}

/* Brand assets and visible report action */
.brand-logo { width: auto; max-width: 150px; height: 32px; object-fit: contain; }
.brand-asset-field { padding: 13px; background: #f8f8f9; border: 1px solid #e8e8eb; border-radius: 9px; }
.brand-asset-title { display: block; margin-bottom: 10px; color: #45454b; font-size: 12px; font-weight: 700; }
.brand-asset-preview { margin-bottom: 10px; display: grid; place-items: center; overflow: hidden; color: #55555a; background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; }
.brand-asset-preview-logo { width: 100%; height: 66px; }
.brand-asset-preview-logo img { width: auto; max-width: 90%; height: 42px; object-fit: contain; }
.brand-asset-preview-logo strong { font-size: 20px; letter-spacing: -1px; }
.brand-asset-preview-favicon { width: 58px; height: 58px; }
.brand-asset-preview-favicon img { width: 42px; height: 42px; object-fit: contain; }
.brand-asset-field input[type="file"] { min-height: 0; padding: 9px; margin: 0; background: #fff; font-size: 10px; }
.brand-asset-field > small { display: block; margin-top: 6px; color: #929298; font-size: 9px; }
.remove-asset { margin-top: 9px; display: inline-flex; align-items: center; gap: 6px; color: #77777d; font-size: 10px; font-weight: 550; }
.remove-asset input { width: 14px; min-height: 14px; height: 14px; margin: 0; padding: 0; }
.public-footer { display: flex; align-items: center; justify-content: center; gap: 14px; }
.public-footer a { display: inline-flex; align-items: center; gap: 5px; }
.footer-brand-logo { width: auto; max-width: 100px; height: 24px; object-fit: contain; }
.public-footer button { padding: 0; color: var(--profile-text); background: transparent; border: 0; opacity: .48; font-size: 11px; font-weight: 650; cursor: pointer; }
.public-footer button:hover { opacity: .8; }
.privacy-box { padding: 13px; color: #55555b; background: #f7f7f8; border: 1px solid #e6e6e9; border-radius: 9px; font-size: 10px; }
.privacy-box > strong { color: #333337; font-size: 11px; }
.privacy-box dl { margin: 9px 0; display: grid; gap: 6px; }
.privacy-box dl > div { display: grid; grid-template-columns: 62px 1fr; gap: 7px; }
.privacy-box dt { color: #77777d; font-weight: 700; }
.privacy-box dd { margin: 0; line-height: 1.45; }
.privacy-box p { margin: 8px 0 0; color: #85858b; line-height: 1.5; }
.report-modal .privacy-check { display: flex; align-items: flex-start; grid-template-columns: none; gap: 9px; cursor: pointer; }
.report-modal .privacy-check input { width: 17px; min-height: 17px; height: 17px; margin: 1px 0 0; padding: 0; flex: 0 0 auto; }
.report-modal .privacy-check span { min-width: 0; }
.report-modal .privacy-check strong { display: block; color: #353539; font-size: 11px; line-height: 1.45; }
.report-modal .privacy-check small { display: block; margin-top: 4px; color: #85858b; font-size: 9px; font-weight: 500; line-height: 1.55; }
.report-modal .privacy-check-optional { padding: 10px; background: #fafafa; border-radius: 8px; }

/* Site footer and privacy policy */
.site-footer { min-height: 76px; padding: 20px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #8a8a90; background: #fff; border-top: 1px solid #ececee; font-size: 11px; }
.site-footer a { color: #4f4f54; font-weight: 700; }
.site-footer a:hover { color: #111; }
.profile-public .public-footer { padding-top: 38px; display: grid; justify-items: center; gap: 10px; }
.public-footer-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 13px; }
.public-footer-actions a, .public-footer-actions button { display: inline-flex; align-items: center; gap: 5px; }
.profile-public .public-footer > p { max-width: 320px; margin: 0; opacity: .42; font-size: 9px; line-height: 1.5; text-align: center; }
.legal-page { background: #f7f7f8; }
.legal-shell { width: min(880px, calc(100% - 32px)); margin: 46px auto 90px; padding: 46px 50px; background: #fff; border: 1px solid #e6e6e9; border-radius: 14px; }
.legal-head { padding-bottom: 30px; border-bottom: 1px solid #e8e8eb; }
.legal-head > span { color: #77777d; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.legal-head h1 { margin: 10px 0 13px; color: #1d1d20; font-size: 34px; letter-spacing: -1.5px; }
.legal-head p { margin: 0; color: #6f6f76; font-size: 13px; line-height: 1.7; }
.legal-index { margin: 26px 0 6px; display: flex; flex-wrap: wrap; gap: 7px; }
.legal-index a { padding: 7px 10px; color: #55555b; background: #f3f3f4; border-radius: 6px; font-size: 10px; font-weight: 650; }
.legal-shell section { padding-top: 34px; }
.legal-shell h2 { margin: 0 0 13px; color: #242428; font-size: 17px; letter-spacing: -.4px; }
.legal-shell p, .legal-shell li { color: #65656c; font-size: 12px; line-height: 1.8; }
.legal-shell ul { margin: 0; padding-left: 20px; }
.legal-shell a { color: #222226; text-decoration: underline; text-underline-offset: 3px; }
.legal-table-wrap { overflow-x: auto; border: 1px solid #e6e6e9; border-radius: 8px; }
.legal-table { min-width: 680px; }
.legal-table th { padding: 12px; background: #f6f6f7; }
.legal-table td { padding: 13px 12px; color: #606067; font-size: 11px; line-height: 1.6; vertical-align: top; }
.legal-contact { display: grid; border-top: 1px solid #e8e8eb; }
.legal-contact > div { padding: 11px 0; display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid #e8e8eb; font-size: 12px; }
.legal-contact dt { color: #85858b; font-weight: 650; }
.legal-contact dd { margin: 0; color: #444449; }
.legal-effective { font-weight: 700; }

@media (max-width: 580px) {
  .site-footer { padding: 20px 16px; align-items: flex-start; flex-direction: column; }
  .legal-shell { margin: 20px auto 60px; padding: 28px 20px; }
  .legal-head h1 { font-size: 28px; }
  .legal-contact > div { grid-template-columns: 85px 1fr; }
}


/* Rotating headline word */
.hero-copy h1 .paren { color: #b3b3b8; font-weight: 500; }
.hero-copy h1 .word-rotate { position: relative; display: inline-block; width: 4.6em; height: 1.1em; vertical-align: -0.12em; overflow: hidden; }
.hero-copy h1 .word-rotate span { position: absolute; left: 0; top: 0; width: 100%; color: #2f5aa8; opacity: 0; white-space: nowrap; animation: heroWordCycle 6s infinite; }
.hero-copy h1 .word-rotate span:nth-child(1) { animation-delay: 0s; }
.hero-copy h1 .word-rotate span:nth-child(2) { animation-delay: 2s; }
.hero-copy h1 .word-rotate span:nth-child(3) { animation-delay: 4s; }
@keyframes heroWordCycle {
  0%, 3% { opacity: 0; transform: translateY(6px); }
  10%, 27% { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 .word-rotate span { animation: none; opacity: 1; position: static; }
  .hero-copy h1 .word-rotate span:not(:first-child) { display: none; }
  .hero-copy h1 .word-rotate { width: auto; height: auto; }
}

/* ===== Simplified palette override: white / black / gray / blue only ===== */
:root {
  --s-gray-900: #17181a;
  --s-gray-700: #4b4f57;
  --s-gray-500: #7a7e87;
  --s-gray-300: #d8dade;
  --s-gray-200: #e7e8ec;
  --s-gray-100: #f4f5f7;
  --s-blue: #2f5aa8;
}

.home-page { background: #fff; }

/* Hero: single column now that the phone mockup is gone */
.home-hero-simple {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  padding: 110px 24px 70px;
  text-align: center;
}
.home-hero-simple .hero-copy { align-self: auto; }
.home-hero-simple .hero-kicker {
  color: var(--s-gray-700);
  background: var(--s-gray-100);
  border-left: none;
  border: 1px solid var(--s-gray-200);
  border-radius: 999px;
  padding: 6px 12px;
}
.home-hero-simple .hero-copy h1 { color: var(--s-gray-900); }
.home-hero-simple .hero-copy h1 .word-rotate span { color: var(--s-blue); }
.home-hero-simple .hero-copy > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
  color: var(--s-gray-500);
}
.home-hero-simple .hero-actions { justify-content: center; }
.home-hero-simple .hero-points { justify-content: center; color: var(--s-gray-500); }
.home-hero-simple .hero-points i { color: var(--s-blue); }

.home-hero-simple .button-primary {
  background: var(--s-gray-900);
  border-color: var(--s-gray-900);
}
.home-hero-simple .button-primary:hover { background: #000; }
.home-hero-simple .button-outline {
  color: var(--s-gray-900);
  background: #fff;
  border: 1px solid var(--s-gray-300);
}
.home-hero-simple .button-outline:hover { background: var(--s-gray-100); }

/* Free banner / service strip: neutral tones only */
.free-banner {
  color: var(--s-gray-700);
  background: var(--s-gray-100);
  border-top: 1px solid var(--s-gray-200);
  border-bottom: 1px solid var(--s-gray-200);
}
.free-banner strong { color: var(--s-gray-900); }
.free-banner i { color: var(--s-blue); }
.service-strip { color: var(--s-gray-500); background: #fff; border-color: var(--s-gray-200); }
.service-strip span:not(:last-child)::after { background: var(--s-gray-300); }

/* Features: drop icon, keep numbered blocks in gray/blue */
.features { background: #fff; }
.section-heading > span { color: var(--s-blue); }
.section-heading h2 { color: var(--s-gray-900); }
.section-heading p { color: var(--s-gray-500); }
.feature-grid article { background: #fff; border: 1px solid var(--s-gray-200); box-shadow: none; }
.feature-grid article:hover { border-color: var(--s-gray-300); transform: none; }
.feature-number { color: var(--s-blue); }
.feature-grid h3 { color: var(--s-gray-900); }
.feature-grid p { color: var(--s-gray-500); }
.feature-grid article > i { display: none; }

/* CTA: neutral gray block, no colored gradient */
.home-cta {
  color: var(--s-gray-900);
  background: var(--s-gray-100);
  border: 1px solid var(--s-gray-200);
}
.home-cta span { color: var(--s-gray-500); }
.home-cta h2 { color: var(--s-gray-900); }
.home-cta p { color: var(--s-gray-500); }
.home-cta .button-dark {
  color: #fff;
  background: var(--s-gray-900);
  border-color: var(--s-gray-900);
}
.home-cta .button-dark:hover { background: #000; }

@media (max-width: 860px) {
  .home-hero-simple { text-align: center; padding-top: 90px; }
  .home-hero-simple .hero-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .home-hero-simple .hero-actions { justify-content: center; }
}