/* Brand tokens shared with devryner.com. Keep the admin layout independent. */
.support-site {
  --paper: #f4f1ea;
  --paper-warm: #fbede7;
  --ink: #1c1b19;
  --muted: #6b6862;
  --hairline: #e2ded4;
  --crayon-red: #e0342a;
  background: #0e0e0d;
  color: var(--ink);
  font-family: "Inter", "Pretendard Variable", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  padding: 32px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.support-site ::selection { background: var(--crayon-red); color: var(--paper); }
.support-site :focus-visible { outline: 2px solid var(--crayon-red); outline-offset: 5px; }
.support-site [hidden] { display: none !important; }
.support-site a, .support-site button, .support-site input { -webkit-tap-highlight-color: transparent; }
.support-site a { text-decoration: none; }
.support-site p, .support-site h1, .support-site h2, .support-site h3 { margin: 0; }
.support-site h1, .support-site h2, .support-site h3 { text-wrap: balance; word-break: keep-all; }
.support-site svg { flex-shrink: 0; }
.site-paper { max-width: 1600px; margin: 0 auto; min-height: calc(100svh - 64px); background: var(--paper); border-radius: 28px; display: flex; flex-direction: column; }
.site-header { border-bottom: 1px solid var(--hairline); border-radius: 28px 28px 0 0; }
.site-header__inner { min-height: 80px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 36px; height: auto; }
.brand span, .footer-brand { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 28px; letter-spacing: -1px; line-height: 1.2; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.site-nav__current { position: relative; font-weight: 600; }
.site-nav__current::after { content: ""; position: absolute; width: 4px; height: 4px; background: var(--crayon-red); border-radius: 50%; bottom: -12px; left: calc(50% - 2px); }
.site-nav__products { color: var(--muted); }
.site-nav a:hover, .text-link:hover, .back-link:hover, .site-footer a:hover { color: var(--crayon-red); }
.locale-menu { position: relative; font-size: 12px; }
.locale-menu summary { display: flex; align-items: center; gap: 9px; border: 1px solid var(--hairline); border-radius: 30px; padding: 9px 13px; cursor: pointer; list-style: none; white-space: nowrap; }
.locale-menu summary::-webkit-details-marker { display: none; }
.locale-menu[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.locale-menu ul { position: absolute; z-index: 20; right: 0; top: calc(100% + 10px); width: 185px; list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px; box-shadow: 0 12px 24px #1c1b1912; }
.locale-menu li a { padding: 8px 10px; border-radius: 7px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.locale-menu a:hover { background: #eae6dd; }
.locale-menu a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.locale-code { opacity: .6; font-size: 11px; }
.site-main { width: min(100% - 112px, 1120px); margin: 0 auto; padding: 44px 0 88px; flex: 1; }
.site-main:focus { outline: none; }
.section-label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: var(--muted); }
.brand-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--crayon-red); flex-shrink: 0; }
.support-hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 30px 0 58px; border-bottom: 1px solid var(--hairline); }
.support-hero h1 { font-size: clamp(44px, 5.5vw, 76px); font-weight: 900; line-height: 1.08; letter-spacing: -.055em; margin: 24px 0 22px; }
.hero-description { color: var(--muted); line-height: 1.85; max-width: 440px; word-break: keep-all; text-wrap: pretty; }
.support-hero__mark { width: clamp(180px, 25vw, 300px); height: auto; transform: rotate(-3deg); margin-right: 24px; }
.app-directory { padding-top: 38px; }
.directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.directory-heading h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.045em; }
.app-count { color: var(--muted); font-size: 12px; font-weight: 500; border: 1px solid var(--hairline); border-radius: 20px; padding: 0 8px; letter-spacing: 0; line-height: 23px; }
.directory-heading p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.app-search { display: flex; align-items: center; gap: 9px; width: 250px; border: 1px solid #d9d4c9; border-radius: 30px; padding: 10px 16px; color: var(--muted); }
.app-search:focus-within { outline: 2px solid var(--crayon-red); outline-offset: 3px; }
.app-search input { background: transparent; width: 100%; min-width: 0; color: var(--ink); font: inherit; font-size: 13px; border: 0; outline: none; }
.app-search input:focus-visible { outline: none; }
.app-search input::placeholder { color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.app-link { display: flex; align-items: center; gap: 18px; padding: 24px 4px; border-bottom: 1px solid var(--hairline); min-width: 0; }
.app-icon { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.app-icon--fallback { display: flex; align-items: center; justify-content: center; background: #e9e4d8; color: var(--ink); font-size: 24px; font-weight: 700; }
.app-link__copy { flex: 1; min-width: 0; }
.app-link h3 { font-size: 19px; font-weight: 650; letter-spacing: -.035em; overflow-wrap: anywhere; }
.app-link p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.app-link__arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--hairline); border-radius: 50%; flex-shrink: 0; transition: background-color .15s, color .15s; }
.app-link:hover h3 { color: var(--crayon-red); }
.app-link:hover .app-link__arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty-state { text-align: center; color: var(--muted); padding: 64px 16px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); margin-bottom: 40px; }
.app-hero { padding: 2px 0 32px; border-bottom: 1px solid var(--hairline); }
.app-hero__identity { display: flex; align-items: center; gap: 26px; }
.app-icon--large { width: 100px; height: 100px; border-radius: 24px; font-size: 40px; }
.app-hero h1 { font-weight: 800; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.15; letter-spacing: -.05em; margin: 5px 0 8px; overflow-wrap: anywhere; }
.text-link { color: var(--muted); font-size: 12px; }
.app-hero__description { margin-top: 28px !important; color: var(--muted); max-width: 620px; word-break: keep-all; }
.support-options { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; margin-top: 32px; }
.contact-panel { padding: 32px; background: var(--paper-warm); border-radius: 16px; }
.contact-panel__heading { display: flex; align-items: center; gap: 16px; }
.panel-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; background: var(--paper); border-radius: 50%; color: var(--crayon-red); }
.contact-panel h2 { font-size: 29px; font-weight: 750; letter-spacing: -.05em; }
.contact-panel p { max-width: 390px; color: var(--muted); font-size: 14px; margin: 12px 0 28px; word-break: keep-all; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 13px 24px; border: 1px solid transparent; border-radius: 30px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.button--primary { background: var(--ink); color: var(--paper); }
.button--primary:hover { background: var(--crayon-red); }
.button:disabled { opacity: .6; cursor: wait; }
.support-aside { padding-top: 10px; }
.support-aside h2 { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.support-aside p { color: var(--muted); font-size: 13px; margin-top: 12px; line-height: 1.9; word-break: keep-all; }
.resource-links { margin-top: 34px; border-top: 1px solid var(--hairline); padding-top: 26px; }
.resource-links h2 { margin-bottom: 12px; }
.resource-links a { display: block; font-size: 13px; color: var(--muted); padding: 8px 0; }
.resource-links a:hover { color: var(--crayon-red); text-decoration: underline; text-underline-offset: 4px; }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.inquiry-intro .section-label { margin-top: 24px; }
.inquiry-intro h1 { font-size: clamp(36px, 4vw, 54px); font-weight: 850; letter-spacing: -.05em; line-height: 1.15; margin: 10px 0 20px; }
.inquiry-note { display: flex; align-items: baseline; gap: 10px; max-width: 290px; border-top: 1px solid var(--hairline); margin-top: 36px; padding-top: 22px; }
.inquiry-note p { color: var(--muted); font-size: 12px; line-height: 1.9; word-break: keep-all; }
.inquiry-form-panel { padding: 32px; background: #faf8f3; border: 1px solid var(--hairline); border-radius: 16px; }
.inquiry-form { display: grid; gap: 23px; }
.form-field > label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 9px; }
.form-field input:not([type=file]), .form-field select, .form-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid #d9d4c9; border-radius: 8px; padding: 12px 14px; background: #fffdf9; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.6; }
.form-field select { padding-right: 32px; }
.form-field textarea { resize: vertical; min-height: 160px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #858078; }
.field_with_errors { display: contents; }
.field_with_errors input, .field_with_errors select, .field_with_errors textarea { border-color: var(--crayon-red) !important; }
.attachment-input { border: 1px dashed #cbc5b9; border-radius: 8px; padding: 16px; }
.attachment-input input { width: 100%; font-size: 12px; color: var(--muted); }
.attachment-input input::file-selector-button { border: 0; padding: 7px 12px; margin-right: 10px; border-radius: 20px; color: var(--ink); background: #eae6dc; font: inherit; cursor: pointer; }
.attachment-input p { font-size: 11px; color: var(--muted); margin-top: 10px; }
.form-submit { width: 100%; margin-top: 3px; }
.site-notifications { width: min(100% - 112px, 1120px); margin: 24px auto 0; }
.notice { border: 1px solid #d1d9c8; border-radius: 10px; background: #edf1e8; color: #405238; padding: 14px 18px; font-size: 13px; }
.notice--error { border-color: #edc8be; background: #fbede7; color: #a12c25; }
.notice ul { list-style: disc; margin: 8px 0 0; padding-left: 20px; }
.confirmation-page { max-width: 700px; margin: 0 auto; }
.confirmation-heading { padding: 8px 0 32px; }
.confirmation-check { display: grid; place-items: center; width: 60px; height: 60px; background: #e6eadd; color: #47573a; border-radius: 50%; margin-bottom: 26px; }
.confirmation-heading h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; font-weight: 800; letter-spacing: -.05em; }
.confirmation-heading p { color: var(--muted); font-size: 14px; margin-top: 14px; overflow-wrap: anywhere; }
.ticket-details { margin: 0 0 32px; border-top: 1px solid var(--ink); }
.ticket-details > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; border-bottom: 1px solid var(--hairline); padding: 18px 0; font-size: 13px; }
.ticket-details dt { color: var(--muted); }
.ticket-details dd { margin: 0; overflow-wrap: anywhere; }
.ticket-details__content dd { white-space: pre-wrap; line-height: 1.9; }
.document-page { max-width: 780px; margin: 0 auto; }
.document-heading { border-bottom: 1px solid var(--hairline); padding-bottom: 30px; margin-bottom: 38px; }
.document-heading h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.25; letter-spacing: -.05em; margin: 14px 0; }
.document-date { font-size: 12px; color: var(--muted); }
.document-languages { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.document-languages > * { padding: 5px 13px; border: 1px solid var(--hairline); border-radius: 20px; font-size: 12px; color: var(--muted); }
.document-languages [aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.document-languages a:hover { border-color: var(--ink); color: var(--ink); }
.support-site .markdown-content { color: var(--ink); font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.support-site .markdown-content :is(h1, h2, h3, h4, h5, h6, strong, th) { color: var(--ink); }
.support-site .markdown-content :is(h1, h2, hr, th, td, blockquote) { border-color: var(--hairline); }
.support-site .markdown-content :is(h1, h2, h3, h4, h5, h6) { margin-top: 2em; margin-bottom: .75em; line-height: 1.4; }
.support-site .markdown-content :first-child { margin-top: 0; }
.support-site .markdown-content p { margin: 1em 0; }
.support-site .markdown-content a { color: #2b5ea7; text-decoration: underline; text-underline-offset: 3px; }
.support-site .markdown-content table { display: block; overflow-x: auto; }
.support-site .markdown-content thead { background: #eae6dc; }
.site-footer { margin: 0 40px; padding: 32px 16px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 24px; }
.site-footer p { margin-top: 10px; color: var(--muted); font-size: 11px; }
.site-footer .footer-brand { font-size: 24px; }
.site-footer__end { text-align: right; align-self: end; }
.site-footer__end a { font-size: 12px; }
.skip-link, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; width: auto; height: auto; margin: 0; padding: 10px 18px; clip-path: none; background: var(--ink); color: var(--paper); border-radius: 30px; }

@media (max-width: 1000px) {
  .support-site { padding: 20px; }
  .site-paper { min-height: calc(100svh - 40px); }
  .site-main, .site-notifications { width: calc(100% - 64px); }
  .site-header__inner { padding: 0 28px; }
  .site-footer { margin: 0 28px; padding-inline: 4px; }
  .support-hero__mark { margin-right: 0; }
  .inquiry-layout { gap: 40px; }
  .support-options { gap: 36px; }
  .app-grid { column-gap: 28px; }
}

@media (max-width: 700px) {
  .support-site { padding: 0; font-size: 14px; }
  .site-paper { min-height: 100svh; border-radius: 0; }
  .site-header { border-radius: 0; }
  .site-header__inner { min-height: 72px; padding: 0 22px; gap: 16px; }
  .brand { gap: 7px; }
  .brand img { width: 29px; }
  .brand span { font-size: 24px; }
  .site-nav { margin-left: auto; font-size: 11px; }
  .site-nav__products { display: none; }
  .locale-menu summary { padding: 7px 10px; font-size: 11px; gap: 6px; }
  .locale-menu summary > svg:first-child { display: none; }
  .site-main, .site-notifications { width: calc(100% - 44px); }
  .site-main { padding: 30px 0 56px; }
  .support-hero { gap: 16px; padding: 12px 0 36px; position: relative; align-items: flex-start; }
  .support-hero__copy { position: relative; z-index: 1; }
  .support-hero h1 { font-size: clamp(39px, 8.4vw, 58px); margin: 24px 0 18px; }
  .support-hero .hero-description { max-width: 270px; font-size: 13px; }
  .support-hero__mark { width: 110px; position: absolute; right: -3px; top: 28px; opacity: .9; }
  .support-hero h1 { max-width: calc(100% - 70px); }
  .section-label { font-size: 11px; }
  .directory-heading { align-items: stretch; flex-direction: column; gap: 20px; margin-bottom: 8px; }
  .directory-heading h2 { font-size: 20px; }
  .directory-heading p { font-size: 12px; }
  .app-directory { padding-top: 28px; }
  .app-search { width: 100%; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-link { padding: 22px 0; gap: 16px; }
  .app-link h3 { font-size: 18px; }
  .app-icon { width: 52px; height: 52px; border-radius: 13px; }
  .back-link { margin-bottom: 30px; }
  .app-hero { padding-bottom: 30px; }
  .app-hero__identity { gap: 18px; }
  .app-icon--large { width: 76px; height: 76px; border-radius: 18px; }
  .app-hero h1 { font-size: 36px; }
  .app-hero__description { font-size: 13px; margin-top: 22px !important; }
  .support-options { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
  .contact-panel { padding: 28px; }
  .contact-panel h2 { font-size: 26px; }
  .contact-panel p { font-size: 13px; }
  .support-aside { padding: 4px 4px 0; }
  .inquiry-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .inquiry-intro .section-label { margin-top: 16px; }
  .inquiry-intro h1 { font-size: 36px; margin-bottom: 12px; }
  .inquiry-note { display: none; }
  .inquiry-form-panel { padding: 24px 20px; }
  .form-field input:not([type=file]), .form-field select, .form-field textarea { font-size: 16px; }
  .confirmation-heading h1 { font-size: 30px; }
  .ticket-details > div { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
  .site-footer { margin: 0 22px; padding: 26px 0; flex-direction: column; gap: 24px; }
  .site-footer__end { text-align: left; align-self: start; }
}

@media (max-width: 370px) {
  .site-header__inner { gap: 10px; padding-inline: 18px; }
  .site-nav { display: none; }
  .support-hero__mark { width: 88px; top: 42px; }
  .support-hero h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .support-site *, .support-site *::before, .support-site *::after { transition: none !important; scroll-behavior: auto !important; }
}
