/* Spacious presentation: readable type, large product screens and visible motion. */
:root { --max: 1280px; --page-gutter: 16px; --header-inset: 24px; --footer-gutter: 32px; }
/* Match rictax.kr's 80rem outer frame and responsive inner padding. */
.container { width: calc(min(100%, var(--max)) - 2 * var(--page-gutter)); }
.site-footer.container { width: calc(min(100%, var(--max)) - 2 * var(--footer-gutter)); }
@media (min-width: 640px) {
  :root { --page-gutter: 24px; --footer-gutter: 40px; }
}
@media (min-width: 1024px) {
  :root { --page-gutter: 32px; --header-inset: 32px; --footer-gutter: 48px; }
}
@media (min-width: 1280px) {
  :root { --footer-gutter: 64px; }
}
.section { padding-block: 144px; }
.site-header {
  height: 104px; gap: 28px;
  padding-inline: calc(max(0px, (100% - var(--max)) / 2) + var(--page-gutter) + var(--header-inset));
}
.site-header.fixed { height: 88px; }
body .site-header .desktop-nav, body .site-header .mobile-nav a { font-size: 20px; }
.desktop-nav { gap: 30px; }
.desktop-nav a { white-space: nowrap; }
.brand img { width: 140px; height: 44px; }
.button { min-height: 64px; padding: 17px 28px; }
.button-small { min-height: 52px; padding: 11px 20px; }
.mobile-nav { top: 100%; }

.hero { height: auto; min-height: min(960px, 100svh); padding-top: 104px; }
.hero-inner {
  height: auto; min-height: 720px; padding-block: 100px 90px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center; gap: 56px;
}
.hero-copy { padding: 0; min-width: 0; }
body .hero .hero-eyebrow { align-items: flex-start; letter-spacing: .02em; text-transform: none; }
.hero-eyebrow .eyebrow-line { flex-shrink: 0; margin-top: .875em; }
.hero-eyebrow-copy { min-width: 0; }
.hero-eyebrow-copy>span { display: inline-block; max-width: 100%; }
@media (min-width: 1201px) {
  .hero-copy h1 { width: calc(100% + 32px); }
}
.hero-buttons { flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-description { margin-top: 32px; }
.hero-bottom { height: auto; min-height: 128px; gap: 32px; padding-block: 32px; }
.hero-bottom-label { display: block; white-space: nowrap; }
.hero-bottom>div { gap: 32px; }
.hero-bottom>div>span { display: flex; align-items: center; gap: 12px; }
.hero-bottom b { margin-left: 0; white-space: nowrap; }
body .hero .hero-bottom .hero-bottom-label { font-size: 1.625rem; font-weight: 650; line-height: 1.5; }
body .hero .hero-bottom>div>span { font-size: 1.375rem; font-weight: 600; line-height: 1.5; }
body .hero .hero-bottom b { font-size: 2rem; font-weight: 750; line-height: 1.5; letter-spacing: -.025em; }
.hero-float {
  position: relative; inset: auto; width: min(520px, 100%); margin: 0 12px 30px 0;
  justify-self: end; align-self: end; padding: 36px; border-radius: 28px;
  transform: translateY(-6px) rotate(-5deg);
  animation: floatWide 8s ease-in-out infinite;
  box-shadow: 0 30px 90px #134b3830, inset 0 1px 0 #fff;
}
body .hero .hero-float .float-label, body .hero-float .float-pills span { font-size: 18px; }
.float-label { gap: 14px; }
.float-label img { width: 34px; height: 34px; flex-shrink: 0; }
body .hero-float .float-main { font-size: 30px; line-height: 1.6; margin-block: 28px; }
.float-main .system-intro-emphasis { color: #00796b; font-weight: 800; white-space: nowrap; }
.float-pills { gap: 10px; }
.float-pills span { padding: 9px 13px; border-radius: 10px; }
.hero-float:hover { animation-play-state: paused; }
@keyframes floatWide {
  0%, 100% { transform: translate(0, -6px) rotate(-5deg); }
  25% { transform: translate(10px, -24px) rotate(-1deg); }
  50% { transform: translate(-8px, -42px) rotate(3deg); }
  75% { transform: translate(-14px, -18px) rotate(0deg); }
}
@keyframes floatCompact {
  0%, 100% { transform: translateY(6px) rotate(-2deg); }
  50% { transform: translateY(-22px) rotate(2deg); }
}

/* Two headline keywords carry the message without changing the reading order. */
body .hero h1 { line-height: 1.4; }
body .hero h1>span { color: var(--ink); }
body .hero h1 .hero-keyword {
  --keyword-ink: #008849;
  --keyword-light: #12a45c;
  --keyword-marker: #a3ee78;
  position: relative; isolation: isolate; display: inline-block !important;
  font-size: 1.22em; line-height: 1.08; font-weight: 900;
  letter-spacing: -.065em; color: var(--keyword-ink); text-shadow: none;
}
body .hero h1 .keyword-technology {
  --keyword-ink: #008577;
  --keyword-light: #009d91;
  --keyword-marker: #8ce5d5;
  animation-delay: 1.1s;
}
.hero-keyword::after {
  content: ''; position: absolute; z-index: -1;
  left: -.04em; right: -.04em; bottom: -.025em; height: .14em;
  border-radius: 50% 25%; background: var(--keyword-marker);
  transform: skewX(-12deg); opacity: .8;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  body .hero h1 .hero-keyword {
    background-image: linear-gradient(110deg, var(--keyword-ink) 0%,
      var(--keyword-ink) 40%, var(--keyword-light) 50%,
      var(--keyword-ink) 60%, var(--keyword-ink) 100%);
    background-size: 240% 100%; background-position: 100% 50%;
    background-clip: text; -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: keywordSheen 7s ease-in-out infinite;
  }
  body .hero h1 .keyword-technology { animation-delay: 1.1s; }
}
@keyframes keywordSheen {
  0%, 12% { background-position: 100% 50%; }
  48%, 100% { background-position: -100% 50%; }
}
@media (forced-colors: active) {
  body .hero h1 .hero-keyword {
    background: none; -webkit-text-fill-color: currentColor;
    color: Highlight; animation: none;
  }
  .hero-keyword::after { display: none; }
}

.section-heading { margin-bottom: 80px; }
.communication-section .section-intro { width: 460px; }
.communication-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 88px; }
.notification-stage { padding: 38px; }
.notification-message { padding: 28px; }
.notification-slot { min-height: 440px; }
.report-heading, .payroll-heading { margin-bottom: 56px; gap: 64px; }
.report-heading>p, .payroll-heading>p { max-width: 480px; }
.browser-bar, .payroll-browser .browser-bar, .system-screen-header { min-height: 68px; padding-inline: 24px; }
.browser-shell, .system-screen, .payroll-browser { border-radius: 22px; }
.browser-shell .report-viewport { aspect-ratio: 1.8; }
.report-tabs button, .payroll-tabs button { padding: 14px 24px; min-height: 56px; }
.scenario-layout { max-width: none; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
.scenario-navigation { min-width: 0; }
.scenario-navigation-note { display: none; }
.scenario-tabs button { padding: 28px 24px; }
.scenario-panel { padding: 40px; }
.evidence-chart { padding: 24px; margin-block: 28px; }
.system-top { gap: 64px; margin-bottom: 60px; }
.system-story { max-width: 510px; }
.system-stage { padding-right: 0; }
.system-screen .screenshot-button { max-height: none; }
.system-annotation {
  position: relative; inset: auto; transform: none; width: 100%; margin: 28px 0 0;
  display: grid; grid-template-columns: auto 1fr 1.3fr auto; align-items: center;
  gap: 28px; padding: 28px 36px; box-shadow: 0 14px 40px #03271820;
}
.system-annotation h3, .system-annotation p, .system-annotation .text-button { margin: 0; }
.system-annotation .text-button { white-space: nowrap; }
.payroll-showcase { padding-right: 0; margin-bottom: 52px; }
.payroll-phone {
  width: 270px; right: 28px; top: auto; bottom: -32px;
  border-radius: 34px; transform: rotate(4deg);
}
.payroll-phone .screenshot-button { max-height: 450px; }
.payroll-benefits, .process-grid { gap: 40px; }
.people-grid { gap: 28px; }
.people-card { padding: 40px; }
.closing-section { padding-block: 144px; }

@media (max-width: 1400px) and (min-width: 1001px) {
  :root { --type-section: 3.125rem; }
  .desktop-nav { gap: 22px; }
  .communication-grid { gap: 48px; }
  .communication-section .section-intro { width: 410px; }
  .system-top { display: block; }
  .system-story { max-width: 760px; margin-top: 28px; }
  .system-annotation { grid-template-columns: auto 1fr 1.1fr; }
  .system-annotation .text-button { grid-column: 2 / -1; justify-self: start; }
}
@media (max-width: 1400px) {
  .hero-bottom .scroll-label { display: none; }
}
@media (max-width: 1200px) {
  .section { padding-block: 112px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 80px 64px; gap: 70px; }
  .hero-float { width: min(520px, 75%); margin-right: 20px; margin-bottom: 0; }
  .report-heading, .payroll-heading { display: block; }
  .report-heading>p, .payroll-heading>p { max-width: 700px; margin-top: 28px; }
  .people-card { padding: 32px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-bottom>div { width: 100%; justify-content: space-between; }
}
@media (max-width: 1000px) {
  .communication-section .section-intro { width: auto; }
  .communication-grid, .scenario-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scenario-navigation-note { display: block; margin: 0 0 12px; font-size: var(--type-note); color: var(--muted); }
  .scenario-navigation .scenario-tabs {
    display: flex; flex-direction: row; flex-wrap: nowrap; position: relative; gap: 14px; overflow-x: auto; padding: 4px 4px 14px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  }
  .scenario-navigation .scenario-tabs button { flex: 0 0 320px; min-width: 0; scroll-snap-align: start; }
  .system-top { display: block; }
  .system-story { max-width: 760px; margin-top: 28px; }
  .system-annotation { grid-template-columns: auto 1fr; gap: 20px; }
  .system-annotation p, .system-annotation .text-button { grid-column: 2; }
  .system-annotation .text-button { justify-self: start; }
  .payroll-section .payroll-showcase { padding-bottom: 310px; }
  .payroll-phone { width: 240px; bottom: 0; right: 24px; }
  .payroll-phone .screenshot-button { max-height: 340px; }
  .payroll-benefits, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-inner { display: flex; padding-block: 72px 56px; gap: 72px; }
  .hero-float { width: min(520px, 88%); }
  .hero-bottom>div { gap: 20px; }
  .hero-bottom>div>span { flex-direction: column; align-items: flex-start; gap: 6px; }
  body .hero .hero-bottom b { font-size: 1.75rem; }
}
@media (max-width: 640px) {
  .section { padding-block: 96px; }
  .scenario-navigation .scenario-tabs button { flex-basis: 88%; }
  .site-header, .site-header.fixed { height: 80px; gap: 12px; }
  .brand img { width: 88px; height: 36px; }
  .header-actions { gap: 4px; }
  .button-small { min-height: 48px; padding: 9px 10px; }
  .menu-toggle { width: 30px; flex-shrink: 0; }
  .hero { padding-top: 80px; }
  body .hero h1 { font-size: clamp(2.0625rem, 9.7vw, 3.75rem); }
  .hero-inner { padding-block: 64px 48px; gap: 64px; }
  .hero-buttons { gap: 14px; }
  .hero-buttons .button { min-height: 60px; padding: 16px 22px; }
  .hero-float {
    width: 100%; margin: 0; padding: 28px 24px; border-radius: 24px;
    animation-name: floatCompact; transform: translateY(6px) rotate(-2deg);
  }
  body .hero-float .float-main { font-size: 26px; margin-block: 26px; }
  body .hero .hero-float .float-label { font-size: 17px; }
  body .hero-float .float-pills span { font-size: 16px; padding: 8px 10px; }
  .float-label { gap: 10px; }
  .float-label img { width: 30px; height: 30px; }
  .float-pills { gap: 8px; }
  .hero-bottom { padding-block: 28px; min-height: 0; }
  .hero-bottom>div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-bottom>div>span { flex-direction: row; gap: 14px; }
  body .hero .hero-bottom .hero-bottom-label { font-size: 1.375rem; }
  body .hero .hero-bottom>div>span { font-size: 1.25rem; }
  body .hero .hero-bottom b { font-size: 1.5rem; }
  .section-heading { margin-bottom: 44px; }
  .notification-stage { padding: 28px 18px; }
  .notification-message { padding: 24px 18px; }
  .notification-slot { min-height: 460px; }
  .report-heading, .payroll-heading { margin-bottom: 36px; }
  .report-tabs button { padding: 13px 12px; }
  .browser-bar, .payroll-browser .browser-bar, .system-screen-header { padding-inline: 14px; }
  .browser-shell, .system-screen, .payroll-browser { border-radius: 14px; }
  .browser-shell .report-viewport { aspect-ratio: 1.35; }
  .scenario-panel { padding: 28px 20px; }
  .scenario-tabs button { padding: 22px 20px; }
  .evidence-chart { padding: 16px 10px; }
  .system-top { margin-bottom: 40px; }
  .system-annotation { display: block; padding: 28px 24px; margin-top: 22px; }
  .system-annotation h3 { margin-top: 20px; }
  .system-annotation p { margin-top: 16px; }
  .system-annotation .text-button { margin-top: 16px; white-space: normal; }
  .payroll-section .payroll-showcase { padding-bottom: 340px; margin-bottom: 36px; }
  .payroll-phone { width: 210px; right: 14px; border-width: 6px; border-radius: 28px; }
  .payroll-phone .screenshot-button { max-height: 285px; }
  .payroll-benefits, .process-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .people-card { padding: 32px 26px; }
  .closing-section { padding-block: 96px; }
}
@media (max-width: 359px) {
  .site-header .header-actions .button-small { display: none; }
}

/* Bring the section story together: title, process and explanation share a frame. */
.section-composition {
  position: relative; display: grid; grid-template-columns: fit-content(58%) minmax(0, 1fr);
  gap: 40px; align-items: center; margin-bottom: 36px; padding-bottom: 32px;
  border-bottom: 1px solid #c4dccb;
}
.section-composition .composition-title { min-width: 0; }
.section-composition .eyebrow { margin-bottom: 20px; }
.section-composition .section-summary {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px 20px; align-items: start; width: auto; max-width: none; margin: 0;
  padding: 28px; border: 1px solid #c9e2d1; border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0%, #e5f8d4b3, transparent 68%), #f6fcf8;
  box-shadow: 0 12px 36px #205c3b08, inset 0 1px 0 #fff;
}
.section-summary::before {
  content: ''; position: absolute; top: 50%; left: -41px; width: 40px;
  border-top: 1px solid #9dbfa8;
}
.section-summary::after {
  content: ''; position: absolute; top: calc(50% - 4px); left: -46px;
  width: 7px; height: 7px; border-radius: 50%; background: #50a36f;
  box-shadow: 0 0 0 5px #eaf6ed;
}
.summary-symbol {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: #fff; color: #205c3b; border: 1px solid #dceade; box-shadow: 0 5px 16px #205c3b09;
}
.summary-symbol svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body .section-composition .section-summary>p {
  grid-column: 2; font-size: var(--type-lead); line-height: 1.8; color: var(--muted); margin: 0;
}
.communication-section .section-composition .section-intro { position: static; width: auto; margin: 0; }
.section-summary>p br { display: none; }
.wot-summary .summary-symbol { grid-row: 1 / span 2; }
.wot-summary-kicker { grid-column: 2; color: #205c3b; font-size: var(--type-note); font-weight: 750; }
.wot-evidence {
  padding: 32px; border: 1px solid #2d6549; border-radius: 28px;
  background: radial-gradient(ellipse at 100% 0%, #326e4859, transparent 65%), #123d2b;
  color: #f2f9f3; scroll-margin-top: 112px;
}
.wot-evidence .system-screen { box-shadow: 0 18px 48px #001a1733; }
body .wot-evidence .system-privacy-note { color: #c5ddcd; margin-top: 20px; }
.wot-evidence-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; }
.wot-evidence-footer>p { font-size: var(--type-lead); line-height: 1.7; margin: 0; color: #c5ddcd; }
.wot-evidence-footer strong { color: #d6f6a2; font-weight: 750; }
.wot-evidence-footer .button { flex-shrink: 0; color: #123d2b; background: #eef8df; border-color: #d1e7c5; }
.wot-examples-heading { margin: 72px 0 32px; }
body .wot-examples-heading h3 { font-size: var(--type-card); line-height: 1.5; margin: 0 0 12px; }
.wot-examples-heading>p { font-size: var(--type-body); color: var(--muted); margin: 0; }
@media (max-width: 1000px) {
  .wot-evidence-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 640px) {
  .wot-summary .wot-summary-kicker { display: block; padding-top: 5px; margin-bottom: 16px; }
  .wot-summary .section-intro { clear: both; }
  .wot-evidence { padding: 16px; border-radius: 20px; scroll-margin-top: 96px; }
  .wot-evidence-footer { margin-top: 24px; }
  .wot-evidence-footer .button { width: 100%; }
  .wot-examples-heading { margin: 48px 0 28px; }
}
.section-route { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.section-route li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid #d2e5d6; border-radius: 999px; background: #f0f8f1;
  font-size: var(--type-note); line-height: 1.6; font-weight: 600; color: #356448;
}
.section-route li>span { font-size: var(--type-note); font-weight: 750; color: #6e8b65; }
.system-section .section-composition { border-color: #87b79740; }
.system-section .section-summary {
  background: radial-gradient(ellipse at 100% 0%, #8cbe7333, transparent 70%), #ffffff09;
  border-color: #87b79755; box-shadow: inset 0 1px 0 #ffffff0b;
}
.system-section .summary-symbol { color: #d6f5af; background: #ffffff0b; border-color: #87b79755; grid-row: 1 / span 3; }
.system-section .section-summary::before { border-color: #8ab48e; }
.system-section .section-summary::after { background: #c3e990; box-shadow: 0 0 0 5px #255b3e; }
.system-section .section-route li { background: #ffffff08; border-color: #91b99b50; color: #d2e7d5; }
.system-section .section-route li>span { color: #c3e990; }
.section-summary .system-kicker { grid-column: 2; margin: 0; padding-bottom: 12px; line-height: 1.7; }
body .section-composition .system-story>p { font-size: var(--type-body); color: #c9decf; }
body .section-composition .system-story .system-purpose { color: #d7ebda; border-top: 1px solid #87b79740; padding-top: 14px; }

.communication-grid { gap: 48px; align-items: start; overflow-anchor: none; }
.communication-copy>p { max-width: 580px; }
.communication-points { gap: 12px; margin-top: 28px; }
.communication-points>div {
  position: relative; align-items: flex-start; gap: 14px; padding: 15px 18px;
  border: 1px solid #dfece1; border-radius: 16px; background: linear-gradient(105deg, #f0f8f1, #fcfefb);
}
.communication-points>div:not(:last-child)::after { content: ''; position: absolute; width: 1px; height: 13px; background: #adcbb5; left: 36px; top: 100%; }
.communication-points>div>span {
  display: grid; place-items: center; flex: 0 0 36px; height: 36px; padding: 0;
  border-radius: 50%; background: #dff0df; color: #326440; font-weight: 700;
}
.notification-stage { padding: 28px; }
.notification-intro { margin: 24px 0 22px; }
.notification-intro strong.communication-emphasis { font-weight: 800; color: var(--communication-ink); }
.notification-stage .notification-slot { min-height: 0; }
.notification-slot.is-resizing { overflow: hidden; }
.notification-stage .notification-message { padding: 24px; }
/* The active card defines the height; recipient changes resize the slot smoothly. */
.notification-slot .notification-message[hidden] { display: none; }
.notification-controls { margin-top: 16px; }
.notification-stage .visual-caption { margin-top: 12px; }

@media (max-width: 1400px) and (min-width: 1101px) {
  .section-composition { grid-template-columns: fit-content(58%) minmax(0, 1fr); gap: 32px; }
  .section-composition .section-summary { padding: 24px; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .summary-symbol { width: 44px; height: 44px; border-radius: 14px; }
  .section-summary::before { left: -33px; width: 32px; }
  .section-summary::after { left: -38px; }
}
@media (max-width: 1100px) {
  .section-composition { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 28px; }
  .section-composition .section-summary { padding: 24px; }
  .section-summary::before, .section-summary::after { display: none; }
  .communication-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .section-composition { gap: 22px; margin-bottom: 28px; padding-bottom: 24px; }
  .section-composition .section-summary { display: flow-root; padding: 20px; border-radius: 20px; }
  .summary-symbol { float: left; width: 40px; height: 40px; border-radius: 12px; margin: 0 12px 2px 0; }
  .summary-symbol svg { width: 24px; height: 24px; }
  body .section-composition .section-summary>p, .section-summary .system-kicker { grid-column: 1; }
  .system-section .summary-symbol { grid-row: auto; }
  .section-route { display: none; }
  .section-summary .system-kicker { min-height: 44px; margin-bottom: 16px; }
  .section-composition .system-story .system-purpose { margin-top: 16px; }
  .communication-points>div { padding: 16px; gap: 12px; }
  .communication-points>div:not(:last-child)::after { left: 34px; }
  .notification-stage { padding: 24px 16px; }
  .notification-stage .notification-message { padding: 22px 16px; }
}
