/* Shared base: tokens, typography, header, footer, hero, sections, buttons, toast */
@font-face {
  font-family: 'Boldonse';
  src: url('https://fonts.gstatic.com/s/boldonse/v1/ZgNQjPxGPbbJUZemjC35hmHmNpCO.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg-page: rgb(233, 235, 237);
  --card-bg: rgb(255, 255, 255);
  --card-sub-bg: rgb(233, 235, 237);
  --text-main: rgb(10, 10, 10);
  --text-muted: #525355;
  --text-faint: #8a8c8f;
  --text-inverted: #ffffff;
  --accent-orange: rgb(255, 56, 17);
  --accent-hover: rgb(230, 46, 7);
  --btn-black: rgb(10, 10, 10);
  --border-light: rgb(228, 230, 233);
  --border-mid: rgb(214, 217, 220);
  --shadow-card:
    0.6px 0.6px 0.8px -0.05px rgba(0,0,0,0.01),
    1.6px 1.6px 2.3px -0.1px rgba(0,0,0,0.02),
    3.5px 3.5px 5px -0.15px rgba(0,0,0,0.03),
    7.9px 7.9px 11px -0.2px rgba(0,0,0,0.06),
    20px 20px 28px -0.25px rgba(0,0,0,0.12);
  --shadow-float: 0px 20px 48px -10px rgba(0,0,0,0.14), 0px 6px 16px rgba(0,0,0,0.04);
  --shadow-btn:
    0px 43px 12px 0px rgba(0,0,0,0.01),
    0px 28px 11px 0px rgba(0,0,0,0.02),
    0px 16px 9px 0px rgba(0,0,0,0.1),
    0px 7px 7px 0px rgba(0,0,0,0.19),
    0px 2px 4px 0px rgba(0,0,0,0.2);
  --shadow-btn-hover: 0px 28px 16px 0px rgba(246,88,88,0.15), 0px 10px 10px 0px rgba(0,0,0,0.2);
  --font-display: 'Boldonse', sans-serif;
  --font-ui: 'Geist', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-color: cubic-bezier(0.44, 0, 0.56, 1);
  --radius-card: 32px;
  --radius-inner: 24px;
  --container: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg-page);
  font-family: var(--font-ui);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  line-height: 1.5;
}

html.no-scroll, body.no-scroll { overflow: hidden; }

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-mid) transparent;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-faint);
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

a { color: inherit; }
button { font: inherit; appearance: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-orange); color: #fff; }

:focus-visible { outline: 2px solid var(--accent-orange); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--text-main);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 9px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-main);
  white-space: nowrap;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  animation: pulse 1.6s infinite;
  flex: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-orange);
  flex: none;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.24;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  font-feature-settings: "cv09" 1, "cv03" 1, "cv04" 1, "cv11" 1, "blwf" 1;
}

.section-title .accent { color: var(--accent-orange); }

.section-sub {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  max-width: 460px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--btn-black);
  color: var(--text-inverted);
  text-decoration: none;
  border: none;
  border-radius: 32px;
  height: 54px;
  min-width: 232px;
  padding: 0 22px 0 28px;
  box-shadow: var(--shadow-btn);
  transition: background-color 0.3s var(--ease-color), box-shadow 0.3s ease, transform 0.3s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }

.btn .txt {
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  position: relative;
  display: block;
  text-align: left;
}

.btn .txt span {
  display: block;
  height: 22px;
  line-height: 22px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out);
}

.btn .txt .clone { position: absolute; top: 100%; left: 0; width: 100%; }
.btn:hover .txt span { transform: translateY(-100%); }

.btn .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 14px;
  flex: none;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .ico { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-mid);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
  box-shadow: none;
}

.btn-sm { height: 46px; min-width: 0; padding: 0 20px; box-shadow: none; gap: 12px; }
.btn-sm .txt span { font-size: 13px; }
.btn-sm:hover { box-shadow: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 14px 0;
  background: rgba(233, 235, 237, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border-mid);
  background: rgba(233, 235, 237, 0.92);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-right: 10px;
  transition: transform 0.4s var(--ease-out);
}

.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo:hover .logo-mark { transform: rotate(-90deg); }

.logo-mark::after {
  display: none;
}

.site-footer .logo-mark .logo-mark-bg {
  fill: #ffffff;
}

.site-footer .logo-mark .logo-mark-icon {
  stroke: #0a0a0a;
}

.logo .accent { color: var(--accent-orange); }

.header-nav { display: flex; align-items: center; gap: 28px; }

.header-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease-color);
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.header-nav a:hover { color: var(--text-main); }
.header-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; position: relative; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-mid);
  background: var(--card-bg);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.25s var(--ease-color), color 0.25s var(--ease-color);
}

.menu-toggle:hover { background: var(--text-main); color: #fff; }

.burger { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.burger i { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out); }
.menu-toggle.is-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open .burger i:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.popup-card {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(360px, calc(100vw - 48px));
  background: var(--card-bg);
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  gap: 8px;
  user-select: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}

.popup-card.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.popup-nav { list-style: none; display: flex; flex-direction: column; gap: 16px; padding: 20px 20px 14px; }

.popup-nav-link {
  display: flex;
  align-items: center;
  width: max-content;
  height: 30px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 30px;
  color: var(--text-main);
  text-decoration: none;
}

.roll-char {
  display: inline-block;
  position: relative;
  height: 30px;
  line-height: 30px;
  transition: transform 0.4s var(--ease-out);
  transition-delay: calc(var(--char-index, 0) * 15ms);
}

.roll-char::after {
  content: attr(data-char);
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 100%;
  line-height: 30px;
  color: inherit;
}

.popup-nav-link:hover .roll-char { transform: translateY(-30px); }

.popup-subcard { background: var(--card-sub-bg); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.popup-subcard p { font-size: 14px; line-height: 1.5; color: var(--text-muted); }

.hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(40px, 5vw, 60px);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 56, 17, 0.10) 0%, transparent 68%);
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  position: relative;
}

h1.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  font-feature-settings: "cv09" 1, "cv03" 1, "cv04" 1, "cv11" 1, "blwf" 1;
  max-width: 18ch;
  width: 100%;
}

h1.hero-title .accent { color: var(--accent-orange); }

.hero-desc {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.tool-card {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  scroll-margin-top: 96px;
}

.tool-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 8px 0;
  flex-wrap: wrap;
}

.tool-info { display: flex; align-items: center; gap: 12px; min-width: 0; flex-wrap: wrap; }

.tool-badge { padding: 7px 12px; font-size: 10px; }

.tool-count {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.tool-count b { color: var(--text-main); font-weight: 400; }

.tool-file {
  font-size: 12.5px;
  color: var(--text-faint);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  letter-spacing: 0.02em;
}

.tool-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.ratio-pill {
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  border-radius: 9999px;
  padding: 0 14px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s var(--ease-color);
}

.ratio-pill:hover:not(:disabled) { border-color: var(--text-main); transform: translateY(-1px); }
.ratio-pill:disabled { opacity: 0.45; cursor: not-allowed; }

.dropzone-box {
  border: 2px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-inner);
  padding: clamp(48px, 7vw, 76px) 24px;
  background:
    linear-gradient(45deg, #17181a 25%, transparent 25%, transparent 75%, #17181a 75%),
    linear-gradient(45deg, #17181a 25%, #1d1e21 25%, #1d1e21 75%, #17181a 75%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), padding 0.4s var(--ease-out);
}

.dropzone-box.is-prompt {
  border-color: var(--accent-orange);
  animation: dz-prompt 1.1s var(--ease-out) 2;
}

@keyframes dz-prompt {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 56, 17, 0); }
  50% { box-shadow: 0 0 0 8px rgba(255, 56, 17, 0.15); }
}

.dropzone-box:hover, .dropzone-box.is-dragover {
  border-color: var(--accent-orange);
  box-shadow: 0 0 35px rgba(255, 56, 17, 0.18) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dropzone-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(255, 56, 17, 0.45);
  transition: transform 0.3s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}

.dropzone-box:hover .dropzone-icon-ring { transform: translateY(-4px) scale(1.06); }

.dropzone-headings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 540px;
}

.dropzone-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
  font-weight: 400;
}

.dropzone-sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-hero-upload {
  height: 52px;
  padding: 0 34px;
  background: var(--accent-orange);
  color: #ffffff;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(255, 56, 17, 0.4);
  transition: all 0.25s var(--ease-out);
  border: none;
}

.dropzone-box:hover .btn-hero-upload,
.btn-hero-upload:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 56, 17, 0.55);
}

.dropzone-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 10.5px;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.dropzone-meta .meta-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 9px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.dropzone-meta .meta-sep { color: rgba(255, 255, 255, 0.25); }

.drop-hint-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 56, 17, 0.3);
  backdrop-filter: blur(4px);
  z-index: 10;
  pointer-events: none;
}

.dropzone-box.is-dragover .drop-hint-overlay { display: flex; }

.dz-when-full { display: none; }

.queue-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px;
}

.queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 8px;
}

.row-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.queue-hint {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.queue {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-sub-bg);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 8px 10px;
  transition: border-color 0.25s var(--ease-color), box-shadow 0.25s var(--ease-color), opacity 0.25s var(--ease-color);
}

.queue-item.is-drag { opacity: 0.4; }
.queue-item.is-over { border-color: var(--accent-orange); box-shadow: 0 0 0 2px rgba(255, 56, 17, 0.16); }

.q-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 34px;
  flex: none;
  color: var(--text-faint);
  cursor: grab;
  border-radius: 6px;
  touch-action: none;
}

.q-handle:active { cursor: grabbing; }

.q-index {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--text-faint);
  min-width: 22px;
  text-align: center;
  flex: none;
}

.q-thumb {
  width: 64px;
  height: 48px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  padding: 0;
  cursor: zoom-in;
  flex: none;
  transition: border-color 0.25s var(--ease-color), transform 0.25s var(--ease-out);
}

.q-thumb:hover { border-color: var(--accent-orange); transform: translateY(-1px); }
.q-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.q-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }

.q-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.q-meta { font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.02em; }

.q-actions { display: flex; align-items: center; gap: 4px; flex: none; }

.q-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  color: var(--text-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-color);
}

.q-btn:hover:not(:disabled) { border-color: var(--text-main); transform: translateY(-1px); }
.q-btn:disabled { opacity: 0.28; cursor: not-allowed; }

.q-remove:hover:not(:disabled) {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.settings {
  border-top: 1px solid var(--border-light);
  padding: 18px 8px 6px;
}

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

.setting-group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.setting-group.wide, .build-row.wide, .build-progress.wide { grid-column: 1 / -1; }

.setting-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.seg { display: flex; gap: 7px; flex-wrap: wrap; }

.seg-btn {
  height: 38px;
  padding: 0 15px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s var(--ease-color);
  white-space: nowrap;
}

.seg-btn:hover { border-color: var(--text-main); transform: translateY(-1px); }

.seg-btn[aria-pressed="true"] {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 56, 17, 0.3);
}

.name-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  border: 1px solid var(--border-mid);
  border-radius: 12px;
  background: var(--card-bg);
  padding: 0 14px;
  transition: border-color 0.25s var(--ease-color), box-shadow 0.25s var(--ease-color);
}

.name-field:focus-within {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 56, 17, 0.16);
}

.name-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.pdf-suffix {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  flex: none;
}

.build-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.build-meta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.4;
}

.build-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 30px;
  border: none;
  border-radius: 32px;
  background: var(--btn-black);
  color: var(--text-inverted);
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background-color 0.3s var(--ease-color), transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  white-space: nowrap;
}

.build-btn:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.build-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.build-btn svg { transition: transform 0.3s var(--ease-out); }
.build-btn:hover:not(:disabled) svg { transform: translateX(4px); }

.build-progress { min-height: 8px; }

.progress {
  height: 6px;
  width: 100%;
  background: var(--border-light);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent-orange);
  border-radius: 9999px;
  transition: width 0.25s ease;
}

.is-busy .seg-btn,
.is-busy .q-btn,
.is-busy .ratio-pill { pointer-events: none; opacity: 0.55; }

.marquee-wrap {
  padding: 24px 0;
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  overflow: hidden;
  margin-top: clamp(52px, 7vw, 84px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee { display: flex; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.1vw, 23px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.38);
  padding: 0 clamp(22px, 3vw, 44px);
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  white-space: nowrap;
}

.marquee span::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  flex: none;
  opacity: 0.65;
}

.logo-marquee {
  display: flex;
  width: max-content;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--border-mid);
  animation: scroll-x 30s linear infinite;
}

.logo-marquee:hover { animation-play-state: paused; }

.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 12px 21px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.07);
}

.logo-chip svg { color: var(--accent-orange); flex: none; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: clamp(72px, 9vw, 120px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 56px);
  flex-wrap: wrap;
}

.section-head .head-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.features-grid, .use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card,
.use-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out);
}

.feature-card::before,
.use-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.feature-card:hover, .use-card:hover { transform: translateY(-8px); }
.feature-card:hover::before, .use-card:hover::before { transform: scaleX(1); }

.feature-top { display: flex; align-items: center; justify-content: space-between; }

.feature-index {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  transition: color 0.3s var(--ease-color);
}

.feature-card:hover .feature-index,
.use-card:hover .feature-index { color: var(--accent-orange); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card-sub-bg);
  display: grid;
  place-items: center;
  color: var(--text-main);
  transition: background 0.35s var(--ease-color), color 0.35s var(--ease-color), transform 0.45s var(--ease-out);
}

.feature-card:hover .feature-icon,
.use-card:hover .feature-icon { background: var(--btn-black); color: #fff; transform: rotate(-8deg); }

.feature-card h3,
.use-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-card p,
.use-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

.use-card p { min-height: 70px; }

.feature-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.steps-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border-light);
}

.step { padding: 34px 30px 6px 0; border-right: 1px solid var(--border-light); }
.step:last-child { border-right: 0; padding-right: 0; }
.step:not(:first-child) { padding-left: 30px; }

.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num::after { content: ""; flex: 1; height: 1px; background: var(--border-light); }

.step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.3;
}

.step p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.presets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.preset-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.3s var(--ease-color), box-shadow 0.3s var(--ease-color);
}

.preset-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.preset-card:hover { transform: translateY(-6px); border-color: var(--border-mid); }
.preset-card:hover::before { transform: scaleX(1); }

.preset-card.is-active {
  border-color: var(--accent-orange);
  box-shadow: inset 0 0 0 2px rgba(255, 56, 17, 0.18), var(--shadow-card);
}

.preset-card.is-active::before { transform: scaleX(0); }

.preset-visual {
  height: 110px;
  border-radius: 16px;
  background: var(--card-sub-bg);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.preset-paper {
  display: block;
  background: #fff;
  border: 1px solid var(--border-mid);
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  position: relative;
  transition: transform 0.4s var(--ease-out);
}

.preset-paper::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--border-mid);
  box-shadow: 0 5px 0 var(--border-mid), 0 10px 0 var(--border-mid);
  opacity: 0.8;
}

.preset-card:hover .preset-paper { transform: translateY(-4px) rotate(-1.5deg); }

.p-a4 { width: 66px; height: 93px; }
.p-letter { width: 68px; height: 88px; }
.p-fit { width: 104px; height: 70px; border-style: dashed; }

.preset-body { display: flex; flex-direction: column; gap: 6px; }
.preset-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.preset-top b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.preset-dim { font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.02em; }

.preset-foot {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.faq-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(32px, 5vw, 56px);
}

.faq-list { margin-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--border-light); }
.faq-item { border-bottom: 1px solid var(--border-light); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text-main);
  transition: color 0.25s var(--ease-color);
}

.faq-q:hover { color: var(--accent-orange); }

.faq-ico {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  flex: none;
  transition: background 0.3s var(--ease-color), border-color 0.3s var(--ease-color), color 0.3s var(--ease-color);
}

.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-ico::before { width: 12px; height: 2px; }
.faq-ico::after { width: 2px; height: 12px; transition: transform 0.35s var(--ease-out); }

.faq-item.is-open .faq-ico {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

.faq-item.is-open .faq-ico::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
.faq-item.is-open .faq-a { max-height: 800px; }

.faq-a p {
  padding: 0 60px 26px 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 760px;
}

.cta-section { padding-bottom: clamp(72px, 9vw, 120px); }

.cta-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: clamp(36px, 5vw, 64px);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 56, 17, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  font-feature-settings: "cv09" 1, "cv03" 1, "cv04" 1, "cv11" 1, "blwf" 1;
}

.cta-title .accent { display: block; color: var(--accent-orange); margin-top: 12px; }

.cta-desc { font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--text-muted); max-width: 430px; }

.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }

.cta-note { font-size: 13.5px; color: var(--text-muted); display: flex; align-items: center; gap: 9px; font-weight: 500; }
.cta-note svg { color: var(--accent-orange); flex: none; }

.site-footer {
  background: var(--btn-black);
  color: var(--text-inverted);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: clamp(52px, 7vw, 80px) 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(36px, 6vw, 80px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 340px; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }

.footer-col a {
  text-decoration: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s var(--ease-color), padding-left 0.3s var(--ease-out);
  display: inline-block;
}

.footer-col a:hover { color: var(--accent-orange); padding-left: 5px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  flex-wrap: wrap;
}

.footer-bottom small { font-size: 13px; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.03em; }

.social-grid { display: flex; align-items: center; gap: 8px; list-style: none; }

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-social svg { width: 17px; height: 17px; transition: transform 0.25s ease; }
.btn-social:hover { background: var(--accent-orange); transform: translateY(-3px); }
.btn-social:hover svg { transform: scale(1.1); }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-mid);
  background: var(--card-bg);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  flex: none;
  transition: background 0.25s var(--ease-color), color 0.25s var(--ease-color), transform 0.4s var(--ease-out);
}

.theme-toggle:hover {
  background: var(--text-main);
  color: var(--card-bg);
  transform: rotate(20deg);
}

.theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 190;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: var(--card-bg);
  color: var(--text-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.3s var(--ease-color),
    visibility 0.3s var(--ease-color),
    transform 0.4s var(--ease-out),
    background 0.25s var(--ease-color),
    color 0.25s var(--ease-color),
    border-color 0.25s var(--ease-color);
}

.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }

.to-top:hover {
  background: var(--card-bg);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-3px);
}

.to-top svg { transition: transform 0.3s var(--ease-out); }
.to-top:hover svg { transform: translateY(-2px); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 24px);
  background: var(--text-main);
  color: var(--text-inverted);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 9999px;
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  z-index: 950;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Clean, Elegant SEO Guide Section
   ========================================================================== */
.guide-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: clamp(36px, 5vw, 64px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 5vw, 56px);
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border-light);
  padding-top: clamp(32px, 4vw, 48px);
}

@media (max-width: 860px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.guide-article {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-article h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text-main);
  margin: 0;
}

.guide-article p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.guide-article p strong {
  color: var(--text-main);
  font-weight: 600;
}

.guide-highlight-box {
  background: var(--card-sub-bg);
  border-radius: 10px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-orange);
  margin: 4px 0;
}

.guide-highlight-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

.guide-steps-list {
  list-style: none;
  padding: 0;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.guide-step-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--card-sub-bg);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.guide-step-body h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 3px;
  font-family: var(--font-display);
  text-transform: none;
}

.guide-step-body p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.guide-bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-bullet-item {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.guide-bullet-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.guide-bullet-item strong {
  color: var(--text-main);
}

.guide-compare-box {
  background: var(--card-sub-bg);
  border-radius: 10px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 4px 0;
}

@media (max-width: 540px) {
  .guide-compare-box {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.guide-compare-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.guide-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-compare-col li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ================= CONTENT & LEGAL PAGES ================= */
.page-shell {
  padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 100px);
}

.page-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(32px, 5vw, 64px);
}

.page-head {
  margin-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: clamp(24px, 3vw, 36px);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-transform: uppercase;
  margin: 12px 0 16px;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prose-body {
  max-width: 860px;
}

.prose-body h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-transform: uppercase;
  margin: 36px 0 14px;
}

.prose-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin: 24px 0 10px;
}

.prose-body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.prose-body ul, .prose-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.prose-body li {
  margin-bottom: 8px;
}

.prose-body strong {
  color: var(--text-main);
  font-weight: 600;
}

.prose-highlight {
  background: var(--card-sub-bg);
  border-left: 3px solid var(--accent-orange);
  border-radius: 0 14px 14px 0;
  padding: 18px 24px;
  margin: 28px 0;
}

.prose-highlight p {
  margin: 0;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
}

/* ================= CONTACT PAGE ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 10px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--card-sub-bg);
  border-radius: var(--radius-inner);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-main);
}

.contact-info-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-info-card a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  margin-top: 4px;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--card-sub-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-orange);
  background: var(--card-bg);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

/* ================= ERROR PAGES (404, 500) ================= */
.error-card {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-badge {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 150px);
  line-height: 0.95;
  color: var(--accent-orange);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  user-select: none;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.15;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.error-sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

