@font-face { font-family: Work; src: url("./assets/WorkSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Work; src: url("./assets/WorkSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Work; src: url("./assets/WorkSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --paper: #fdfcfd;
  --white: #fff;
  --ink: #21152a;
  --muted: #594b61;
  --line: #e6dce9;
  --wash: #f6eff8;
  --wash-deep: #ede2f2;
  --accent: #680099;
  --deep: #271437;
  --focus: #8600c3;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  font-family: Work, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
#site { min-block-size: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
main:focus { outline: none; }
img { max-inline-size: 100%; }
a { color: inherit; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
p { margin: 0 0 1em; line-height: 1.56; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.11; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); letter-spacing: -.065em; }
h2 { font-size: clamp(1.5rem, 3.3vw, 2.75rem); letter-spacing: -.048em; }
h3 { font-size: 1.25rem; letter-spacing: -.035em; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; inset: 10px auto auto 10px; padding: 10px 14px; z-index: 9; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; gap: 24px; }
.logo-link { display: inline-flex; align-items: center; justify-self: start; }
.logo-link img { display: block; block-size: auto; aspect-ratio: 632 / 114; object-fit: contain; }
.header-nav { display: flex; gap: clamp(16px, 2.6vw, 36px); align-items: center; }
.header-nav a { font-size: .94rem; text-decoration: none; font-weight: 600; color: var(--muted); white-space: nowrap; padding: 25px 0 22px; border-bottom: 3px solid transparent; }
.header-nav a:hover, .header-nav [aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.header-tools { display: flex; justify-self: end; align-items: center; gap: 12px; }
.language { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.language button { border: 0; padding: 6px 9px; min-height: 36px; min-width: 40px; border-radius: 999px; background: transparent; color: var(--muted); font-size: .75rem; font-weight: 700; cursor: pointer; }
.language button[aria-pressed="true"] { background: var(--deep); color: white; }
.menu-button { display: none; min-height: 44px; border: 0; background: transparent; color: var(--ink); font-weight: 700; padding: 6px; cursor: pointer; }

.hero { background: var(--deep); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 5vw, 70px); align-items: center; min-height: 530px; padding-block: 52px; }
.hero-copy h1 { max-inline-size: 12ch; }
.hero-copy p { color: #eedff0; font-size: clamp(1.03rem, 1.8vw, 1.23rem); margin: 24px 0 28px; max-inline-size: 47ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; min-height: 49px; border-radius: 6px; border: 1px solid var(--deep); background: var(--deep); color: #fff; font: 600 .93rem/1.2 Work, sans-serif; text-decoration: none; cursor: pointer; }
.button:hover { background: #42214d; border-color: #42214d; }
.button-outline { background: transparent; color: var(--deep); }
.button-outline:hover { background: var(--wash); border-color: var(--accent); }
.hero .button, .button-light { background: #fff; color: var(--deep); border-color: #fff; }
.hero .button:hover, .button-light:hover { background: #f4e8f7; border-color: #f4e8f7; }
.hero .button-outline { background: transparent; border-color: #ba9bc6; color: #fff; }
.hero .button-outline:hover { background: #4e315f; border-color: #f4e8f7; }
.hero a:focus-visible, .api-promo a:focus-visible { outline-color: #f2d8fa; }
.arrow { flex: none; font-size: 1.15em; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-image { position: relative; display: grid; place-items: center; min-height: 366px; background: linear-gradient(145deg, #563167, #3b204f 55%, #321943); border: 1px solid #694879; border-radius: 22px; overflow: hidden; }
.hero-radial { position: absolute; width: 365px; aspect-ratio: 1; border-radius: 50%; border: 1px solid #c39ad445; box-shadow: 0 0 0 27px #c39ad414, 0 0 0 54px #c39ad40d; transform: translate(30px, -5px); }
.hero-device { position: relative; z-index: 1; width: min(calc(100% - 30px), 256px); margin: 20px 0 28px; padding: 18px; color: var(--ink); background: var(--white); border: 1px solid #e4d6ea; border-radius: 19px; box-shadow: 0 20px 35px #190e2677; }
.device-brand { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-block-size: 64px; }
.product-logo { inline-size: var(--brand-width, 164px); block-size: auto; max-inline-size: 100%; object-fit: contain; object-position: left center; display: block; flex: none; }
.device-brand img { max-inline-size: 100%; }
.device-title { font-size: 1.23rem; font-weight: 700; letter-spacing: -.035em; margin: 23px 0 11px; }
.device-amount { display: grid; gap: 4px; background: var(--wash); border: 1px solid var(--line); border-radius: 9px; padding: 12px; }
.device-amount span { color: var(--muted); font-size: .7rem; }
.device-amount strong { font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: -.035em; white-space: nowrap; }
.device-method { margin-block: 13px 17px; display: flex; align-items: center; gap: 7px; font-size: .65rem; font-weight: 600; }
.device-icon { display: grid; place-items: center; min-width: 24px; min-height: 24px; border-radius: 7px; background: var(--wash); color: var(--accent); font-size: .9rem; }
.hero-device figcaption { margin: 0; font-size: .66rem; color: var(--muted); }
.hero-side-label { position: absolute; z-index: 2; right: 12px; bottom: 22px; display: grid; row-gap: 2px; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; color: var(--ink); background: #f5eaf7; border: 1px solid #e6d6eb; border-radius: 9px; padding: 8px 10px; font-size: .65rem; box-shadow: 0 8px 20px #1f103959; }
.hero-side-label span:first-child { grid-row: span 2; color: var(--accent); font-size: 1rem; }
.hero-side-label strong { font-size: .82rem; }

.section { padding-block: 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-card { min-width: 0; container-type: inline-size; }
.product-card-link { display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 235px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; }
.product-card-link:hover { border-color: #9978a5; box-shadow: 0 9px 20px #23102f13; }
.card-header {
  /* Size the native marks to the same visible Kamu script width. */
  --brand-inset: clamp(0px, calc((100cqw - 314px) / 2), 18px);
  --brand-width: min(276px, calc(100cqw - 38px - 2 * var(--brand-inset)));
  display: flex;
  align-items: flex-start;
  min-block-size: calc(.39 * var(--brand-width) + 12px);
  padding-inline: var(--brand-inset);
}
.card-arrow { display: grid; place-items: center; width: 27px; height: 27px; color: var(--accent); font-size: 1rem; background: var(--wash); border-radius: 50%; flex: none; }
.card-copy p { margin: 9px 0 0; color: var(--muted); font-size: .91rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 11px; color: var(--accent); font-size: .78rem; font-weight: 700; }

.api-promo { padding-top: 0; }
.api-promo-inner { background: var(--deep); color: var(--white); border-radius: 14px; padding: clamp(20px, 4vw, 38px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 30px; align-items: center; }
.api-promo-inner p { color: #eedff0; margin: 8px 0 0; }

.page { padding-block: 56px 76px; }
.page-intro { max-width: 820px; margin-bottom: 28px; }
.page-intro h1 { font-size: clamp(2.35rem, 5.5vw, 4.38rem); }
.page-intro p, .body-large { margin: 17px 0 0; font-size: clamp(1rem, 1.65vw, 1.17rem); color: var(--muted); max-inline-size: 63ch; }
.directory-grid { margin-top: 38px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0 0 24px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.breadcrumb a { color: var(--accent); text-underline-offset: 3px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(25px, 5vw, 62px); }
.detail-copy .page-intro { margin-bottom: 23px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .9rem; font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 14px; padding: 0; margin: 44px 0 0; list-style: none; }
.feature-grid li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.feature-grid h2 { font-size: 1.22rem; }
.feature-grid p { margin: 8px 0 0; color: var(--muted); }
.detail-foot { margin-top: 25px; }
.app-visual { display: grid; place-items: center; min-height: 344px; margin: 0; padding: clamp(14px, 4vw, 34px); background: linear-gradient(135deg, #e9d9ee, #f4ecf6); border: 1px solid var(--line); border-radius: 18px; }
.mock-window { width: 100%; max-width: 440px; padding: clamp(18px, 2vw, 20px); border-radius: 11px; border: 1px solid var(--line); background: #fff; box-shadow: 0 13px 35px #26132c18; }
.mock-chrome { --brand-width: min(276px, 100%); display: flex; align-items: center; min-block-size: 68px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.mock-chrome img { max-inline-size: 100%; }

.mock-body h2 { margin-top: 14px; font-size: 1.2rem; }
.mock-amount { display: flex; flex-wrap: wrap; gap: 6px 13px; align-items: baseline; background: var(--wash); border-radius: 6px; padding: 8px 10px; margin-block: 11px; }
.mock-amount span { color: var(--muted); font-size: .8rem; }
.mock-amount strong { color: var(--accent); }
.mock-rows { display: grid; font-size: .8rem; }
.mock-rows > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 10px; border-top: 1px solid var(--line); padding: 7px 0; }
.app-visual figcaption { padding-top: 14px; color: var(--muted); font-size: .8rem; }

.demo-shell { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(13px, 3vw, 24px); }
.demo-brand { --brand-width: min(276px, 100%); margin-block-end: 28px; }
.demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.demo-top h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); }
.demo-top p { color: var(--muted); margin: 6px 0 0; font-size: .9rem; }
.demo-switch { display: flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid var(--line); background: var(--wash); border-radius: 8px; }
.demo-switch button { background: transparent; border: 0; border-radius: 5px; color: var(--muted); font-weight: 600; padding: 9px 10px; min-height: 44px; cursor: pointer; }
.demo-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 5px #24102d24; }
.table-scroll { overflow-x: auto; }
.demo-shell table { border-collapse: collapse; width: 100%; }
.demo-shell th, .demo-shell td { padding: 12px 9px; border-block-end: 1px solid var(--line); text-align: left; }
.demo-shell th { background: var(--wash); font-weight: 700; font-size: .88rem; }
.currency, .reference, .outcome { white-space: nowrap; }
.reference, .currency { font-variant-numeric: tabular-nums; }
.outcome { display: inline-block; padding: 4px 7px; border-radius: 5px; font-size: .77rem; font-weight: 700; }
.confirmed { background: #e8f6ee; color: #145737; }
.pending { background: #fff2d8; color: #7d4b05; }
.demo-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-block: 14px 0; color: var(--muted); }
.demo-summary strong { margin-inline-start: 6px; color: var(--ink); white-space: nowrap; }
.narrow-page { max-width: 825px; }
.information-panel { margin: 18px 0 23px; border-left: 3px solid var(--accent); padding: 15px; background: var(--wash); }
.information-panel p:last-child { margin-bottom: 0; }
.privacy-contact { margin-top: 22px; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(24px, 5vw, 68px); }
.about-grid .page-intro { margin-bottom: 12px; }
.about-grid .text-link { margin-top: 17px; }
.portrait { margin: 0; max-width: 350px; }
.portrait img { display: block; width: 100%; height: auto; max-height: 467px; object-fit: cover; object-position: center 28%; border-radius: 15px; background: var(--wash); }
.portrait figcaption { color: var(--muted); font-size: .87rem; padding-top: 9px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; row-gap: 12px; }
.support-grid article { min-width: 0; border: 1px solid var(--line); border-radius: 11px; padding: 18px; background: var(--white); }
.support-grid h2, .office h2 { font-size: 1.3rem; margin-bottom: 10px; }
.support-grid p { color: var(--muted); margin: 0 0 9px; }
.contact-value { color: var(--ink); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.support-actions { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: .87rem; }
.office { margin-top: 25px; }
.office address { margin-bottom: 15px; font-style: normal; color: var(--muted); line-height: 1.6; }

.docs-page { padding-block: 37px 70px; }
.docs-page h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
.docs-page h2 { font-size: clamp(1.35rem, 3vw, 2.2rem); margin-block: 1.14em .55em; }
.docs-page h3 { margin-block: 1em .45em; }
.docs-page p { color: var(--muted); }
.docs-page a { color: var(--accent); text-underline-offset: 3px; }
.docs-page button, .docs-page input { font: inherit; }
.docs-page pre { max-width: 100%; overflow: auto; background: #24152d; color: #fff; padding: 13px; border-radius: 8px; line-height: 1.55; }
.docs-page pre code { background: transparent; color: inherit; padding: 0; }
.docs-page code { background: var(--wash); color: #640093; border-radius: 4px; padding: .12em .24em; overflow-wrap: anywhere; }
.docs-page table { border-collapse: collapse; width: 100%; }
.docs-page th, .docs-page td { border: 1px solid var(--line); padding: 9px; text-align: left; vertical-align: top; }
.docs-page th { background: var(--wash); }
.docs-page .snap-layout { display: grid; grid-template-columns: minmax(165px, 230px) minmax(0, 1fr); align-items: start; gap: 26px; }
.docs-page .snap-content, .docs-page .snap-main { min-width: 0; }
.docs-page .snap-sidebar { background: var(--wash); border-radius: 9px; padding: 12px; }
.docs-page .snap-sidebar a { display: block; padding-block: 5px; }
.docs-page .snap-table-wrap { overflow: auto; }
.docs-page .snap-notice, .docs-page .snap-callout { border-left: 3px solid var(--accent); padding: 10px 13px; background: var(--wash); border-radius: 5px; }
.docs-page .snap-card { border: 1px solid var(--line); background: white; padding: 14px; border-radius: 8px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding-block: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; }
.footer-inner nav a { font-size: .89rem; color: var(--muted); font-weight: 600; text-decoration: none; }
.footer-inner nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-inner small { color: var(--muted); justify-self: end; }

@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .product-page .detail-grid { grid-template-columns: 1fr; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 65px; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .header-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 10px var(--gutter) 14px; background: var(--white); border-bottom: 1px solid var(--line); }
  .header-nav.is-open { display: grid; gap: 0; }
  .header-nav a { padding: 10px 0; border-bottom-width: 2px; }
  .menu-button { display: inline-block; }
  .hero-inner { min-height: 0; }
  .hero-device { margin-bottom: 68px; }
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hero-inner, .about-grid, .docs-page .snap-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 36px; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-copy p { margin-block: 17px 22px; }
  .hero-image { min-height: 290px; }
  .hero-radial { width: 270px; }
  .hero-side-label { right: 8px; bottom: 12px; }
  .section { padding-block: 39px; }
  .api-promo { padding-top: 0; }
  .page { padding-block: 35px 48px; }
  .directory-grid { margin-top: 20px; }
  .app-visual { min-height: 248px; }
  .feature-grid { margin-top: 28px; }
  .portrait { max-width: 260px; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 18px; }
  .footer-inner nav { justify-content: start; grid-row: 2; grid-column: span 2; }
}
@media (max-width: 480px) {
  .mock-chrome { margin-inline: -6px; }
  .product-card-link { min-height: 0; }
  .section-head { margin-bottom: 15px; }
  .header-inner { gap: 12px; }
  .demo-shell th, .demo-shell td { padding: 9px 6px; font-size: .8rem; }
  .demo-switch button { font-size: .85rem; }
}
