.tool-tabs {
  grid-template-columns: repeat(4, 1fr);
}

.field-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.keyword-frame-wrap {
  height: 620px;
}

.keyword-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 1357px;
  transform: translateY(-585px);
}

.rate-sources {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.rate-sources a {
  padding: 6px 8px;
  border: 1px solid #ffffff18;
  border-radius: 7px;
  color: #cbd9da;
  font-size: 8px;
}

.rate-sources a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.campaign-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7a8783;
  font-size: 8px;
}

.campaign-updated b {
  padding: 5px 7px;
  border-radius: 99px;
  background: #e6f5ef;
  color: #1e735e;
  font-size: 8px;
}

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

.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 222px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  animation: cardRise .55s cubic-bezier(.2,.8,.2,1) backwards;
  animation-delay: calc(var(--card) * 45ms);
  transition: .25s;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: #f46f6173;
  box-shadow: 0 12px 30px #18363b12;
}

.benefit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.benefit-card-top span {
  color: #77837f;
  font-size: 8px;
  font-weight: 700;
}

.benefit-card-top b {
  padding: 5px 7px;
  border-radius: 99px;
  background: #fff0ec;
  color: var(--coral);
  font: 800 8px Manrope;
}

.benefit-card h4 {
  margin: 17px 0 7px;
  font-size: 14px;
}

.benefit-card > p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
}

.benefit-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.benefit-meta span {
  color: #60706c;
  font-size: 8px;
}

.benefit-card em {
  color: #33836d;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.benefit-card > small {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #edf0ed;
  color: var(--coral);
  font-size: 8px;
  font-weight: 900;
}

.benefit-rank {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 11px;
  border-radius: 0 15px 0 13px;
  background: #17343b;
  color: #fff;
  font: 800 8px Manrope;
  letter-spacing: .8px;
}

.benefit-card.featured {
  border-color: #f1b35c66;
  background: linear-gradient(145deg, #fffdf8, #fff7ed);
  box-shadow: 0 12px 30px #f1b35c14;
}

.benefit-card.featured .benefit-rank {
  background: linear-gradient(135deg, var(--coral), #f0a145);
}

.result-card {
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  pointer-events: none;
  background: radial-gradient(circle, #f2bb6830, transparent 33%);
  opacity: .55;
  animation: ambientGlow 7s ease-in-out infinite alternate;
}

.analysis-loader {
  position: relative;
  z-index: 1;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.analysis-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
}

.analysis-orbit::before,
.analysis-orbit::after,
.analysis-orbit i {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.analysis-orbit::before {
  inset: 0;
  border: 1px solid #ffffff22;
}

.analysis-orbit::after {
  inset: 7px;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--coral);
  animation: orbitSpin 1.1s linear infinite;
}

.analysis-orbit i {
  width: 8px;
  height: 8px;
  top: 2px;
  left: 35px;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

.analysis-orbit b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ffffff10;
  color: #fff;
  font: 800 11px Manrope;
  letter-spacing: 1px;
}

.analysis-loader h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.analysis-loader p {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

.analysis-loader p span {
  padding: 6px 8px;
  border: 1px solid #ffffff12;
  border-radius: 99px;
  color: #9fb5b8;
  font-size: 8px;
  animation: chipPulse 1.5s ease-in-out infinite;
  animation-delay: calc(var(--step) * 160ms);
}

.analysis-progress {
  width: min(230px, 72%);
  height: 4px;
  margin: 22px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #ffffff12;
}

.analysis-progress i {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  animation: progressScan .8s ease-in-out infinite alternate;
}

.analysis-loader small {
  color: #86a0a4;
  font-size: 8px;
}

.result-reveal {
  position: relative;
  z-index: 1;
}

.result-reveal > * {
  opacity: 0;
  transform: translateY(14px);
  animation: resultRise .55s cubic-bezier(.2,.8,.2,1) forwards;
}

.result-reveal > *:nth-child(2) { animation-delay: 90ms; }
.result-reveal > *:nth-child(3) { animation-delay: 160ms; }
.result-reveal > *:nth-child(4) { animation-delay: 230ms; }
.result-reveal > *:nth-child(5) { animation-delay: 300ms; }
.result-reveal > *:nth-child(6) { animation-delay: 360ms; }

.diagnostic-row i {
  transform-origin: left;
  animation: barGrow .8s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: 240ms;
}

.rate-summary strong {
  background: linear-gradient(90deg, var(--gold), #fff2c9, var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShine 2.6s linear infinite;
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes progressScan { from { transform: translateX(-15%); } to { transform: translateX(135%); } }
@keyframes chipPulse { 0%,100% { color:#789095; border-color:#ffffff12; } 50% { color:#fff; border-color:#f2bb6855; } }
@keyframes resultRise { to { opacity:1; transform:translateY(0); } }
@keyframes barGrow { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes goldShine { to { background-position:200% center; } }
@keyframes ambientGlow { from { transform:translate3d(-8%,0,0) scale(.95); } to { transform:translate3d(8%,4%,0) scale(1.08); } }
@keyframes cardRise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .analysis-orbit::after,
  .analysis-loader p span,
  .analysis-progress i,
  .result-card::before,
  .result-reveal > *,
  .diagnostic-row i,
  .rate-summary strong,
  .benefit-card {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Installable creator lab */
.header-actions{display:flex;align-items:center;gap:10px}.install-app-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 14px;border:1px solid #16474d24;border-radius:999px;color:var(--ink);background:#fffaf0;font:800 10px Manrope, sans-serif;letter-spacing:-.02em;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}.install-app-button span{color:var(--coral);font-size:16px;line-height:1}.install-app-button:hover,.install-app-button.ready{border-color:#f26b5f77;box-shadow:0 8px 22px #163f4514;transform:translateY(-1px)}.install-app-button.ready:after{content:"설치 가능";padding:3px 6px;border-radius:999px;color:#fff;background:var(--coral);font-size:7px;letter-spacing:0}.install-guide[hidden]{display:none}.install-guide{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px}.install-guide-backdrop{position:absolute;inset:0;border:0;background:#08292fd9;backdrop-filter:blur(7px);cursor:pointer}.install-guide-card{position:relative;z-index:1;width:min(430px,100%);padding:36px;border:1px solid #ffffff22;border-radius:28px;background:var(--cream);box-shadow:0 30px 90px #001a2066}.install-guide-close{position:absolute;right:17px;top:15px;width:36px;height:36px;border:0;border-radius:50%;color:var(--muted);background:#fff;font-size:25px;cursor:pointer}.install-guide-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:22px;border-radius:19px;color:#fff;background:linear-gradient(145deg,var(--coral),#ff9b78);box-shadow:0 12px 25px #f26b5f40;font:900 17px Manrope}.install-guide-card h2{margin:0;font-size:clamp(34px,8vw,48px);line-height:1.05;letter-spacing:-.055em}.install-guide-card>p:not(.eyebrow){margin:18px 0 0;color:var(--muted);font-size:13px;line-height:1.7}.install-guide-card ol{display:grid;gap:9px;margin:22px 0;padding:0;counter-reset:install-step;list-style:none}.install-guide-card li{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:11px;line-height:1.45}.install-guide-card li:before{counter-increment:install-step;content:counter(install-step);display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#fff;background:var(--navy);font:800 9px Manrope}.install-guide-open{overflow:hidden}
@media(max-width:700px){.site-header{padding-left:14px;padding-right:14px}.header-actions{gap:6px}.install-app-button{padding:0 10px;font-size:0}.install-app-button span{font-size:18px}.install-app-button:after{content:"홈 추가";font-size:9px}.install-app-button.ready:after{content:"설치 가능";font-size:7px}.header-cta{padding-left:12px;padding-right:12px}.install-guide{align-items:end;padding:10px}.install-guide-card{box-sizing:border-box;padding:31px 22px 22px;border-radius:25px}.install-guide-card h2{font-size:38px}}

/* Gift landing hero */
.gift-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:.82fr 1.18fr;gap:6vw;align-items:center;min-height:720px;padding:82px max(24px,calc((100vw - 1180px)/2));overflow:hidden;color:#fff;background:linear-gradient(138deg,#102f3b 0%,#173f4e 52%,#1d4a55 100%)}.gift-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 12% 18%,#f8c85c33,transparent 25%),radial-gradient(circle at 88% 86%,#f45d5238,transparent 30%)}.gift-hero-orbit{position:absolute;z-index:-1;border:1px solid #ffffff1a;border-radius:50%}.gift-hero-orbit-one{width:420px;height:420px;left:-170px;bottom:-240px}.gift-hero-orbit-two{width:630px;height:630px;right:-350px;top:-360px}.gift-hero-copy{max-width:590px}.gift-hero-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 22px;color:#c1d6db;font:800 11px Manrope,sans-serif;letter-spacing:.11em}.gift-hero-eyebrow span{padding:6px 9px;border-radius:8px;color:#173f4e;background:var(--gold);font-size:9px}.gift-hero h1{margin:0;font-size:clamp(58px,6.8vw,104px);line-height:.96;letter-spacing:-.065em}.gift-hero h1 em{color:var(--gold);font-style:normal}.gift-hero-copy>p:not(.gift-hero-eyebrow){max-width:540px;margin:30px 0 0;color:#d5e1e4;font-size:15px;line-height:1.8}.gift-hero-actions{display:grid;justify-items:start;gap:13px;margin-top:32px}.gift-hero-button{display:inline-flex;align-items:center;gap:24px;padding:17px 22px;border-radius:15px;color:#183d4b;background:var(--gold);box-shadow:0 14px 30px #0000002e;font-weight:900;text-decoration:none;transition:transform .22s,box-shadow .22s}.gift-hero-button span{font:800 20px Manrope}.gift-hero-button:hover{transform:translateY(-3px);box-shadow:0 19px 38px #0000003d}.gift-hero-actions small{color:#9eb7bd;font-size:9px}.gift-hero-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:720px}.gift-hero-tools article{position:relative;min-height:245px;padding:26px;border:1px solid #ffffff21;border-radius:24px;background:#ffffff13;box-shadow:inset 0 1px #ffffff14;backdrop-filter:blur(9px);transition:transform .22s,background .22s}.gift-hero-tools article:hover{transform:translateY(-4px);background:#ffffff1c}.gift-hero-tools article:nth-child(1),.gift-hero-tools article:nth-child(4){transform:translateY(18px)}.gift-hero-tools article:nth-child(1):hover,.gift-hero-tools article:nth-child(4):hover{transform:translateY(14px)}.gift-hero-tools b{position:absolute;right:20px;top:17px;color:#ffffff29;font:800 42px Manrope}.gift-hero-tools span{color:var(--gold);font:800 9px Manrope;letter-spacing:.1em}.gift-hero-tools h2{margin:37px 0 15px;color:#fff;font-size:31px;line-height:1.08;letter-spacing:-.05em}.gift-hero-tools p{margin:0;color:#b8ccd1;font-size:11px;line-height:1.55}
@media(max-width:760px){.gift-hero{grid-template-columns:1fr;gap:42px;min-height:0;padding:68px 18px 82px}.gift-hero h1{font-size:clamp(50px,15vw,70px)}.gift-hero-copy>p:not(.gift-hero-eyebrow){font-size:14px;line-height:1.75}.gift-hero-button{width:100%;justify-content:space-between;box-sizing:border-box}.gift-hero-actions small{line-height:1.55}.gift-hero-tools{gap:9px}.gift-hero-tools article{min-height:198px;padding:20px;border-radius:19px}.gift-hero-tools article:nth-child(1),.gift-hero-tools article:nth-child(4){transform:none}.gift-hero-tools article:nth-child(1):hover,.gift-hero-tools article:nth-child(4):hover{transform:translateY(-4px)}.gift-hero-tools b{right:15px;top:13px;font-size:33px}.gift-hero-tools h2{margin-top:31px;font-size:25px}.gift-hero-tools p{font-size:10px}}
@media(max-width:370px){.gift-hero-tools{grid-template-columns:1fr}.gift-hero-tools article{min-height:160px}.gift-hero-tools h2 br{display:none}}

/* Toss-inspired clean layout */
body{background:#f4f6f8;color:#191f28}.site-header{height:72px;border-bottom:1px solid #0000000a;background:#ffffffed;box-shadow:0 1px 0 #00000008}.brand-mark{background:#3182f6}.header-cta{background:#191f28}.install-app-button{border-color:#e5e8eb;background:#fff;color:#333d4b}.install-app-button span{color:#3182f6}
.gift-hero{grid-template-columns:.9fr 1.1fr;gap:72px;min-height:650px;padding:86px max(24px,calc((100vw - 1180px)/2)) 96px;color:#191f28;background:radial-gradient(circle at 8% 5%,#e8f3ff 0,transparent 34%),linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}.gift-hero:before{display:none}.gift-hero-orbit{display:none}.gift-hero-eyebrow{color:#3182f6;font-size:10px;letter-spacing:.08em}.gift-hero-eyebrow span{color:#fff;background:#3182f6}.gift-hero h1{font-size:clamp(58px,6.5vw,92px);line-height:1;letter-spacing:-.07em}.gift-hero h1 em{color:#3182f6}.gift-hero-copy>p:not(.gift-hero-eyebrow){margin-top:28px;color:#6b7684;font-size:16px;line-height:1.78}.gift-hero-actions{margin-top:30px}.gift-hero-button{color:#fff;background:#3182f6;box-shadow:none}.gift-hero-button:hover{background:#1b64da;box-shadow:0 12px 28px #3182f62b}.gift-hero-actions small{color:#8b95a1}.gift-hero-tools{gap:14px}.gift-hero-tools article,.gift-hero-tools article:nth-child(1),.gift-hero-tools article:nth-child(4){min-height:210px;padding:24px;border:1px solid #e8ebed;border-radius:24px;background:#fff;box-shadow:0 12px 32px #1c243014;transform:none;backdrop-filter:none}.gift-hero-tools article:hover,.gift-hero-tools article:nth-child(1):hover,.gift-hero-tools article:nth-child(4):hover{background:#fff;box-shadow:0 18px 42px #1c24301f;transform:translateY(-4px)}.gift-hero-tools article:first-child{border-color:#3182f6;background:#3182f6}.gift-hero-tools article:first-child:hover{background:#3182f6}.gift-hero-tools b{color:#dbe7f5}.gift-hero-tools span{color:#3182f6}.gift-hero-tools h2{margin-top:32px;color:#191f28;font-size:30px}.gift-hero-tools p{color:#8b95a1;font-size:11px}.gift-hero-tools article:first-child b{color:#ffffff38}.gift-hero-tools article:first-child span{color:#c9e0ff}.gift-hero-tools article:first-child h2{color:#fff}.gift-hero-tools article:first-child p{color:#d9e9ff}
.tools-section{position:relative;padding-top:112px;background:#fff}.section-heading{margin-bottom:32px}.section-heading h2{color:#191f28;font-size:44px}.section-heading>p{color:#6b7684;font-size:13px}.tool-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:6px;border-radius:18px;background:#f2f4f6}.tool-tabs button{min-height:72px;border-radius:13px;color:#6b7684}.tool-tabs button[aria-selected=true]{color:#191f28;box-shadow:0 4px 16px #191f2812}.tool-tabs button[aria-selected=true]>b{color:#3182f6}.tool-panel{margin-top:20px;border-color:#eef0f2;border-radius:26px;box-shadow:0 16px 50px #191f2812}.tool-number{background:#3182f6}.primary{background:#3182f6;box-shadow:none}.primary:hover{background:#1b64da}.form-card input:focus,.form-card select:focus,.mini-tool input:focus{border-color:#3182f6;box-shadow:0 0 0 3px #3182f617}.result-card{background:#191f28}.field-grid>label:last-child:nth-child(odd){grid-column:1/-1}.coral{color:#3182f6}.benefit-card{padding-top:18px}.benefit-card-top{margin-top:31px}.benefit-rank{top:14px;right:auto;left:18px;padding:6px 9px;border-radius:999px;background:#333d4b;letter-spacing:.4px}.benefit-card.featured .benefit-rank{background:#3182f6}.benefit-card-top b{position:relative;z-index:1}.benefit-card:hover{border-color:#3182f673}.benefit-card>small{color:#3182f6}
@media(max-width:760px){.site-header{height:66px}.gift-hero{grid-template-columns:1fr;gap:38px;min-height:0;padding:56px 20px 72px}.gift-hero h1{font-size:clamp(48px,14vw,66px)}.gift-hero-copy>p:not(.gift-hero-eyebrow){font-size:14px}.gift-hero-tools{gap:10px}.gift-hero-tools article,.gift-hero-tools article:nth-child(1),.gift-hero-tools article:nth-child(4){min-height:176px;padding:19px;border-radius:20px}.gift-hero-tools h2{margin-top:26px;font-size:24px}.gift-hero-tools b{font-size:31px}.tools-section{padding-top:76px}.section-heading h2{font-size:36px}.tool-tabs{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));overflow-x:auto;scroll-snap-type:x mandatory}.tool-tabs button{scroll-snap-align:start}.tool-panel{margin-top:16px;border-radius:22px}.benefit-card-top{margin-top:29px}}

@media (max-width: 960px) {
  .tool-tabs {
    grid-template-columns: repeat(4, 170px);
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .keyword-frame-wrap {
    height: 650px;
  }
}

@media (max-width: 640px) {
  .field-grid.three,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .keyword-frame-wrap {
    height: 680px;
  }

  .keyword-frame-wrap iframe {
    width: 1093px;
    transform: translate(-24px, -585px);
  }
}
