/* The 「우리 업체 무료 분석 리포트」 banner — shared by og-report.html (the OG image, 1200 × 630, confirmed 11-21) and the
   live banner on the contact page and at the bottom of the landing page (.rb, at the end of this file; og-report.html sets
   its own fixed layout). The look: the blue background
   with the site's grain, the white copy, the faint logo, and the report card (logo top right, four figures, the last 30
   days drawn like the console's company chart). report.js fills the logos, the score ring and the chart. */
.rpt-bg { position: relative; isolation: isolate; overflow: hidden; color: #FFFFFF;
  --rpt-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(23, 63, 186, .55) 0%, rgba(23, 63, 186, 0) 70%),
    linear-gradient(120deg, #2B5CFF 0%, #2F86F7 48%, #33CBEF 100%); }
/* the grain, as on the hero and the feature cards */
.rpt-bg::before, .rpt-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--rpt-grain); background-size: 220px 220px; }
.rpt-bg::before { mix-blend-mode: soft-light; opacity: 1; }
.rpt-bg::after { background-position: 110px 70px; opacity: .1; }

/* one column that never grows past the banner: an auto column would widen to the field's default width, which follows
   the font — a phone font with wide letters pushed the text, the field and the button off the banner (user's phone, 11-21) */
.rpt-copy { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
.rpt-copy .s { font-weight: 700; letter-spacing: -0.02em; color: rgba(255, 255, 255, .86); }
.rpt-copy .h { margin: 6px 0 0; font-weight: 800; line-height: 1.2; letter-spacing: -0.04em; white-space: nowrap; color: #FFFFFF; }
.rpt-copy .d { line-height: 1.6; letter-spacing: -0.02em; color: rgba(255, 255, 255, .9); }
.rpt-brand { position: absolute; color: #FFFFFF; opacity: .55; }
.rpt-brand svg, .rpt-logo svg { display: block; width: 100%; height: auto; }

/* the report card; it runs off the bottom edge (no bottom margin) */
.rpt-paper { container-type: inline-size; padding: 28px 30px 0; border-radius: 20px 20px 0 0; background: var(--surface); color: var(--fg);
  box-shadow: 0 2px 4px rgba(10, 30, 90, .08), 0 28px 64px rgba(10, 30, 90, .28); }
.rpt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--fg); }
.rpt-head b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); }
.rpt-head small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--fg-3); }
.rpt-logo { flex: none; width: 104px; margin-top: 4px; color: var(--accent); }
.rpt-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
/* a column, so every value sits on the tile's bottom line whatever the caption's length; the values follow the card's
   width (cqi — at the OG image's 564px content width they are 26 and 19px) */
.rpt-kpi { display: flex; flex-direction: column; min-height: 118px; padding: 13px 14px 12px; border-radius: 12px; background: var(--bg-subtle); }
.rpt-kpi .t { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-2); }
.rpt-kpi .c { margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: var(--fg-4); }
.rpt-kpi .v { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: clamp(17px, 4.6cqi, 26px); font-weight: 800; letter-spacing: -0.03em; color: var(--fg); font-variant-numeric: tabular-nums; }
.rpt-kpi .v.sm { font-size: clamp(13px, 3.37cqi, 19px); }
.rpt-kpi .v svg { flex: none; width: 26px; height: 26px; }
.rpt-chart { margin-top: 18px; }
.rpt-chart-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-2); }
.rpt-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; font-weight: 500; color: var(--fg-3); }
.rpt-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; }
.rpt-legend i.w { width: 10px; height: 10px; }
.rpt-legend i.b { width: 14px; height: 9px; border-radius: 2px; background: rgba(15, 23, 41, .08); }
.rpt-chart svg { display: block; width: 100%; height: auto; margin-top: 6px; }
.rpt-chart text { font-family: var(--font-sans); font-variant-numeric: tabular-nums; }
/* a card narrower than the OG image's (564px inside): tighter tiles; narrower still (tablets, phones): two rows of two */
@container (max-width: 560px) {
  .rpt-kpi { padding-inline: 12px; }
}
@container (max-width: 520px) {
  .rpt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpt-kpi { min-height: 96px; }
}
/* the live banner (contact page · landing page, drawn by report.js) — live so nothing has to load. Desktop: the copy in
   the left two fifths, the card from 40% running off the bottom edge; 960px and below: stacked, the card cut at a height */
.rb { display: grid; grid-template-columns: 2fr 3fr; min-height: 560px; border-radius: var(--r-xl); box-shadow: 0 1px 2px rgba(15, 23, 41, .05), 0 12px 32px rgba(15, 23, 41, .08); }
.rb .rpt-copy { padding: 48px 24px 120px clamp(28px, 5vw, 64px); }
.rb .rpt-copy .s { font-size: clamp(20px, 2.2vw, 26px); }
.rb .rpt-copy .h { font-size: clamp(34px, 4vw, 48px); }
.rb .rpt-copy .d { margin-top: 18px; max-width: 24em; font-size: clamp(16px, 1.6vw, 19px); }
.rb .rpt-brand { left: clamp(28px, 5vw, 64px); bottom: 40px; width: 130px; }
.rb .rpt-paper { position: absolute; top: 64px; bottom: -40px; left: calc(40% + 24px); width: min(640px, calc(60% - 64px)); }
/* the 사업자등록번호 box: white field, dark button (the blue button would vanish on the blue) */
.rb-form { margin-top: 28px; max-width: 440px; }
.rb-row { display: flex; gap: 8px; }
.rb-inp { flex: 1; width: 100%; min-width: 0; height: 52px; padding: 0 16px; border: 0; border-radius: 10px; background: #FFFFFF; color: var(--fg); font: inherit; font-size: 17px; font-variant-numeric: tabular-nums; box-shadow: 0 6px 18px rgba(10, 30, 90, .18); }
.rb-inp::placeholder { color: var(--fg-4); }
.rb-inp:focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 2px; }
.rb-go { --h: 52px; flex: none; padding: 0 22px; border-radius: 10px; background: var(--fg); color: #FFFFFF; font-size: 17px; }
.rb-go:hover { background: #1B2540; }
.rb-go:active { background: #000000; }
.rb-go:focus-visible { outline-color: rgba(255, 255, 255, .75); }
.rb-err { min-height: 22px; margin-top: 8px; font-size: 14px; font-weight: 600; color: #FFFFFF; }
@media (max-width: 960px) {
  .rb { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rb .rpt-copy { padding: 40px 28px 28px; }
  .rb .rpt-brand { display: none; }
  .rb .rpt-paper { position: relative; top: auto; bottom: auto; left: auto; justify-self: center; width: calc(100% - 56px); max-width: 600px; height: 340px; overflow: hidden; margin: 8px 28px 0; }
}
@media (max-width: 560px) {
  .rb { border-radius: var(--r-lg); }
  .rb .rpt-copy { padding: 32px 20px 24px; }
  .rb .rpt-paper { width: calc(100% - 32px); height: 300px; margin: 4px 16px 0; padding: 20px 18px 0; }
  .rb-row { flex-direction: column; }
  .rb-inp { flex: none; } /* in a column flex: 1 would size the height from 0 and squash the field */
}
