:root {
  --blue: #346aff;
  --blue-dark: #2a58d6;
  --blue-soft: #edf2ff;
  --ink: #212b36;
  --text: #454b53;
  --muted: #68717c;
  --line: #f0f0f0;
  --surface: #ffffff;
  --background: #f7f9ff;
  --danger: #b42318;
  --success: #16803c;
  --radius: 18px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  font-synthesis: none;
  line-height: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #f7f9ff;
}

body {
  margin: 0;
  background-color: #f7f9ff;
  color: var(--text);
}

/* Keep skip link out of Safari 26 edge sampling until focused. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 12px;
}

main:focus {
  outline: none;
}

button,
textarea,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--blue);
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #f7f9ff;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 72px solid rgba(52, 106, 255, 0.04);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 112px 0 104px;
}

.hero-icon {
  display: block;
  margin-bottom: 28px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(52, 106, 255, 0.18);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero-product {
  margin: 14px 0 0;
  color: var(--blue);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 36em;
  margin: 18px 0 24px;
  color: var(--text);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.secondary-link:hover {
  border-color: #c9d8ff;
  background: var(--blue-soft);
}

.install-section {
  padding-top: 72px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.install-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.install-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
}

.install-card-muted {
  background: #fafbff;
}

.install-steps {
  margin: 0 0 20px;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.install-steps code {
  font-size: 0.92em;
}

.install-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-version {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.primary-link,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.primary-link {
  padding: 0 20px;
}

.primary-link:hover,
.button:hover:not(:disabled) {
  background: var(--blue-dark);
}

.primary-link:active,
.button:active:not(:disabled),
.secondary-button:active:not(:disabled) {
  transform: translateY(1px);
}

.section {
  padding-top: 96px;
  padding-bottom: 104px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading h2,
.notice-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.notice-grid article > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.feature-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(33, 43, 54, 0.045);
}

.feature-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 36px 0 9px;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---- animated feature demos (styled after actual usage) ---- */

.feature-demo {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  background: #fff;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  user-select: none;
}

.demo-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-item {
  display: grid;
  grid-template-areas: "img title" "img cost" "img unit";
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto auto;
  align-content: center;
  column-gap: 12px;
  row-gap: 2px;
  height: 72px;
  padding: 0 10px;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  background: #fff;
}

.demo-img {
  position: relative;
  grid-area: img;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f2f4f7, #e2e7ee);
}

.demo-title {
  grid-area: title;
  overflow: hidden;
  color: #111;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.demo-cost {
  grid-area: cost;
  color: #ae0000;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* unit-price badge: same look as the extension badge */
.demo-unit {
  grid-area: unit;
  width: fit-content;
  padding: 1px 6px;
  border-radius: 4px;
  background: #e6f0ff;
  color: #346aff;
  font-size: 11px;
  font-weight: 700;
}

/* rank mark: blue circle like the extension sort rank */
.demo-rank {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #346aff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.demo-hit {
  color: var(--danger);
  font-style: normal;
  font-weight: 700;
}

/* mouse cursor shared by demos */

.demo-cursor {
  position: absolute;
  z-index: 5;
  width: 20px;
  height: 20px;
  opacity: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

/* 01 sort: ranking sort is active, cursor clicks unit-price sort */

.demo-sort {
  position: relative;
  overflow: hidden;
}

.demo-sortbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid #eef0f3;
  color: #555;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* fixed-width check slot so the bar never reflows */
.demo-check {
  display: inline-block;
  width: 13px;
  font-size: 10px;
  font-style: normal;
}

.demo-check-a {
  animation: demo-check-a 7s ease-in-out infinite;
}

.demo-check-b {
  opacity: 0;
  animation: demo-check-b 7s ease-in-out infinite;
}

.demo-sort-a {
  animation: demo-sort-a 7s ease-in-out infinite;
}

.demo-sort-b {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  animation: demo-sort-b 7s ease-in-out infinite;
}

.demo-sort-arrow {
  display: inline-block;
  vertical-align: middle;
}

@keyframes demo-check-a {
  0%, 25% { opacity: 1; }
  28%, 88% { opacity: 0; }
  96%, 100% { opacity: 1; }
}

@keyframes demo-check-b {
  0%, 25% { opacity: 0; }
  28%, 88% { opacity: 1; }
  96%, 100% { opacity: 0; }
}

@keyframes demo-sort-a {
  0%, 25% { color: #346aff; }
  28%, 88% { color: #555; }
  96%, 100% { color: #346aff; }
}

@keyframes demo-sort-b {
  0%, 25% { color: #555; }
  28%, 88% { color: #346aff; }
  96%, 100% { color: #555; }
}

/* cursor is anchored to the 단위가격순 label itself */
.demo-cursor-sort {
  top: 6px;
  left: 38px;
  animation: demo-cursor-sort 7s ease-in-out infinite;
}

@keyframes demo-cursor-sort {
  0%, 5% { opacity: 0; transform: translate(-70px, 96px); }
  11% { opacity: 1; }
  20%, 23% { opacity: 1; transform: translate(0, 0) scale(1); }
  25% { opacity: 1; transform: translate(0, 0) scale(0.8); }
  28%, 33% { opacity: 1; transform: translate(0, 0) scale(1); }
  40%, 100% { opacity: 0; transform: translate(0, 0) scale(1); }
}

.demo-sort .demo-item:nth-child(1) {
  animation: demo-sort-down 7s ease-in-out infinite;
}

.demo-sort .demo-item:nth-child(3) {
  animation: demo-sort-up 7s ease-in-out infinite;
}

.demo-sort .demo-rank {
  opacity: 0;
  animation: demo-rank-in 7s ease-in-out infinite;
}

@keyframes demo-sort-up {
  0%, 30% { transform: translateY(0); }
  42%, 88% { transform: translateY(-160px); }
  96%, 100% { transform: translateY(0); }
}

@keyframes demo-sort-down {
  0%, 30% { transform: translateY(0); }
  42%, 88% { transform: translateY(160px); }
  96%, 100% { transform: translateY(0); }
}

@keyframes demo-rank-in {
  0%, 42% { opacity: 0; }
  48%, 88% { opacity: 1; }
  94%, 100% { opacity: 0; }
}

/* 02 filter: keyword is typed, registered as a tag, then the row hides */

.demo-kw {
  display: flex;
  gap: 8px;
  margin-bottom: 9px;
}

.demo-kw-input {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  height: 30px;
  overflow: hidden;
  padding: 0 9px;
  border: 1px solid #d8dce1;
  border-radius: 4px;
  background: #fff;
  font-size: 11.5px;
}

.demo-ph {
  position: absolute;
  color: #a7adb4;
  animation: demo-ph 7s ease-in-out infinite;
}

/* placeholder hides only while text is being typed, then returns */
@keyframes demo-ph {
  0%, 9% { opacity: 1; }
  13%, 31% { opacity: 0; }
  36%, 100% { opacity: 1; }
}

.demo-type {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  color: #111;
  white-space: nowrap;
  animation: demo-type 7s linear infinite;
}

@keyframes demo-type {
  0%, 12% { max-width: 0; }
  16%, 19% { max-width: 1.25em; }
  22%, 31% { max-width: 2.5em; }
  33%, 100% { max-width: 0; }
}

.demo-caret {
  width: 1px;
  height: 14px;
  margin-left: 1px;
  background: #346aff;
  opacity: 0;
  animation: demo-caret 7s linear infinite;
}

@keyframes demo-caret {
  0%, 7% { opacity: 0; }
  8%, 11% { opacity: 1; }
  12%, 14% { opacity: 0; }
  15%, 30% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

.demo-kw-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f5f5f5;
  color: #333;
  font-size: 11.5px;
  animation: demo-add-press 7s ease-in-out infinite;
}

@keyframes demo-add-press {
  0%, 29%, 33%, 100% { transform: scale(1); }
  31% { transform: scale(0.9); }
}

.demo-tagrow {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  margin-bottom: 9px;
  font-size: 11.5px;
}

.demo-taglabel {
  color: #555;
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #555;
  opacity: 0;
  animation: demo-tag-in 7s ease-in-out infinite;
}

.demo-tag b {
  font-size: 10px;
  font-weight: 400;
}

@keyframes demo-tag-in {
  0%, 32% { opacity: 0; transform: scale(0.85); }
  36%, 90% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; transform: scale(0.85); }
}

.demo-filter .demo-items {
  height: 196px;
}

.demo-filter .demo-item {
  height: 60px;
  grid-template-areas: "img title" "img cost";
  grid-template-rows: auto auto;
}

.demo-item-out {
  animation: demo-filter-out 7s ease-in-out infinite;
}

.demo-item-up {
  animation: demo-filter-up 7s ease-in-out infinite;
}

@keyframes demo-filter-out {
  0%, 38% { opacity: 1; transform: translateX(0); }
  46%, 90% { opacity: 0; transform: translateX(12px); }
  97%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes demo-filter-up {
  0%, 40% { transform: translateY(0); }
  48%, 90% { transform: translateY(-68px); }
  97%, 100% { transform: translateY(0); }
}

/* 03 display: popup-style checkbox; unchecked hides the ad banner (fixed-height stage) */

.demo-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid #eef0f3;
}

.demo-setting-name {
  color: #555;
  font-size: 11.5px;
  font-weight: 700;
}

/* same checkbox as the popup .cbox: checked = show, unchecked = hide */
.demo-cbox {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid #c4cdd5;
  border-radius: 5px;
  background: #fff;
  animation: demo-cbox 7s ease-in-out infinite;
}

.demo-cbox::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: demo-cbox-mark 7s ease-in-out infinite;
}

@keyframes demo-cbox {
  0%, 28% { background: #346aff; border-color: #346aff; }
  35%, 88% { background: #fff; border-color: #c4cdd5; }
  96%, 100% { background: #346aff; border-color: #346aff; }
}

@keyframes demo-cbox-mark {
  0%, 28% { opacity: 1; }
  35%, 88% { opacity: 0; }
  96%, 100% { opacity: 1; }
}

.demo-stage {
  height: 232px;
  overflow: hidden;
}

.demo-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  margin-bottom: 8px;
  overflow: hidden;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff8a3d, #ffb03d);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  animation: demo-banner-hide 7s ease-in-out infinite;
}

.demo-banner b {
  flex: none;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 9px;
  letter-spacing: 0.08em;
}

@keyframes demo-banner-hide {
  0%, 30% { opacity: 1; transform: translateY(0); }
  40%, 88% { opacity: 0; transform: translateY(-6px); }
  96%, 100% { opacity: 1; transform: translateY(0); }
}

.demo-display .demo-items {
  animation: demo-items-up 7s ease-in-out infinite;
}

@keyframes demo-items-up {
  0%, 34% { transform: translateY(0); }
  44%, 88% { transform: translateY(-48px); }
  96%, 100% { transform: translateY(0); }
}

.demo-display .demo-item {
  height: 56px;
  grid-template-areas: "img title" "img cost";
  grid-template-rows: auto auto;
}

.demo-display .demo-img {
  width: 40px;
  height: 40px;
}

.notice-section {
  padding: 80px 0;
  background: var(--ink);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.notice-grid h2 {
  color: #fff;
  font-size: 27px;
}

.notice-grid .eyebrow {
  color: #9ebcff;
}

.notice-grid article > p:last-child {
  color: #b8c0c9;
}

.feedback-section {
  max-width: 800px;
}

.feedback-panel {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(33, 43, 54, 0.07);
}

.feedback-form,
.feedback-feed {
  padding: 30px;
}

.feedback-form > label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.input-wrap {
  position: relative;
}

textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  padding: 15px 16px 28px;
  resize: vertical;
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  outline: none;
  background: #fbfcfd;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(52, 106, 255, 0.1);
}

textarea::placeholder {
  color: #a7adb4;
}

.counter {
  position: absolute;
  right: 13px;
  bottom: 9px;
  color: #a36a00;
  font-size: 12px;
  font-weight: 700;
}

.counter.limit {
  color: var(--danger);
}

.form-actions {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 12px;
}

.submit-status {
  margin: 0 auto 0 0;
  color: var(--muted);
  font-size: 13px;
}

.submit-status.error {
  color: var(--danger);
}

.submit-status.success {
  color: var(--success);
}

.button {
  min-width: 108px;
  padding: 0 18px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback-divider {
  height: 1px;
  background: var(--line);
}

.state {
  margin: 0;
  padding: 32px 8px;
  color: var(--muted);
  text-align: center;
}

.state[hidden],
.comment-list[hidden],
.load-more[hidden] {
  display: none;
}

.state p {
  margin: 0 0 12px;
}

.secondary-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #e1e5ea;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.secondary-button:hover:not(:disabled) {
  border-color: #cbd2da;
  background: var(--background);
}

.secondary-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--background);
}

.comment.new {
  animation: comment-highlight 1.8s ease;
}

.comment-body {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-body.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: normal;
}

.comment-body.is-expanded {
  display: block;
  white-space: pre-wrap;
}

.comment-expand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.comment-expand[hidden] {
  display: none;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.comment-version {
  color: var(--blue);
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.load-more-error {
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 13px;
  text-align: center;
}

.load-more-error[hidden] {
  display: none;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--background);
}

.footer-inner {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.footer-brand img {
  border-radius: 7px;
}

footer nav {
  display: flex;
  gap: 20px;
}

footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

footer a:hover {
  color: var(--blue);
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px 20px;
  background: var(--background);
}

.not-found {
  width: min(100%, 620px);
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  text-align: center;
}

.not-found-icon {
  display: block;
  margin: 0 auto 24px;
  border-radius: 22px;
}

.not-found h1 {
  font-size: clamp(26px, 6vw, 40px);
  word-break: keep-all;
}

.not-found > p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: var(--muted);
  word-break: keep-all;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #d8dde5;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.secondary-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

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

@keyframes comment-highlight {
  0%,
  35% {
    background: var(--blue-soft);
    border-color: rgba(52, 106, 255, 0.28);
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 32px, 1080px);
  }

  .hero-inner {
    padding: 76px 0 72px;
  }

  .hero-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 18px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .feature-grid,
  .notice-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .notice-grid {
    gap: 46px;
  }

  .feature-card {
    min-height: 190px;
    padding: 24px;
  }

  .demo-sortbar {
    gap: 9px;
    font-size: 10.5px;
  }

  .feedback-form,
  .feedback-feed {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(100% - 24px, 1080px);
  }

  .feature-card {
    padding: 18px;
  }

  .feature-demo {
    padding: 10px;
  }

  .demo-sortbar {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 9.5px;
    letter-spacing: -0.025em;
    white-space: normal;
  }

  .demo-check {
    width: 10px;
  }

  .demo-item {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 9px;
  }

  .demo-kw {
    gap: 6px;
  }

  .demo-kw-add {
    padding: 0 10px;
  }

  .demo-tagrow {
    gap: 5px;
  }

  .demo-banner {
    line-height: 1.3;
    white-space: normal;
  }

  .feedback-feed {
    padding: 18px;
  }

  .not-found {
    padding: 36px 22px;
  }

  .not-found-actions {
    flex-direction: column;
  }

  .not-found-actions a {
    width: 100%;
  }
}

@media (forced-colors: active) {
  .primary-link,
  .secondary-button,
  .demo-cbox {
    border: 1px solid ButtonText;
  }
}

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

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

  /* Feature demos: freeze on a clear finished frame instead of a mid-keyframe. */
  .feature-demo *,
  .feature-demo *::before,
  .feature-demo *::after {
    animation: none !important;
  }

  .demo-cursor {
    display: none !important;
  }

  .demo-check-a {
    opacity: 0;
  }

  .demo-check-b {
    opacity: 1;
  }

  .demo-sort-a {
    color: #555;
  }

  .demo-sort-b {
    color: #346aff;
  }

  .demo-sort .demo-item:nth-child(1) {
    transform: translateY(160px);
  }

  .demo-sort .demo-item:nth-child(3) {
    transform: translateY(-160px);
  }

  .demo-sort .demo-rank {
    opacity: 1;
  }

  .demo-ph,
  .demo-type,
  .demo-caret {
    opacity: 0;
  }

  .demo-tag {
    opacity: 1;
    transform: none;
  }

  .demo-item-out {
    opacity: 0;
  }

  .demo-item-up {
    transform: translateY(-68px);
  }

  .demo-cbox {
    background: #fff;
    border-color: #c4cdd5;
  }

  .demo-cbox::after {
    opacity: 0;
  }

  .demo-banner {
    opacity: 0;
    transform: translateY(-6px);
  }

  .demo-display .demo-items {
    transform: translateY(-48px);
  }
}
