/* Overseas trademark estimate (/ko/overseas-trademark-estimate). */
.ote {
  --ote-navy: #2e3b6a;
  --ote-navy-deep: #18204a;
  --ote-ink: #141a2e;
  --ote-text: #3a4256;
  --ote-muted: #6c7489;
  --ote-line: #e4e8f0;
  --ote-line-strong: #c9d1df;
  --ote-surface: #f3f5f9;
  --ote-tint: #f1f4fb;
  --ote-gold: #dfb187;
  --ote-gold-ink: #9a6a39;
  --ote-gold-soft: #f8eee2;
  --ote-focus: 0 0 0 3px rgba(46, 59, 106, 0.22);
  background: var(--ote-surface);
  color: var(--ote-text);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}

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

.ote button,
.ote input {
  font: inherit;
}

/* Hero ------------------------------------------------------------------ */

.ote-hero {
  background:
    radial-gradient(ellipse 60% 80% at 85% -10%, rgba(223, 177, 135, 0.2), transparent 60%),
    linear-gradient(160deg, var(--ote-navy) 0%, var(--ote-navy-deep) 72%);
  color: #fff;
  overflow: hidden;
  padding: calc(5rem + 3.25rem) 1.25rem 9.5rem;
  position: relative;
}

.ote-hero::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(105deg, transparent 35%, #000 100%);
  pointer-events: none;
  position: absolute;
}

.ote-hero__inner {
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
  z-index: 1;
}

.ote-hero__globe {
  color: #fff;
  height: 34rem;
  opacity: 0.1;
  pointer-events: none;
  position: absolute;
  right: max(-6rem, calc((100vw - 1180px) / 2 - 8rem));
  top: 3.5rem;
  width: 34rem;
}

.ote-hero__eyebrow {
  color: var(--ote-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.ote-hero__title {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.ote-hero__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin: 1rem 0 0;
  max-width: 34rem;
}

.ote-hero__facts {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.ote-hero__facts li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.ote-hero__facts strong {
  color: #fff;
  font-weight: 700;
  margin-right: 0.15rem;
}

.ote-hero__rate {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
}

.ote-dot {
  background: #46d18a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(70, 209, 138, 0.22);
  display: inline-block;
  flex: 0 0 auto;
  height: 0.45rem;
  width: 0.45rem;
}

.ote-hero__rate[data-state="error"] .ote-dot {
  background: #ff8a65;
  box-shadow: 0 0 0 3px rgba(255, 138, 101, 0.22);
}

/* Calculator card -------------------------------------------------------- */

.ote-app {
  margin: -6.5rem auto 0;
  max-width: calc(1180px + 2.5rem);
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

.ote-app__card {
  align-items: stretch;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px -32px rgba(20, 26, 46, 0.38), 0 2px 6px rgba(20, 26, 46, 0.05);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.ote-app__inputs {
  align-content: start;
  display: grid;
  gap: 1.75rem;
  margin: 0;
  min-width: 0;
  padding: 2.25rem 2.5rem 2.5rem;
}

.ote-label {
  color: var(--ote-ink);
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  padding: 0;
}

.ote-field,
.ote-mark {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.ote-row {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.ote-segment {
  background: var(--ote-surface);
  border-radius: 14px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}

.ote-segment label,
.ote-pills label,
.ote-tile {
  cursor: pointer;
  display: block;
  position: relative;
}

.ote-segment input,
.ote-pills input,
.ote-tile input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.ote-segment span {
  border-radius: 10px;
  display: block;
  padding: 0.65rem 1rem;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.ote-segment strong {
  color: var(--ote-text);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.ote-segment small {
  color: var(--ote-muted);
  display: block;
  font-size: 0.76rem;
  margin-top: 0.05rem;
}

.ote-segment label:hover span {
  background: rgba(255, 255, 255, 0.6);
}

.ote-segment input:checked + span {
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 26, 46, 0.12), 0 0 0 1px rgba(46, 59, 106, 0.1);
}

.ote-segment input:checked + span strong {
  color: var(--ote-navy);
}

.ote-segment input:focus-visible + span,
.ote-pills input:focus-visible + span,
.ote-tile input:focus-visible + .ote-tile__body {
  box-shadow: var(--ote-focus);
}

.ote-field--classes {
  align-items: center;
  display: grid;
  gap: 0 0.6rem;
  grid-template-columns: auto auto;
}

.ote-field--classes .ote-label {
  grid-column: 1 / -1;
}

.ote-field__unit {
  color: var(--ote-muted);
  font-size: 0.88rem;
}

.ote-stepper {
  border: 1.5px solid var(--ote-line);
  border-radius: 12px;
  display: inline-flex;
  justify-self: start;
  height: 3.55rem;
  overflow: hidden;
}

.ote-stepper button {
  align-items: center;
  background: #fff;
  border: 0;
  color: var(--ote-navy);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  width: 2.9rem;
}

.ote-stepper button svg {
  height: 1rem;
  width: 1rem;
}

.ote-stepper button:hover {
  background: var(--ote-tint);
}

.ote-stepper button:disabled {
  color: #c2c8d4;
  cursor: not-allowed;
}

.ote-stepper input {
  -moz-appearance: textfield;
  appearance: textfield;
  border: 0;
  border-left: 1px solid var(--ote-line);
  border-right: 1px solid var(--ote-line);
  color: var(--ote-ink);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  margin: 0;
  text-align: center;
  width: 3.6rem;
}

.ote-stepper input::-webkit-inner-spin-button,
.ote-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ote-stepper input:focus,
.ote-stepper button:focus-visible,
.ote-search input:focus-visible,
.ote-tabs button:focus-visible,
.ote-presets button:focus-visible,
.ote-selected button:focus-visible,
.ote-button:focus-visible,
.ote-compare button:focus-visible {
  box-shadow: var(--ote-focus);
  outline: none;
}

.ote-mark {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-top: -0.75rem;
}

.ote-mark[hidden] {
  display: none;
}

.ote-mark .ote-label {
  float: left;
  margin: 0;
}

.ote-pills {
  background: var(--ote-surface);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.ote-pills span {
  border-radius: 999px;
  display: block;
  font-size: 0.84rem;
  padding: 0.3rem 1rem;
}

.ote-pills input:checked + span {
  background: var(--ote-navy);
  color: #fff;
  font-weight: 600;
}

/* Country picker ---------------------------------------------------------- */

.ote-countries__head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

.ote-presets {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.ote-presets__label {
  color: var(--ote-muted);
  font-size: 0.78rem;
  margin-right: 0.2rem;
}

.ote-presets button {
  background: #fff;
  border: 1px solid var(--ote-line);
  border-radius: 999px;
  color: var(--ote-text);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  transition: border-color 150ms ease, color 150ms ease;
}

.ote-presets button:hover {
  border-color: var(--ote-navy);
  color: var(--ote-navy);
}

.ote-picker {
  border: 1px solid var(--ote-line);
  border-radius: 16px;
  overflow: hidden;
}

.ote-search {
  display: block;
  position: relative;
}

.ote-search svg {
  color: var(--ote-muted);
  height: 1.05rem;
  left: 1.1rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
}

.ote-search input {
  appearance: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--ote-line);
  border-radius: 0;
  color: var(--ote-ink);
  height: 3.2rem;
  margin: 0;
  padding: 0 1rem 0 2.9rem;
  width: 100%;
}

.ote-search input::placeholder {
  color: #9aa2b4;
}

.ote-tabs {
  border-bottom: 1px solid var(--ote-line);
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  padding: 0 0.6rem;
  scrollbar-width: none;
}

.ote-tabs::-webkit-scrollbar {
  display: none;
}

.ote-tabs button {
  align-items: center;
  background: none;
  border: 0;
  color: var(--ote-muted);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.86rem;
  gap: 0.3rem;
  padding: 0.8rem 0.65rem;
  position: relative;
  white-space: nowrap;
}

.ote-tabs button:hover {
  color: var(--ote-ink);
}

.ote-tabs button[aria-pressed="true"] {
  color: var(--ote-ink);
  font-weight: 700;
}

.ote-tabs button[aria-pressed="true"]::after {
  background: var(--ote-navy);
  border-radius: 2px 2px 0 0;
  bottom: 0;
  content: "";
  height: 2.5px;
  left: 0.5rem;
  position: absolute;
  right: 0.5rem;
}

.ote-tabs__count {
  background: var(--ote-navy);
  border-radius: 999px;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.1rem;
  min-width: 1.1rem;
  padding: 0 0.3rem;
  text-align: center;
}

.ote-tiles {
  align-content: start;
  background: #fafbfd;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(10.25rem, 1fr));
  max-height: 23rem;
  overflow-y: auto;
  padding: 1rem;
}

.ote-tiles__empty {
  color: var(--ote-muted);
  font-size: 0.9rem;
  grid-column: 1 / -1;
  margin: 1.5rem 0;
  text-align: center;
}

.ote-tile__body {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ote-line);
  border-radius: 12px;
  display: flex;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.55rem 0.75rem;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.ote-tile:hover .ote-tile__body {
  border-color: var(--ote-line-strong);
  box-shadow: 0 2px 8px rgba(20, 26, 46, 0.06);
}

.ote-tile__check {
  border: 1.5px solid var(--ote-line-strong);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 1.1rem;
  position: relative;
  transition: background-color 120ms ease, border-color 120ms ease;
  width: 1.1rem;
}

.ote-tile__name {
  color: var(--ote-ink);
  flex: 1 1 auto;
  font-size: 0.9rem;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ote-tile__tag + .ote-tile__code {
  display: none;
}

.ote-tile__tag {
  background: var(--ote-gold-soft);
  border-radius: 5px;
  color: var(--ote-gold-ink);
  flex: 0 0 auto;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.05rem 0.3rem;
}

.ote-tile__code {
  color: #a3aabb;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ote-tile input:checked + .ote-tile__body {
  background: var(--ote-tint);
  border-color: var(--ote-navy);
  box-shadow: inset 0 0 0 1px var(--ote-navy);
}

.ote-tile input:checked + .ote-tile__body .ote-tile__check {
  background: var(--ote-navy);
  border-color: var(--ote-navy);
}

.ote-tile input:checked + .ote-tile__body .ote-tile__check::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  height: 0.5rem;
  left: 0.32rem;
  position: absolute;
  top: 0.15rem;
  transform: rotate(45deg);
  width: 0.26rem;
}

.ote-tile input:checked + .ote-tile__body .ote-tile__name {
  color: var(--ote-navy);
  font-weight: 700;
}

.ote-selected {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.ote-selected[hidden] {
  display: none;
}

.ote-selected__count {
  color: var(--ote-navy);
  font-size: 0.86rem;
  font-weight: 700;
  margin-right: 0.35rem;
}

.ote-selected button {
  align-items: center;
  background: #eef1f8;
  border: 0;
  border-radius: 999px;
  color: var(--ote-navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  gap: 0.3rem;
  padding: 0.28rem 0.5rem 0.28rem 0.75rem;
}

.ote-selected button svg {
  height: 0.7rem;
  opacity: 0.6;
  width: 0.7rem;
}

.ote-selected button:hover svg {
  opacity: 1;
}

.ote-selected .ote-selected__clear {
  background: none;
  color: var(--ote-muted);
  padding-left: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Summary ----------------------------------------------------------------- */

.ote-summary {
  background: linear-gradient(170deg, #27336a 0%, var(--ote-navy-deep) 100%);
  border-radius: 0 22px 22px 0;
  color: #fff;
  padding: 2.1rem 1.85rem;
}

.ote-summary__sticky {
  position: sticky;
  top: 6rem;
}

.ote-summary__label {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 0.85rem;
  gap: 0.5rem;
  margin: 0;
}

.ote-summary__label span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.68rem;
  padding: 0 0.45rem;
}

.ote-summary__total {
  color: #fff;
  font-size: clamp(2.1rem, 3vw, 2.55rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0.35rem 0 0;
}

.ote-summary__total small {
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: 0.2rem;
  opacity: 0.75;
}

.ote-summary__meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  margin: 0.35rem 0 0;
}

.ote-stagebar {
  margin-top: 1.4rem;
}

.ote-stagebar[hidden],
.ote-countrylist[hidden],
.ote-compare[hidden] {
  display: none;
}

.ote-stagebar__track {
  background: var(--ote-gold);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.ote-stagebar__track span {
  background: #fff;
  display: block;
  height: 100%;
  transition: width 250ms ease;
}

.ote-stagebar__legend {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 0.25rem 1rem;
  justify-content: space-between;
  margin-top: 0.55rem;
}

.ote-stagebar__legend span {
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  gap: 0.35rem;
}

.ote-stagebar__legend b {
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ote-stagebar__legend i {
  border-radius: 50%;
  display: inline-block;
  height: 0.5rem;
  width: 0.5rem;
}

.ote-stagebar__legend .is-filing {
  background: #fff;
}

.ote-stagebar__legend .is-registration {
  background: var(--ote-gold);
}

.ote-countrylist {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
  margin: 1.1rem 0 0;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.9rem 0.25rem 0 0;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  scrollbar-width: thin;
}

.ote-countrylist li {
  align-items: baseline;
  display: flex;
  font-size: 0.84rem;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.18rem 0;
}

.ote-countrylist span {
  color: rgba(255, 255, 255, 0.82);
}

.ote-countrylist em {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.66rem;
  font-style: normal;
  margin-left: 0.4rem;
  padding: 0.05rem 0.3rem;
  vertical-align: 0.1em;
}

.ote-countrylist b {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.ote-countrylist .is-shared span {
  color: rgba(255, 255, 255, 0.6);
}

.ote-compare {
  background: rgba(223, 177, 135, 0.12);
  border: 1px solid rgba(223, 177, 135, 0.35);
  border-radius: 12px;
  margin-top: 1.1rem;
  padding: 0.8rem 0.95rem;
}

.ote-compare[data-better="current"] {
  background: rgba(159, 227, 189, 0.1);
  border-color: rgba(159, 227, 189, 0.3);
}

.ote-compare p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

.ote-compare b {
  color: #fff;
}

.ote-compare button {
  background: var(--ote-gold);
  border: 0;
  border-radius: 8px;
  color: var(--ote-navy-deep);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.55rem;
  padding: 0.38rem 0.8rem;
}

.ote-compare button[hidden] {
  display: none;
}

.ote-summary__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.ote-button {
  align-items: center;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.ote-button--primary {
  background: var(--ote-gold);
  border: 0;
  color: var(--ote-navy-deep);
}

.ote-button--primary:hover {
  background: #e8c19c;
  color: var(--ote-navy-deep);
  transform: translateY(-1px);
}

.ote-button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.ote-button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.ote-summary__contact {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin: 0.9rem 0 0;
  text-align: center;
}

.ote-summary__contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Detail table ------------------------------------------------------------ */

.ote-detail {
  margin: 3rem auto 0;
  max-width: calc(1180px + 2.5rem);
  padding: 0 1.25rem;
}

.ote-detail[hidden] {
  display: none;
}

.ote-detail__head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.ote-detail__title {
  color: var(--ote-ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.ote-detail__caption {
  color: var(--ote-muted);
  font-size: 0.84rem;
  margin: 0;
}

.ote-table-wrap {
  background: #fff;
  border: 1px solid var(--ote-line);
  border-radius: 16px;
  overflow: hidden;
}

.ote-table {
  border-collapse: collapse;
  width: 100%;
}

.ote-table th,
.ote-table td {
  border-bottom: 1px solid #eef1f6;
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: middle;
}

.ote-table thead th {
  background: #f8f9fc;
  border-bottom-color: var(--ote-line);
  color: var(--ote-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
}

.ote-table tbody tr:last-child th,
.ote-table tbody tr:last-child td {
  border-bottom: 0;
}

.ote-table tbody tr:hover th,
.ote-table tbody tr:hover td {
  background: #fbfcfe;
}

.ote-table .ote-num {
  text-align: right;
}

.ote-table__note {
  display: block;
  max-width: 28em;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
}

.ote-table__name {
  color: var(--ote-ink);
  font-size: 0.95rem;
  font-weight: 700;
  margin-right: 0.45rem;
}

.ote-badge {
  background: var(--ote-surface);
  border-radius: 6px;
  color: var(--ote-muted);
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  margin: 0.1rem 0.25rem 0.1rem 0;
  padding: 0.08rem 0.4rem;
  vertical-align: 0.12em;
}

.ote-table td > span {
  color: var(--ote-ink);
  display: block;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.ote-table .ote-table__total > span {
  color: var(--ote-navy);
  font-weight: 700;
}

.ote-table tr.is-shared th,
.ote-table tr.is-shared td {
  background: #fcfaf6;
}

/* The grand-total row only appears on printed quotes. */
.ote-table .ote-table__sum {
  display: none;
}

.ote-detail__rates {
  color: var(--ote-muted);
  font-size: 0.78rem;
  margin: 0.8rem 0 0;
}

.ote-fineprint {
  margin: 2rem auto 0;
  max-width: calc(1180px + 2.5rem);
  padding: 0 1.25rem;
}

.ote-fineprint p {
  color: #8a91a3;
  font-size: 0.78rem;
  line-height: 1.7;
  margin: 0 0 0.2rem;
}

/* Guide, FAQ and related reading --------------------------------------- */

.ote-guide {
  margin: 4rem auto 0;
  max-width: calc(1180px + 2.5rem);
  padding: 0 1.25rem 4.5rem;
}

.ote-guide__section {
  background: #fff;
  border: 1px solid var(--ote-line);
  border-radius: 22px;
  padding: 2.5rem;
}

.ote-guide__section + .ote-guide__section {
  margin-top: 1.5rem;
}

.ote-guide__eyebrow {
  color: var(--ote-gold-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.ote-guide__title,
.ote-related__title {
  color: var(--ote-ink);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.ote-guide__lead {
  color: var(--ote-text);
  font-size: 0.95rem;
  margin: 0.8rem 0 0;
  max-width: 46rem;
}

.ote-guide__block {
  margin-top: 2.25rem;
}

.ote-guide__subtitle {
  color: var(--ote-ink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 0.9rem;
}

.ote-guide__table-wrap {
  border: 1px solid var(--ote-line);
  border-radius: 14px;
  overflow-x: auto;
}

.ote-guide__compare {
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 36rem;
  width: 100%;
}

.ote-guide__compare th,
.ote-guide__compare td {
  border-bottom: 1px solid #eef1f6;
  padding: 0.85rem 1.1rem;
  text-align: left;
  vertical-align: top;
}

.ote-guide__compare tbody tr:last-child th,
.ote-guide__compare tbody tr:last-child td {
  border-bottom: 0;
}

.ote-guide__compare thead th {
  background: #f8f9fc;
  border-bottom-color: var(--ote-line);
  color: var(--ote-navy);
  font-size: 0.85rem;
  font-weight: 700;
}

.ote-guide__compare tbody th {
  color: var(--ote-ink);
  font-weight: 600;
  white-space: nowrap;
  width: 7.5rem;
}

.ote-guide__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.25rem;
}

.ote-guide__card {
  background: var(--ote-tint);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
}

.ote-guide__list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ote-guide__list li {
  font-size: 0.9rem;
}

.ote-guide__list strong {
  color: var(--ote-navy);
  display: block;
  font-size: 0.86rem;
}

.ote-guide__list--plain li {
  padding-left: 1rem;
  position: relative;
}

.ote-guide__list--plain li::before {
  background: var(--ote-gold);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0.15rem;
  position: absolute;
  top: 0.68em;
  width: 5px;
}

.ote-guide__countries {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.ote-guide__countries > div {
  border: 1px solid var(--ote-line);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}

.ote-guide__countries dt {
  color: var(--ote-ink);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ote-guide__countries dd {
  font-size: 0.9rem;
  margin: 0;
}

.ote-guide__note {
  color: var(--ote-muted);
  font-size: 0.86rem;
  margin: 1rem 0 0;
}

.ote-guide__steps {
  counter-reset: ote-step;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ote-guide__steps li {
  background: var(--ote-tint);
  border-radius: 14px;
  counter-increment: ote-step;
  font-size: 0.86rem;
  padding: 1.1rem 1.1rem 1.2rem;
}

.ote-guide__steps li::before {
  color: var(--ote-gold-ink);
  content: counter(ote-step, decimal-leading-zero);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.ote-guide__steps strong {
  color: var(--ote-ink);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.ote-faq__list {
  border-top: 1px solid var(--ote-line);
  margin-top: 1.5rem;
}

.ote-faq__item {
  border-bottom: 1px solid var(--ote-line);
}

.ote-faq__item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  padding: 1.1rem 0.25rem;
}

.ote-faq__item summary::-webkit-details-marker {
  display: none;
}

.ote-faq__item summary::after {
  color: var(--ote-navy);
  content: "+";
  flex: none;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.ote-faq__item[open] summary::after {
  content: "−";
}

.ote-faq__item summary:focus-visible {
  border-radius: 8px;
  box-shadow: var(--ote-focus);
  outline: none;
}

.ote-faq__item h3 {
  color: var(--ote-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.ote-faq__item p {
  font-size: 0.92rem;
  margin: 0;
  padding: 0 2.5rem 1.25rem 0.25rem;
}

.ote-related__title {
  font-size: 1.2rem;
}

.ote-related__list {
  display: grid;
  gap: 0.6rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.ote-related__list a {
  color: var(--ote-navy);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--ote-line-strong);
  text-underline-offset: 0.2em;
}

.ote-related__list a:hover {
  text-decoration-color: currentColor;
}

.ote-mobilebar {
  display: none;
}

/* Firm letterhead and issuer block for printed quotes. */
.ote-print-head,
.ote-print-foot {
  display: none;
}

/* Inquiry ----------------------------------------------------------------- */

.ote-inquiry {
  margin: 3.5rem auto 0;
  max-width: calc(1180px + 2.5rem);
  padding: 0 1.25rem;
  scroll-margin-top: 6rem;
}

.ote-inquiry__card {
  background: #fff;
  border: 1px solid var(--ote-line);
  border-radius: 22px;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: 2.5rem;
}

.ote-inquiry__eyebrow {
  color: var(--ote-gold-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.ote-inquiry__title {
  color: var(--ote-ink);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.ote-inquiry__lead {
  color: var(--ote-muted);
  font-size: 0.92rem;
  margin: 0.8rem 0 0;
}

.ote-inquiry__estimate {
  background: linear-gradient(160deg, var(--ote-navy) 0%, var(--ote-navy-deep) 100%);
  border-radius: 16px;
  color: #fff;
  margin-top: 1.6rem;
  padding: 1.2rem 1.35rem;
}

.ote-inquiry__estimate[hidden] {
  display: none;
}

.ote-inquiry__estimate strong {
  display: block;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ote-inquiry__estimate p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  margin: 0.3rem 0 0;
}

.ote-inquiry__form.w-form {
  margin: 0;
  min-width: 0;
}

.ote .ote-form {
  display: grid;
  gap: 1rem;
}

.ote-form__grid {
  display: grid;
  gap: 0.9rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ote-form__field {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.ote-form__field--wide {
  grid-column: 1 / -1;
}

.ote-form__field > span {
  color: var(--ote-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.ote-form__field em {
  color: #c2410c;
  font-style: normal;
}

.ote-form__field input,
.ote-form__field textarea {
  appearance: none;
  background: #fff;
  border: 1px solid var(--ote-line-strong);
  border-radius: 10px;
  color: var(--ote-ink);
  font-size: 0.95rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}

.ote-form__field input {
  height: 3rem;
}

.ote-form__field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.ote-form__field input::placeholder,
.ote-form__field textarea::placeholder {
  color: #a3aabb;
}

.ote-form__field input:focus,
.ote-form__field textarea:focus {
  border-color: var(--ote-navy);
  box-shadow: var(--ote-focus);
  outline: none;
}

.ote-form__consent {
  align-items: flex-start;
  color: var(--ote-muted);
  cursor: pointer;
  display: flex;
  font-size: 0.82rem;
  gap: 0.55rem;
  line-height: 1.55;
  margin: 0;
}

.ote-form__consent input {
  accent-color: var(--ote-navy);
  flex: 0 0 auto;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  width: 1.05rem;
}

.ote-form__consent a {
  color: var(--ote-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ote-button--submit {
  background: var(--ote-navy);
  border: 0;
  color: #fff;
  width: 100%;
}

.ote-button--submit:hover {
  background: var(--ote-navy-deep);
}

.ote-button--submit:disabled {
  cursor: progress;
  opacity: 0.7;
}

.ote-inquiry .w-form-fail {
  background: #fff4ed;
  border: 1px solid #fbd5bd;
  border-radius: 10px;
  color: #9a3412;
  font-size: 0.86rem;
  margin-top: 0.8rem;
  padding: 0.7rem 0.9rem;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 991px) {
  .ote-hero {
    padding-bottom: 8rem;
  }

  .ote-app__card {
    grid-template-columns: 1fr;
  }

  .ote-summary {
    border-radius: 0 0 22px 22px;
  }

  .ote-summary__sticky {
    position: static;
  }

  .ote-inquiry__card {
    gap: 1.75rem;
    grid-template-columns: 1fr;
  }

  .ote-guide__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ote-mobilebar {
    align-items: center;
    background: var(--ote-navy-deep);
    bottom: 0;
    box-shadow: 0 -8px 24px rgba(20, 26, 46, 0.22);
    color: #fff;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    left: 0;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    transform: translateY(110%);
    transition: transform 200ms ease;
    z-index: 50;
  }

  .ote-mobilebar[data-visible="true"] {
    transform: translateY(0);
  }

  .ote-mobilebar__label {
    display: block;
    font-size: 0.74rem;
    opacity: 0.75;
  }

  .ote-mobilebar__total {
    display: block;
    font-size: 1.15rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
  }

  .ote-mobilebar a {
    background: var(--ote-gold);
    border-radius: 10px;
    color: var(--ote-navy-deep);
    flex: 0 0 auto;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.55rem 0.95rem;
    text-decoration: none;
  }
}

@media (max-width: 640px) {
  .ote {
    font-size: 14px;
  }

  .ote-hero {
    padding: calc(4.5rem + 2rem) 1.1rem 6.5rem;
  }

  .ote-hero__lead {
    font-size: 0.95rem;
  }

  .ote-hero__globe {
    display: none;
  }

  .ote-hero__facts {
    gap: 0.5rem 1rem;
  }

  .ote-app {
    margin-top: -4.5rem;
    padding: 0 0.75rem;
  }

  .ote-app__card {
    border-radius: 18px;
  }

  .ote-summary {
    border-radius: 0 0 18px 18px;
    padding: 1.6rem 1.25rem;
  }

  .ote-app__inputs {
    gap: 1.5rem;
    padding: 1.4rem 1.1rem 1.6rem;
  }

  .ote-row {
    grid-template-columns: 1fr;
  }

  .ote-segment span {
    padding: 0.6rem 0.75rem;
  }

  .ote-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 21rem;
    padding: 0.75rem;
  }

  .ote-tile__code {
    display: none;
  }

  .ote-detail,
  .ote-inquiry {
    padding: 0 0.75rem;
  }

  .ote-inquiry__card {
    border-radius: 18px;
    padding: 1.5rem 1.15rem;
  }

  .ote-form__grid {
    grid-template-columns: 1fr;
  }

  .ote-table thead {
    display: none;
  }

  .ote-table,
  .ote-table tbody,
  .ote-table tr,
  .ote-table th,
  .ote-table td {
    display: block;
    width: 100%;
  }

  .ote-table tr {
    border-bottom: 1px solid #eef1f6;
    padding: 0.9rem 1rem;
  }

  .ote-table tbody tr:last-child {
    border-bottom: 0;
  }

  .ote-table th,
  .ote-table td {
    border: 0;
    padding: 0.2rem 0;
  }

  .ote-table th {
    margin-bottom: 0.25rem;
  }

  .ote-table td[data-label] {
    align-items: baseline;
    column-gap: 1rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ote-table td[data-label]::before {
    color: var(--ote-muted);
    content: attr(data-label);
    font-size: 0.8rem;
    grid-row: 1 / span 2;
  }

  .ote-table td[data-label] > * {
    grid-column: 2;
    text-align: right;
    white-space: normal;
  }

  .ote-fineprint {
    padding: 0 0.85rem;
  }

  .ote-guide {
    margin-top: 3rem;
    padding: 0 0.75rem 7rem;
  }

  .ote-guide__section {
    border-radius: 18px;
    padding: 1.5rem 1.15rem;
  }

  .ote-guide__title {
    font-size: 1.35rem;
  }

  .ote-guide__grid,
  .ote-guide__countries,
  .ote-guide__steps,
  .ote-related__list {
    grid-template-columns: 1fr;
  }

  .ote-guide__card {
    padding: 1.25rem 1.2rem;
  }

  .ote-faq__item p {
    padding-right: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ote-segment span,
  .ote-tile__body,
  .ote-tile__check,
  .ote-stagebar__track span,
  .ote-button,
  .ote-mobilebar {
    transition: none;
  }

  .ote-button--primary:hover {
    transform: none;
  }
}

@media print {
  @page {
    margin: 14mm 14mm 16mm;

    @bottom-left {
      color: #6c7489;
      content: "파인특허법률사무소 · 해외 상표 출원 견적서";
      font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
      font-size: 8pt;
    }

    @bottom-right {
      color: #6c7489;
      content: counter(page) " / " counter(pages);
      font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
      font-size: 8pt;
    }
  }

  body {
    background: #fff !important;
    padding-bottom: 0 !important;
  }

  .nav-wrapper,
  .footer-dark,
  .pine-sticky-cta,
  .ote-hero,
  .ote-app__inputs,
  .ote-stagebar__track,
  .ote-countrylist,
  .ote-summary__actions,
  .ote-summary__contact,
  .ote-compare,
  .ote-inquiry,
  .ote-guide,
  .ote-mobilebar {
    display: none !important;
  }

  .ote {
    background: #fff;
    color: var(--ote-text);
    font-size: 10pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .ote-print-head {
    align-items: flex-end;
    border-bottom: 2px solid var(--ote-navy);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
  }

  .ote-print-head__logo {
    display: block;
    height: 36px;
    width: auto;
  }

  .ote-print-head__doc {
    text-align: right;
  }

  .ote-print-head__title {
    color: var(--ote-ink);
    font-size: 17pt;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
  }

  .ote-print-head__date {
    color: var(--ote-muted);
    font-size: 9pt;
    margin: 4px 0 0;
  }

  .ote-app,
  .ote-detail,
  .ote-fineprint {
    margin: 0;
    max-width: none;
    padding: 0;
  }

  .ote-app__card {
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  .ote-summary {
    background: #fff;
    border: 1px solid var(--ote-line-strong);
    border-radius: 10px;
    break-inside: avoid;
    color: var(--ote-ink);
    padding: 14px 18px;
  }

  .ote-summary__sticky {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    position: static;
  }

  .ote-summary__label,
  .ote-summary__meta,
  .ote-stagebar__legend span {
    color: var(--ote-muted);
  }

  .ote-summary__label span {
    border-color: var(--ote-line-strong);
  }

  .ote-summary__total,
  .ote-summary__total small,
  .ote-stagebar__legend b {
    color: var(--ote-ink);
    opacity: 1;
  }

  .ote-summary__total {
    font-size: 22pt;
  }

  .ote-stagebar {
    margin: 0;
  }

  .ote-stagebar__legend {
    align-items: flex-end;
    flex-direction: column;
    font-size: 9.5pt;
    gap: 2px;
    margin: 0;
  }

  .ote-stagebar__legend .is-filing {
    background: var(--ote-navy);
  }

  .ote-detail {
    margin-top: 22px;
  }

  .ote-detail__title {
    font-size: 12pt;
  }

  .ote-detail__caption,
  .ote-detail__rates {
    font-size: 8.5pt;
  }

  .ote-table-wrap {
    border: 1px solid var(--ote-line-strong);
    border-radius: 0;
    overflow: visible;
  }

  .ote-table th,
  .ote-table td {
    padding: 7px 12px;
  }

  .ote-table tr {
    break-inside: avoid;
  }

  .ote-table__name,
  .ote-table td > span {
    font-size: 10pt;
  }

  .ote-table .ote-table__sum {
    display: table-row-group;
  }

  .ote-table__sum th,
  .ote-table__sum td {
    background: var(--ote-tint);
    border-bottom: 0;
    border-top: 1px solid var(--ote-line-strong);
  }

  .ote-fineprint {
    margin-top: 14px;
  }

  .ote-fineprint p {
    color: var(--ote-muted);
    font-size: 8pt;
  }

  .ote-print-foot {
    border-top: 1px solid var(--ote-line-strong);
    break-inside: avoid;
    color: var(--ote-text);
    display: block;
    font-size: 8.5pt;
    line-height: 1.6;
    margin-top: 16px;
    padding-top: 10px;
  }

  .ote-print-foot p {
    margin: 0;
  }

  .ote-print-foot__name {
    color: var(--ote-ink);
    font-size: 10pt;
    margin-bottom: 2px;
  }
}
