
/* MacArchive main site: plain CSS, system fonts only, no external requests. */
:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --sunk: #f3f1ec;
  --ink: #14171c;
  --dim: #545a67;
  --faint: #858a96;
  --rule: #e6e3db;
  --rule2: #d4d0c5;
  --green: #1f6f5b;
  --green-wash: #e8f1ed;
  --blue: #2f5fe0;
  --blue-wash: #e8eeff;
  --shadow: 0 1px 2px rgba(20, 23, 28, 0.05), 0 18px 50px rgba(20, 23, 28, 0.1);
  --serif: ui-serif, 'New York', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', 'Apple SD Gothic Neo',
    'Malgun Gothic', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --max: 1180px;
}
html[data-theme='dark'] {
  --paper: #0e1013;
  --surface: #14171c;
  --sunk: #171b21;
  --ink: #ece9e2;
  --dim: #a4a8b2;
  --faint: #6f7480;
  --rule: #242830;
  --rule2: #313642;
  --green: #6fcfae;
  --green-wash: #14231f;
  --blue: #8aaeff;
  --blue-wash: #131d36;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 50px rgba(0, 0, 0, 0.45);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration-color: var(--rule2);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--green);
  text-decoration-color: currentColor;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
}
html[lang='ko'] h1,
html[lang='ko'] h2,
html[lang='ko'] h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.22;
  word-break: keep-all;
}
html[lang='ko'] p {
  word-break: keep-all;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
.label {
  font: 600 12.5px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}
.label::before {
  content: '› ';
  color: var(--acc, var(--green));
}

/* header */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 18px var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0 0 0 14px;
  padding: 0;
}
.nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--dim);
  text-decoration: none;
  font-size: 15px;
}
.nav ul a:hover {
  background: var(--sunk);
  color: var(--ink);
}
.tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang,
.icon-btn {
  border: 1px solid var(--rule2);
  background: transparent;
  color: var(--dim);
  border-radius: 9px;
  padding: 5px 11px;
  font: 600 13px var(--sans);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.5;
  white-space: nowrap;
}
.lang:hover,
.icon-btn:hover {
  color: var(--ink);
  border-color: var(--faint);
}
.icon-btn {
  width: 36px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
}
.icon-btn svg {
  width: 17px;
  height: 17px;
}
.menu-toggle {
  display: none;
}
.menu-toggle svg {
  width: 19px;
  height: 19px;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.mobile-nav a {
  display: block;
  padding: 14px 24px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--dim);
}
.mobile-nav.open {
  display: block;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font: 600 16px var(--sans);
  text-decoration: none;
  border: 1px solid var(--rule2);
  background: var(--surface);
  color: var(--ink);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.btn.solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn.solid:hover {
  color: var(--paper);
}
.btn.acc {
  background: var(--acc);
  color: var(--accent-ink, #fff);
  border-color: var(--acc);
}
.btn.acc:hover {
  color: var(--accent-ink, #fff);
}
.btn.sm {
  padding: 9px 16px;
  font-size: 14.5px;
  border-radius: 10px;
}
.arrow {
  transition: transform 0.2s;
}
a:hover > .arrow {
  transform: translateX(3px);
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  border-bottom: 1px solid var(--rule);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 20%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 20%, #000, transparent 72%);
  opacity: 0.8;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      620px 420px at 86% 8%,
      color-mix(in srgb, var(--blue) 20%, transparent),
      transparent 70%
    ),
    radial-gradient(
      520px 380px at 6% 96%,
      color-mix(in srgb, var(--green) 18%, transparent),
      transparent 70%
    );
}
.eyebrow {
  font: 600 13px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(44px, 6.1vw, 92px);
  line-height: 1.01;
  letter-spacing: -0.04em;
  max-width: 12.5em;
}
html[lang='ko'] .hero h1 {
  font-size: clamp(38px, 6.2vw, 80px);
  letter-spacing: -0.045em;
  max-width: 14em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--dim);
  max-width: 660px;
  margin: 28px 0 36px;
}
.hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr);
  gap: 48px;
  align-items: center;
}
.stack {
  position: relative;
  height: 540px;
}
.stack .frame {
  position: absolute;
  margin: 0;
  box-shadow: 0 30px 80px rgba(10, 12, 18, 0.28);
}
.stack .a {
  top: 0;
  right: 0;
  width: 88%;
}
.stack .b {
  bottom: 0;
  left: 0;
  width: 80%;
  background: #0e1013;
}
.stack .frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}
.stack .b img {
  object-position: 60% center;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font: 500 14px var(--mono);
}
.trust li::before {
  content: '✓ ';
  color: var(--green);
}

/* sections */
.sec {
  padding: 104px 0;
  border-bottom: 1px solid var(--rule);
}
.sec-head {
  max-width: 720px;
  margin: 0 0 52px;
}
.sec-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}
.sec-head p {
  color: var(--dim);
  font-size: 19px;
  margin: 16px 0 0;
}
.pcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.pcard:hover {
  transform: translateY(-5px);
  border-color: var(--acc);
}
.pcard .pic {
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  background: #0e1013;
  display: block;
}
.pcard .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 0.6s;
}
.pcard:hover .pic img {
  transform: scale(1.03);
}
.pcard .body {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ph {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.ph img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.ph h3 {
  font-size: 32px;
}
.ph .tag {
  font: 600 12px var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--acc);
  margin-top: 4px;
}
.pcard p {
  color: var(--dim);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 24px;
  padding: 0;
  list-style: none;
}
.chips li {
  border: 1px solid var(--rule2);
  border-radius: 999px;
  padding: 3px 12px;
  font: 500 13px var(--mono);
  color: var(--dim);
}
.pcard .btns {
  margin-top: auto;
  align-items: center;
}
.link {
  font-weight: 600;
  text-decoration: none;
  color: var(--acc);
  padding: 9px 4px;
}
.link:hover {
  color: var(--acc);
  text-decoration: underline;
}
.is-ai {
  --acc: var(--green);
  --accent-ink: #fff;
}
.is-cad {
  --acc: var(--blue);
  --accent-ink: #fff;
}
html[data-theme='dark'] .is-ai,
html[data-theme='dark'] .is-cad {
  --accent-ink: #0e1013;
}

/* product showcases */
.show .grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
  gap: 72px;
  align-items: center;
}
.show.rev .grid {
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr);
}
.show.rev .txt {
  order: 2;
}
.show h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.show .lead {
  color: var(--dim);
  font-size: 18.5px;
}
.feat {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.feat li {
  position: relative;
  padding-left: 34px;
}
.feat li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--acc) no-repeat center / 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.feat b {
  display: block;
  font-weight: 650;
}
.feat span {
  color: var(--dim);
  font-size: 15.5px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.facts li {
  border: 1px solid var(--rule2);
  border-radius: 8px;
  padding: 3px 11px;
  font: 500 13px var(--mono);
  color: var(--dim);
  background: var(--surface);
}
.frame {
  margin: 0;
  border: 1px solid var(--rule2);
  border-radius: 16px;
  overflow: hidden;
  background: #0e1013;
  box-shadow: var(--shadow);
}
.frame .bar {
  display: flex;
  gap: 7px;
  padding: 11px 14px;
  background: #1b1e25;
  border-bottom: 1px solid #262a33;
}
.frame .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3f4b;
}
.frame .bar i:nth-child(1) {
  background: #ff5f57;
}
.frame .bar i:nth-child(2) {
  background: #febc2e;
}
.frame .bar i:nth-child(3) {
  background: #28c840;
}
.frame img {
  width: 100%;
  height: auto;
}
.frame.plain .bar {
  display: none;
}
figcaption {
  padding: 12px 16px;
  font-size: 14px;
  color: #a4a8b2;
  background: #14171c;
  border-top: 1px solid #262a33;
}

/* principles, table, contact */
.pr {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pr article {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px 26px;
}
.pr .n {
  font: 600 13px var(--mono);
  color: var(--green);
  margin-bottom: 26px;
  display: block;
}
.pr h3 {
  font-size: 23px;
  margin-bottom: 12px;
}
.pr p {
  color: var(--dim);
  font-size: 15.5px;
  margin: 0;
}
.dlnote {
  margin: 16px 0 0;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.5;
  max-width: 52ch;
}
.glance {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 820px;
}
th,
td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
thead th {
  font: 600 12.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  background: var(--sunk);
}
tbody th {
  font-weight: 600;
  width: 22%;
  color: var(--dim);
}
.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: 54px 56px;
}
.contact h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 10px;
}
.contact p {
  margin: 0;
  opacity: 0.75;
}
.contact .btn {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* footer */
footer {
  padding: 70px 0 44px;
}
.cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
footer h4 {
  margin: 0 0 14px;
  font: 600 12.5px var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 15px;
}
footer ul a {
  text-decoration: none;
  color: var(--dim);
}
footer ul a:hover {
  color: var(--ink);
}
footer .about p {
  color: var(--dim);
  font-size: 15px;
  margin: 12px 0 0;
  max-width: 28em;
}
.legal {
  border-top: 1px solid var(--rule);
  padding-top: 26px;
  font-size: 13.5px;
  color: var(--faint);
  display: grid;
  gap: 6px;
}
.legal a {
  color: var(--dim);
}

/* tier cards (not used now) */
.svc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 30px 28px;
}
.tier .tag {
  font: 600 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.tier h3 {
  font-size: 24px;
  margin-bottom: 18px;
}
.tier .price {
  font: 600 clamp(26px, 3vw, 34px) / 1.1 var(--serif);
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
}
html[lang='ko'] .tier .price {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.tier .meta {
  color: var(--dim);
  font-size: 15px;
  margin: 0 0 20px;
}
.tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--dim);
  font-size: 15.5px;
}
.tier li {
  padding-left: 24px;
  position: relative;
}
.tier li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.tier.biz {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.tier.biz .tag {
  color: var(--blue);
}
.tier.corp .tag {
  color: var(--green);
}
.tier.corp {
  border-color: var(--green);
}
.tier.no {
  background: transparent;
  border-style: dashed;
  color: var(--faint);
}
.tier.no h3,
.tier.no p {
  color: var(--faint);
}
.tier.no p {
  margin: 0;
}
.maint {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--sunk);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 26px 30px;
}
.maint h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.maint p {
  margin: 0;
  color: var(--dim);
}
.maint b {
  color: var(--ink);
}
.basis {
  color: var(--faint);
  font-size: 13.5px;
  margin: 22px 0 28px;
  max-width: 880px;
}
@media (max-width: 980px) {
  .svc {
    grid-template-columns: 1fr;
  }
  .maint {
    grid-template-columns: 1fr;
  }
}

.any {
  margin: 26px 0 0;
  font-size: 18px;
  font-weight: 600;
}
.flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.flow div {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 22px 24px;
}
.flow .n {
  display: block;
  font: 600 12.5px var(--mono);
  color: var(--green);
  margin-bottom: 10px;
}
.flow b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.flow p {
  margin: 0;
  color: var(--dim);
  font-size: 15.5px;
}
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  margin-top: 18px;
  padding: 22px 26px;
  border: 1px solid var(--rule);
  border-radius: 18px;
}
.about h3 {
  font-size: 18px;
}
.about ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about li {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.about li b {
  font: 600 24px var(--serif);
  letter-spacing: -0.02em;
}
html[lang='ko'] .about li b {
  font-family: var(--sans);
  font-weight: 750;
}
.about li span {
  color: var(--dim);
  font-size: 15.5px;
}
@media (max-width: 720px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

/* Reading rhythm: preserve Korean words, wrap long tokens, balance headings only. */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
p,
li,
dd,
td,
th,
figcaption,
summary {
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
html:lang(ko) :is(p, li, dd, td, th, figcaption, summary) {
  word-break: keep-all;
}
:is(.txt, .text, .fb-text, .tier, .card, .prod > div) {
  min-width: 0;
}
p + p {
  margin-top: 0.85em;
}

.lede .copy-paragraph {
  display: block;
}
.lede .copy-paragraph + .copy-paragraph {
  margin-top: 0.8em;
}
.feat b {
  margin-bottom: 0.25em;
}
.feat span {
  display: block;
  line-height: 1.75;
}
.tier .meta span {
  display: block;
}
.tier .price {
  line-height: 1.35;
  text-wrap: balance;
}
.maint p + p {
  margin-top: 0.65em;
}
.basis {
  line-height: 1.8;
}
html:lang(ko) .label {
  letter-spacing: 0.02em;
}
@media (max-width: 560px) {
  .hero h1 br,
  .show h2 br {
    display: none;
  }
  .hero h1 {
    line-height: 1.2;
  }
  .tier {
    padding: 26px 22px;
  }
}

/* motion */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
html:not(.js) .rv {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .pcard,
  .btn,
  .pcard .pic img {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero .grid {
    grid-template-columns: 1fr;
  }
  .stack {
    display: none;
  }
}
@media (max-width: 980px) {
  .nav ul {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .show .grid,
  .show.rev .grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .show.rev .txt {
    order: 0;
  }
  .pr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cols {
    grid-template-columns: 1fr 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
}
@media (max-width: 720px) {
  .nav .wrap {
    gap: 10px;
  }
  .tools {
    gap: 6px;
  }
  .brand {
    font-size: 17px;
  }
  .pcards {
    grid-template-columns: 1fr;
  }
  .sec {
    padding: 72px 0;
  }
  .hero {
    padding: 72px 0 60px;
  }
  .pr {
    grid-template-columns: 1fr;
  }
  .cols {
    grid-template-columns: 1fr;
  }
  .lang {
    padding: 5px 9px;
  }
}

/* polish: aurora hero, lifted cards, three-up principles, phone hero picture */
.hero::after {
  animation: aurora 18s ease-in-out infinite alternate;
  background-size: 140% 140%;
}
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}
.hero h1 em {
  background-size: 200% 100%;
  animation: shimmer 9s ease-in-out infinite alternate;
}
@keyframes shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 18%, transparent);
}
.btn.solid:hover {
  box-shadow: 0 12px 32px color-mix(in srgb, var(--blue) 35%, transparent);
}
.trust {
  gap: 10px;
}
.trust li {
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.stack .frame {
  border-radius: 14px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.stack .a {
  animation: floaty 9s ease-in-out infinite alternate;
}
.stack .b {
  animation: floaty 11s ease-in-out -4s infinite alternate-reverse;
}
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}
.stack:hover .frame {
  box-shadow: 0 40px 100px rgba(10, 12, 18, 0.36);
}
.pr {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.pr article {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.pr article::before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pr article:hover {
  transform: translateY(-5px);
  border-color: var(--rule2);
  box-shadow: var(--shadow);
}
.pr article:hover::before {
  opacity: 1;
}
.pcard {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(10, 12, 18, 0.18);
}
.pcard .pic img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.pcard:hover .pic img {
  transform: scale(1.04);
}
.sec.show.is-ai {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--green) 5%, transparent) 40%, transparent);
}
.sec.show.is-cad {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--blue) 6%, transparent) 40%, transparent);
}
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}
.nav {
  transition: box-shadow 0.3s ease;
}
@media (max-width: 1080px) {
  .stack {
    display: block;
    height: auto;
    margin-top: 12px;
  }
  .stack .a {
    position: relative;
    width: 100%;
    animation: none;
  }
  .stack .b {
    display: none;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }
  .hero h1,
  html[lang='ko'] .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }
  .btns {
    flex-direction: column;
    align-items: stretch;
  }
  .btns .btn {
    justify-content: center;
  }
  .trust li {
    font-size: 13px;
    padding: 5px 12px;
  }
  footer,
  .foot {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}
/* contact: just the address */
.inq {
  text-align: center;
  padding: 64px 28px;
  border: 1px solid var(--rule);
  border-radius: 28px;
  background:
    radial-gradient(520px 320px at 100% 0%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, color-mix(in srgb, var(--green) 12%, transparent), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.inq h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.inq p { color: var(--dim); max-width: 36em; margin-left: auto; margin-right: auto; }
.inq .label { color: var(--faint); }
.inq-mail {
  display: inline-block; margin-top: 10px; padding: 14px 28px; border-radius: 999px;
  font: 600 clamp(16px, 2.4vw, 22px) var(--mono); color: #fff; text-decoration: none; word-break: break-all;
  background: linear-gradient(120deg, var(--green), var(--blue));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.inq-mail:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--blue) 35%, transparent); }
@media (max-width: 560px) { .inq { padding: 44px 20px; border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero h1 em,
  .stack .a,
  .stack .b {
    animation: none;
  }
  .pr article,
  .pcard,
  .pcard .pic img {
    transition: none;
  }
}

/* ---- look 3: clean product site. White surfaces, navy text, one blue accent, soft cards. ---- */
:root {
  --paper: #f5f7fb;
  --surface: #ffffff;
  --sunk: #eef2f8;
  --ink: #0b1220;
  --dim: #46506a;
  --faint: #7b86a0;
  --rule: #e2e7f0;
  --rule2: #cdd5e3;
  --green: #0a5cf5;
  --green-wash: #e6efff;
  --blue: #0a5cf5;
  --blue-wash: #e6efff;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 14px 36px rgba(11, 18, 32, 0.08);
  --serif: var(--sans);
}
html[data-theme='dark'] {
  --paper: #090d14;
  --surface: #10161f;
  --sunk: #141b27;
  --ink: #e8edf6;
  --dim: #a9b3c6;
  --faint: #76819a;
  --rule: #1e2736;
  --rule2: #2b3649;
  --green: #5b9bff;
  --green-wash: #112040;
  --blue: #5b9bff;
  --blue-wash: #112040;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 14px 36px rgba(0, 0, 0, 0.4);
}
h1, h2, h3 { font-family: var(--sans); font-weight: 750; letter-spacing: -0.03em; }
.nav { background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.nav ul a { font-weight: 600; white-space: nowrap; }
@media (max-width: 1180px) {
  .nav ul { display: none; }
  .menu-toggle { display: grid; }
}
.hero { padding: 104px 0 88px; border-bottom: 1px solid var(--rule); background: var(--surface); }
.hero::before { display: none; }
.hero::after {
  background:
    radial-gradient(640px 380px at 88% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, color-mix(in srgb, var(--blue) 8%, transparent), transparent 70%);
}
.hero h1 { font-weight: 780; letter-spacing: -0.045em; line-height: 1.04; }
.hero h1 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue); }
.eyebrow, .label {
  display: inline-block;
  font: 650 12.5px/1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--blue);
  background: var(--blue-wash);
  padding: 7px 12px;
  border-radius: 999px;
}
.lede { color: var(--dim); }
.sec { border-bottom: 1px solid var(--rule); }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.pcard, .frame, .glance, .pr article, .inq {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.pcard { overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--blue) 40%, var(--rule)); box-shadow: 0 2px 4px rgba(11, 18, 32, 0.06), 0 22px 48px rgba(10, 92, 245, 0.14); }
.pcard .pic { background: var(--sunk); border-bottom: 1px solid var(--rule); }
.frame { overflow: hidden; }
.frame .bar { background: var(--sunk); border-bottom: 1px solid var(--rule); }
.btn { border: 1px solid var(--rule2); border-radius: 12px; font-weight: 650; background: var(--surface); color: var(--ink); }
.btn:hover { border-color: var(--blue); color: var(--blue); background: var(--surface); }
.btn.solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.acc { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.acc:hover { background: color-mix(in srgb, var(--blue) 88%, #000); border-color: transparent; color: #fff; }
html[data-theme='dark'] .btn.acc, html[data-theme='dark'] .btn.acc:hover { color: #06101f; }
.chips li, .trust li { border: 1px solid var(--rule2); border-radius: 999px; background: var(--surface); font-weight: 600; }
.sec.show.is-ai, .sec.show.is-cad { background: var(--surface); }
.sec.show.rev { background: var(--paper); }
.glance table thead th { background: var(--sunk); color: var(--dim); }
.pr .n { color: var(--blue); font-family: var(--mono); font-weight: 700; }
.inq-mail { color: var(--blue); font-weight: 750; }
.feat li::marker, .feat b { color: var(--ink); }
footer { background: #0b1220; color: #e8edf6; border-top: 0; }
footer a, footer ul a, footer h4, footer p, footer .legal, footer .legal a, footer .about p, footer .brand { color: #e8edf6; }
footer h4 { opacity: 0.6; }
footer .about { border: 0; background: none; padding: 0; border-radius: 0; box-shadow: none; }
footer ul a:hover { color: #7db0ff; }
footer .legal { opacity: 0.7; border-top-color: rgba(232, 237, 246, 0.14); }

/* ---- look 4: Gabia-style. Dark glowing hero, floating quick bar, bento product cards, centred headings. ---- */
.hero {
  background:
    radial-gradient(56% 70% at 50% 0%, rgba(64, 108, 255, 0.55), transparent 64%),
    radial-gradient(38% 55% at 78% 22%, rgba(120, 84, 255, 0.32), transparent 70%),
    #050816;
  color: #fff;
  text-align: center;
  padding: 96px 0 150px;
  border-bottom: 0;
}
.hero::after { display: none; }
.hero .grid { grid-template-columns: 1fr; gap: 56px; justify-items: center; }
.hero h1 { color: #fff; margin-inline: auto; max-width: 14em; font-size: clamp(40px, 6vw, 74px); }
html[lang='ko'] .hero h1 { max-width: 15em; font-size: clamp(36px, 5.6vw, 66px); }
.hero h1 em { color: #8db3ff; }
.hero .eyebrow { background: rgba(255, 255, 255, 0.12); color: #cddcff; }
.hero .lede { color: #c2cce4; margin: 24px auto 34px; }
.hero .btns { justify-content: center; }
.hero .btn { background: transparent; border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.hero .btn:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.hero .btn.solid { background: linear-gradient(135deg, #2f6bff, #5a4bff); border-color: transparent; color: #fff; }
.hero .btn.solid:hover { filter: brightness(1.1); background: linear-gradient(135deg, #2f6bff, #5a4bff); color: #fff; }
.hero .trust { justify-content: center; }
.hero .trust li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #cbd6ef; }
.hero .stack { width: min(940px, 100%); height: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.hero .stack .frame { position: static; width: 100%; animation: none; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.12); }
.hero .stack .b { margin-top: 48px; }
.quick-wrap { position: relative; z-index: 3; }
.quick {
  margin-top: -64px;
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: 0 2px 6px rgba(11, 18, 32, 0.06), 0 24px 60px rgba(11, 18, 32, 0.14);
}
.quick-t { font-weight: 750; padding: 0 14px 0 8px; white-space: nowrap; }
.qi { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.qi:hover { background: var(--sunk); color: var(--ink); }
.qi img { width: 40px; height: 40px; border-radius: 10px; }
.qi b { display: block; font-size: 15.5px; line-height: 1.2; }
.qi small { display: block; color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { margin-top: 14px; }
.pcards { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.pcards .pcard:nth-child(1) { grid-column: span 7; }
.pcards .pcard:nth-child(2) { grid-column: span 5; }
.pcards .pcard:nth-child(3) { grid-column: span 5; }
.pcards .pcard:nth-child(4) { grid-column: span 7; }
.pcard { border-radius: 22px; }
.pcards .pcard:nth-child(1), .pcards .pcard:nth-child(4) { background: #0a1230; border-color: #1b2a5c; color: #fff; }
.pcards .pcard:nth-child(1) .pic, .pcards .pcard:nth-child(4) .pic { background: #0a1230; border-bottom-color: #1b2a5c; }
.pcards .pcard:nth-child(1) h3, .pcards .pcard:nth-child(4) h3 { color: #fff; }
.pcards .pcard:nth-child(1) p, .pcards .pcard:nth-child(4) p { color: #b9c5e6; }
.pcards .pcard:nth-child(1) .tag, .pcards .pcard:nth-child(4) .tag { color: #8da2d8; }
.pcards .pcard:nth-child(1) .chips li, .pcards .pcard:nth-child(4) .chips li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #d5def5; }
.pcards .pcard:nth-child(1) .link, .pcards .pcard:nth-child(4) .link { color: #8db3ff; }
.pcards .pcard:nth-child(1) .btn.acc, .pcards .pcard:nth-child(4) .btn.acc { background: linear-gradient(135deg, #2f6bff, #5a4bff); border-color: transparent; color: #fff; }
@media (max-width: 1000px) {
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-t { grid-column: 1 / -1; padding-bottom: 4px; }
  .pcards { grid-template-columns: 1fr; }
  .pcards .pcard:nth-child(n) { grid-column: auto; }
  .hero .stack { grid-template-columns: 1fr; }
  .hero .stack .b { margin-top: 0; }
}
@media (max-width: 560px) {
  .quick { grid-template-columns: 1fr; margin-top: -48px; }
  .hero { padding: 72px 0 120px; }
}

/* ---- hero background animation: drifting glow, rotating light rings, floating particles ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fx .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.hero-fx .b1 { width: 520px; height: 520px; left: 8%; top: -8%; background: radial-gradient(circle, #2f6bff, transparent 68%); animation: drift1 16s ease-in-out infinite alternate; }
.hero-fx .b2 { width: 560px; height: 560px; right: 4%; top: 12%; background: radial-gradient(circle, #7c4dff, transparent 68%); animation: drift2 20s ease-in-out infinite alternate; }
.hero-fx .ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1240px, 130vw);
  aspect-ratio: 1;
  margin: calc(min(1240px, 130vw) / -2) 0 0 calc(min(1240px, 130vw) / -2);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 8%, #2f6bff 22%, #22d3ee 36%, transparent 48%, #8b5cf6 66%, #2f6bff 80%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px), #000 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px), #000 100%);
  filter: blur(1.2px) drop-shadow(0 0 14px rgba(70, 120, 255, 0.8));
  opacity: 0.85;
  animation: spin 38s linear infinite;
  will-change: transform;
}
.hero-fx .r2 { width: min(1020px, 110vw); margin: calc(min(1020px, 110vw) / -2) 0 0 calc(min(1020px, 110vw) / -2); opacity: 0.5; animation: spin 56s linear infinite reverse; }
.hero-fx .r3 { width: min(1480px, 150vw); margin: calc(min(1480px, 150vw) / -2) 0 0 calc(min(1480px, 150vw) / -2); opacity: 0.32; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 90px) scale(1.18); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-130px, 60px) scale(0.92); } }
@media (max-width: 700px) {
  .hero-fx .ring { opacity: 0.6; }
  .hero-fx .blob { filter: blur(50px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fx .ring, .hero-fx .blob { animation: none; }
}

/* ---- ai.gabia.com style: dark by default, a page-long glowing ring, glass cards ---- */
.hero-fx .rings { position: absolute; inset: 0; transform: translateY(calc(var(--sy, 0) * -0.28px)); }
.hero-fx .ring { filter: blur(1.4px) drop-shadow(0 0 22px rgba(70, 120, 255, 0.95)) drop-shadow(0 0 60px rgba(120, 90, 255, 0.45)); opacity: 1; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 100%); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px), #000 100%); }
.hero-fx .r2 { opacity: 0.65; }
.hero-fx .r3 { opacity: 0.4; }
html[data-theme='dark'] { --paper: #050816; --surface: rgba(14, 22, 46, 0.62); --sunk: rgba(20, 30, 62, 0.55); --rule: rgba(110, 150, 255, 0.16); --rule2: rgba(110, 150, 255, 0.3); }
html[data-theme='dark'] body { background: #050816; }
html[data-theme='dark'] .hero-fx { position: fixed; z-index: 0; }
html[data-theme='dark'] .hero { background: transparent; }
html[data-theme='dark'] main > section, html[data-theme='dark'] .sec, html[data-theme='dark'] .sec.show.rev, html[data-theme='dark'] .sec.show.is-ai, html[data-theme='dark'] .sec.show.is-cad { background: transparent; position: relative; z-index: 1; border-color: var(--rule); }
html[data-theme='dark'] .quick-wrap { z-index: 3; }
html[data-theme='dark'] .nav { background: rgba(5, 8, 22, 0.72); }
html[data-theme='dark'] .pcard, html[data-theme='dark'] .frame, html[data-theme='dark'] .glance, html[data-theme='dark'] .pr article, html[data-theme='dark'] .inq, html[data-theme='dark'] .quick {
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--rule2);
  box-shadow: 0 0 0 1px rgba(80, 120, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.45);
}
html[data-theme='dark'] .pcards .pcard:nth-child(n) { background: var(--surface); border-color: var(--rule2); }
html[data-theme='dark'] .pcards .pcard:nth-child(1), html[data-theme='dark'] .pcards .pcard:nth-child(4) { background: rgba(10, 22, 62, 0.7); border-color: rgba(90, 130, 255, 0.45); }
html[data-theme='dark'] .pcards .pcard:nth-child(2) h3, html[data-theme='dark'] .pcards .pcard:nth-child(3) h3 { color: var(--ink); }
html[data-theme='dark'] .pcard:hover { border-color: rgba(120, 160, 255, 0.7); box-shadow: 0 0 40px rgba(60, 110, 255, 0.28), 0 24px 60px rgba(0, 0, 0, 0.5); }
html[data-theme='dark'] .glance table thead th { background: rgba(60, 100, 220, 0.14); color: var(--dim); }
html[data-theme='dark'] .btn { background: rgba(255, 255, 255, 0.04); border-color: var(--rule2); color: var(--ink); }
html[data-theme='dark'] .btn.acc, html[data-theme='dark'] .btn.solid { background: linear-gradient(135deg, #2f6bff, #5a4bff); border-color: transparent; color: #fff; }
html[data-theme='dark'] .qi:hover { background: rgba(80, 120, 255, 0.12); }
html[data-theme='dark'] .label, html[data-theme='dark'] .eyebrow { background: rgba(70, 110, 255, 0.16); color: #9cb9ff; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(940px, 100%); margin: 44px auto 0; }
.st { padding: 22px 20px 20px; border-radius: 16px; background: rgba(14, 22, 46, 0.55); border: 1px solid rgba(110, 150, 255, 0.26); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-align: center; }
.st small { display: block; font: 700 12px/1 var(--mono); letter-spacing: 0.08em; color: #6ea0ff; margin-bottom: 12px; }
.st b { display: block; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; color: #fff; letter-spacing: -0.02em; }
.st span { display: block; margin-top: 8px; color: #b6c2e0; font-size: 15px; }
@media (max-width: 700px) { .stats3 { grid-template-columns: 1fr; } }

