/* TypeUI Sketch preset — public landing page and customer portal. */
:root {
  --sketch-primary: #1dad97;
  --sketch-secondary: #f4ede0;
  --sketch-surface: #ffffff;
  --sketch-text: #111827;
  --sketch-muted: #4b5563;
  --sketch-line: #111827;
  --sketch-danger: #dc2626;
  --sketch-radius-sm: 4px;
  --sketch-radius-md: 8px;
  --sketch-shadow: 5px 5px 0 #111827;
  --sketch-shadow-lg: 10px 10px 0 #111827;
  --sketch-font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sketch-hand: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sketch-mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  flex: none;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  box-shadow: 3px 3px 0 var(--sketch-line);
  object-fit: cover;
  transform: rotate(-3deg);
}

.skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--sketch-text);
  background: var(--sketch-surface);
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.anchor-target {
  position: absolute;
  width: 1px;
  height: 1px;
}

body.landing-view {
  color: var(--sketch-text);
  background-color: var(--sketch-secondary);
  background-image:
    linear-gradient(rgba(17, 24, 39, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, .018) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--sketch-font);
  font-size: 1rem;
}

/* Customer portal — the same TypeUI Sketch language, kept intentionally denser than marketing. */
body.portal-view {
  min-height: 100vh;
  color: var(--sketch-text);
  background-color: var(--sketch-secondary);
  background-image:
    linear-gradient(rgba(17, 24, 39, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, .018) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--sketch-font);
  font-size: 1rem;
}

body.portal-view .nav {
  height: 76px;
  background: rgba(244, 237, 224, .96);
  border-bottom: 2px dashed var(--sketch-line);
  backdrop-filter: blur(10px);
}

body.portal-view .brand {
  gap: 12px;
  font-family: var(--sketch-font);
  font-weight: 800;
  font-size: 1.35rem;
}

body.portal-view .brand-logo {
  width: 38px;
  height: 38px;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  box-shadow: 3px 3px 0 var(--sketch-line);
  transform: rotate(-3deg);
}

body.portal-view nav {
  gap: 24px;
  font-family: var(--sketch-mono);
  font-size: .75rem;
  font-weight: 700;
}

body.portal-view nav a[href="/portal"],
body.customer-view nav a[href="/portal"] {
  display: none !important;
}

body.portal-view .center-page {
  min-height: calc(100vh - 142px);
  padding: 64px 24px 80px;
}

body.portal-view .portal-shell {
  width: min(100%, 1040px);
}

body.portal-view :is(.login-card, .portal-card) {
  color: var(--sketch-text);
  background: var(--sketch-surface);
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-md);
  box-shadow: var(--sketch-shadow);
}

body.portal-view .login-card {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 36px;
  text-align: left;
}

body.portal-view .login-card::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 32px;
  width: 76px;
  height: 24px;
  background: rgba(29, 173, 151, .55);
  border: 1px solid rgba(17, 24, 39, .2);
  transform: rotate(3deg);
}

body.portal-view :is(h1, h2) {
  color: var(--sketch-text);
  font-family: var(--sketch-font);
  font-weight: 800;
  letter-spacing: -.02em;
}

body.portal-view h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.15;
}

body.portal-view h2 {
  margin: 0;
  font-size: 1.45rem;
}

body.portal-view p {
  color: var(--sketch-muted);
  line-height: 1.55;
}

body.portal-view .eyebrow,
body.portal-view :is(label, .account-grid small, .status) {
  color: var(--sketch-text);
  font-family: var(--sketch-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

body.portal-view form {
  gap: 16px;
  margin-top: 24px;
}

body.portal-view label {
  gap: 8px;
}

body.portal-view input {
  height: 48px;
  padding: 0 14px;
  color: var(--sketch-text);
  background: #fffefb;
  border: 2px solid #4b5563;
  border-radius: var(--sketch-radius-sm);
  font-family: var(--sketch-mono);
  font-size: .85rem;
}

body.portal-view input:hover {
  border-color: var(--sketch-text);
}

body.portal-view input:focus {
  border-color: var(--sketch-primary);
  box-shadow: 0 0 0 3px rgba(29, 173, 151, .2);
}

body.portal-view input:-webkit-autofill {
  -webkit-text-fill-color: var(--sketch-text);
  box-shadow: 0 0 0 1000px #fffefb inset;
}

body.portal-view .button {
  min-height: 46px;
  min-width: max-content;
  padding: 11px 18px;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  box-shadow: 4px 4px 0 var(--sketch-line);
  font-family: var(--sketch-mono);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, background-color 140ms ease-out;
}

body.portal-view .button.primary {
  color: var(--sketch-text);
  background: var(--sketch-primary);
}

body.portal-view .button.ghost {
  color: var(--sketch-text);
  background: var(--sketch-surface);
}

body.portal-view .button:not(:disabled):hover {
  background: #38c4af;
  box-shadow: 2px 2px 0 var(--sketch-line);
  transform: translate(2px, 2px);
}

body.portal-view :is(a, button, input):focus-visible {
  outline: 3px solid #0b7567;
  outline-offset: 3px;
}

body.portal-view .portal-head {
  align-items: flex-end;
  padding: 0 0 22px;
  border-bottom: 2px dashed var(--sketch-line);
}

body.portal-view .portal-head h1 {
  margin-bottom: 4px;
}

body.portal-view .portal-head p {
  margin: 0;
}

body.portal-view .result-actions {
  flex-wrap: wrap;
  margin-top: 0;
}

body.portal-view .account-grid {
  gap: 16px;
  margin: 24px 0;
}

body.portal-view .account-grid article {
  position: relative;
  min-height: 138px;
  padding: 20px;
  color: var(--sketch-text);
  background: var(--sketch-surface);
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-md);
  box-shadow: 4px 4px 0 var(--sketch-line);
}

body.portal-view .account-grid article:nth-child(2) {
  background: #d9f5ef;
  transform: rotate(-.5deg);
}

body.portal-view .account-grid small,
body.portal-view .account-grid strong,
body.portal-view .account-grid span {
  color: var(--sketch-text);
}

body.portal-view .account-grid strong {
  margin: 10px 0 6px;
  font-family: var(--sketch-hand);
  font-size: 1.8rem;
  line-height: 1.1;
}

body.portal-view .account-grid span {
  color: var(--sketch-muted);
  font-size: .82rem;
}

body.portal-view .portal-card {
  margin-top: 20px;
  padding: 24px;
}

body.portal-view .card-title {
  padding-bottom: 18px;
}

body.portal-view .card-title p {
  margin: 5px 0 0;
}

body.portal-view :is(.device-row, .order-row) {
  min-height: 72px;
  padding: 16px 0;
  border-top: 2px dashed #9ca3af;
}

body.portal-view :is(.device-row, .order-row) small {
  color: var(--sketch-muted);
  line-height: 1.45;
}

body.portal-view .activation-result {
  padding: 16px;
  margin-top: 4px;
  color: var(--sketch-text);
  background: #d9f5ef;
  border: 2px dashed var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  font-family: var(--sketch-mono);
  font-size: .78rem;
}

body.portal-view .status {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  color: var(--sketch-text);
  background: var(--sketch-secondary);
  border: 1px solid var(--sketch-line);
  border-radius: 999px;
}

body.portal-view .status.paid {
  color: var(--sketch-text);
  background: #d9f5ef;
}

body.portal-view footer {
  color: var(--sketch-muted);
  background: rgba(244, 237, 224, .92);
  border-top: 2px dashed var(--sketch-line);
  font-family: var(--sketch-mono);
  font-size: .7rem;
}

@media (max-width: 800px) {
  body.portal-view .center-page {
    padding: 40px 18px 64px;
  }

  body.portal-view .login-card {
    padding: 28px 22px;
  }

  body.portal-view .account-grid {
    grid-template-columns: 1fr;
  }

  body.portal-view :is(.portal-head, .card-title) {
    align-items: stretch;
  }

  body.portal-view .result-actions {
    width: 100%;
  }

  body.portal-view .result-actions .button {
    flex: 1 1 auto;
  }
}

@media (max-width: 520px) {
  body.portal-view .nav {
    padding-inline: 16px;
  }

  body.portal-view nav > a:not(.button) {
    display: none;
  }

  body.portal-view :is(.device-row, .order-row) {
    grid-template-columns: 1fr;
  }

  body.portal-view .card-title .button,
  body.portal-view .device-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.portal-view *,
  body.portal-view *::before,
  body.portal-view *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

body.landing-view p {
  color: var(--sketch-muted);
  line-height: 1.65;
}

.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.site-header-sticky .promo-bar {
  position: relative;
  width: 100%;
}

.site-header-sticky .nav {
  position: relative;
  top: auto;
  width: 100%;
}

body.landing-view .nav {
  height: 72px;
  background: rgba(244, 237, 224, .98);
  border-bottom: 2px dashed var(--sketch-line);
  backdrop-filter: blur(10px);
}

body.landing-view .brand {
  gap: 12px;
  font-family: var(--sketch-font);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.01em;
}

body.landing-view .brand-logo {
  width: 38px;
  height: 38px;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  box-shadow: 3px 3px 0 var(--sketch-line);
  transform: rotate(-3deg);
}

body.landing-view nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: 0;
}

body.landing-view nav > a:not(.button) {
  position: relative;
  white-space: nowrap !important;
  color: var(--sketch-text);
  text-decoration: none;
  padding: 4px 2px;
}

#language-toggle { display: none; }

body.customer-view #language-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--sketch-text);
  background: transparent;
  border: 2px dashed var(--sketch-line);
  border-radius: 50%;
  font-family: var(--sketch-mono);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}

body.landing-view #language-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--sketch-text);
  background: transparent;
  border: 2px dashed var(--sketch-line);
  border-radius: 50%;
  font-family: var(--sketch-mono);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}

body.landing-view .language-toggle:hover {
  background: var(--sketch-primary);
  transform: rotate(-4deg);
}

body.landing-view nav > a:not(.button) {
  position: relative;
}

body.landing-view nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--sketch-primary);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform 150ms ease-out;
}

body.landing-view nav > a:not(.button):hover::after,
body.landing-view nav > a:not(.button):focus-visible::after {
  transform: scaleX(1) rotate(-1deg);
}

body.landing-view .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  min-height: 46px;
  min-width: max-content;
  padding: 11px 18px;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  box-shadow: 4px 4px 0 var(--sketch-line);
  font-family: var(--sketch-mono);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, background-color 140ms ease-out;
}

body.landing-view .button.primary {
  color: var(--sketch-text);
  background: var(--sketch-primary);
}

body.landing-view .button.ghost {
  color: var(--sketch-text);
  background: var(--sketch-surface);
}

body.landing-view .button.text {
  color: var(--sketch-text);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-color: var(--sketch-primary);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

body.landing-view .button:not(:disabled):hover {
  background: #38c4af;
  box-shadow: 2px 2px 0 var(--sketch-line);
  transform: translate(2px, 2px);
}

body.landing-view .button.text:hover {
  background: transparent;
  box-shadow: none;
  transform: rotate(-1deg);
}

body.landing-view :is(a, button, input):focus-visible {
  outline: 3px solid #0b7567;
  outline-offset: 3px;
}

body.landing-view .hero,
body.landing-view .section {
  width: min(calc(100% - 40px), 1180px);
  max-width: none;
  padding-inline: 0;
}

body.landing-view :is(#fitur, #alur, #harga, #beli) {
  scroll-margin-top: 96px;
}

body.landing-view .hero {
  min-height: 690px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(44px, 7vw, 88px);
  padding-block: 88px 104px;
}

body.landing-view .hero > div:first-child {
  position: relative;
  z-index: 1;
}

body.landing-view .hero > div:first-child::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 70px;
  left: -14px;
  width: min(430px, 82%);
  height: 25px;
  background: rgba(29, 173, 151, .34);
  transform: rotate(-2deg);
}

body.landing-view .eyebrow {
  display: inline-block;
  color: var(--sketch-text);
  font-family: var(--sketch-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
}

body.landing-view h1,
body.landing-view h2,
body.landing-view h3 {
  color: var(--sketch-text);
  font-family: var(--sketch-font, 'Outfit', sans-serif) !important;
  font-weight: 800 !important;
}

body.landing-view .hero h1 {
  font-family: var(--sketch-font, 'Outfit', sans-serif) !important;
  font-weight: 800 !important;
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  text-wrap: balance;
}

body.landing-view .hero p {
  max-width: 640px;
  font-size: 1.125rem;
  line-height: 1.6;
}

body.landing-view .hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

body.landing-view .trust {
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  color: var(--sketch-text);
  font-family: var(--sketch-mono);
  font-size: .72rem;
  font-weight: 600;
}

body.landing-view .trust span {
  position: relative;
}

body.landing-view .trust span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 16px;
  height: 2px;
  background: rgba(29, 173, 151, .55);
  transform: rotate(-1deg);
}

body.landing-view .product-card {
  position: relative;
  overflow: visible;
  padding: 28px;
  color: var(--sketch-text);
  background: var(--sketch-surface);
  border: 3px solid var(--sketch-line);
  border-radius: var(--sketch-radius-md);
  box-shadow: var(--sketch-shadow-lg);
  transform: rotate(1.6deg);
}

body.landing-view .product-card::before {
  content: "LOCAL DATA";
  position: absolute;
  top: -18px;
  right: 28px;
  padding: 7px 13px;
  background: #f6df77;
  border: 2px solid var(--sketch-line);
  box-shadow: 3px 3px 0 var(--sketch-line);
  font-family: var(--sketch-mono);
  font-size: .68rem;
  font-weight: 700;
  transform: rotate(-4deg);
}

body.landing-view .product-card::after {
  content: "↳ progress terlihat jelas";
  position: absolute;
  right: -4px;
  bottom: -48px;
  font-family: var(--sketch-hand);
  font-size: 1.05rem;
  transform: rotate(-2deg);
}

body.landing-view .mock-top i {
  width: 10px;
  height: 10px;
  background: var(--sketch-secondary);
  border: 1.5px solid var(--sketch-line);
}

body.landing-view .metric {
  margin: 50px 12px 24px;
}

body.landing-view .metric strong {
  font-family: var(--sketch-mono);
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.landing-view .metric span {
  color: var(--sketch-muted);
  font-family: var(--sketch-mono);
  font-size: .78rem;
  font-weight: 600;
}

body.landing-view .bar {
  height: 12px;
  background: var(--sketch-secondary);
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
}

body.landing-view .bar i {
  background: var(--sketch-primary);
  border-right: 2px solid var(--sketch-line);
}

body.landing-view .mock-list {
  gap: 12px;
  margin-top: 28px;
}

body.landing-view .mock-list span {
  height: 44px;
  background: #fdfbf7;
  border: 2px dashed #667085;
  border-radius: var(--sketch-radius-sm);
}

body.landing-view .mock-list span:nth-child(2) { width: 94%; }
body.landing-view .mock-list span:nth-child(3) { width: 97%; }
body.landing-view .mock-list span:nth-child(4) { width: 90%; }

body.landing-view .section {
  position: relative;
  padding-block: 96px;
}

body.landing-view .section h2 {
  max-width: 780px;
  margin: 12px auto 0;
  font-size: clamp(2.45rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}

body.landing-view #fitur {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background: var(--sketch-surface);
  border-block: 2px dashed var(--sketch-line);
}

body.landing-view #target-pengguna {
  width: 100%;
  background: var(--sketch-surface);
  border-block: 2px dashed var(--sketch-line);
}

body.landing-view .features {
  gap: 24px;
  margin-top: 48px;
}

body.landing-view .features article {
  position: relative;
  min-height: 250px;
  padding: 28px;
  background: #fffdfa;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-md);
  box-shadow: var(--sketch-shadow);
}

body.landing-view .features article:nth-child(1) { transform: rotate(-.7deg); }
body.landing-view .features article:nth-child(2) { transform: translateY(12px) rotate(.6deg); }
body.landing-view .features article:nth-child(3) { transform: rotate(-.4deg); }

body.landing-view .features b {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--sketch-text);
  background: var(--sketch-primary);
  border: 2px solid var(--sketch-line);
  border-radius: 50% 46% 52% 44%;
  font-family: var(--sketch-mono);
  font-size: .72rem;
}

body.landing-view .features h3 {
  margin: 26px 0 8px;
  font-size: 1.85rem;
  line-height: 1.1;
}

body.landing-view .features p {
  margin-bottom: 0;
}

body.landing-view .flow {
  max-width: 920px;
}

body.landing-view .flow::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 7%;
  width: 92px;
  height: 58px;
  border-top: 3px solid var(--sketch-primary);
  border-radius: 50%;
  transform: rotate(-12deg);
}

body.landing-view .flow ol {
  gap: 20px;
  margin-top: 48px;
}

body.landing-view .flow li {
  padding: 20px 24px;
  background: transparent;
  border: 2px dashed var(--sketch-line);
  border-radius: var(--sketch-radius-md);
}

body.landing-view .flow li:nth-child(2) { margin-inline: 36px -36px; }

body.landing-view .flow li > b {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--sketch-text);
  background: var(--sketch-primary);
  border: 2px solid var(--sketch-line);
  font-family: var(--sketch-mono);
}

body.landing-view .flow strong {
  font-size: 1.35rem;
}

body.landing-view .flow small {
  color: var(--sketch-muted);
  font-size: 1rem;
  line-height: 1.45;
}

body.landing-view .pricing {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
  gap: clamp(56px, 8vw, 110px);
  padding: 104px max(20px, calc((100% - 1180px) / 2));
  background: var(--sketch-primary);
  border-top: 2px dashed var(--sketch-line);
}

body.landing-view .pricing > div:first-child {
  position: sticky;
  top: 120px;
  align-self: start;
}

body.landing-view .pricing h2 {
  margin-inline: 0;
  text-align: left;
}

body.landing-view .pricing p {
  max-width: 520px;
  color: #173d37;
  font-size: 1.2rem;
}

body.landing-view .checkout {
  position: relative;
  padding: 34px;
  background: #fffdfa;
  border: 3px solid var(--sketch-line);
  border-radius: var(--sketch-radius-md);
  box-shadow: var(--sketch-shadow-lg);
  transform: rotate(-.4deg);
}

body.landing-view .checkout::before,
body.landing-view .checkout::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -14px;
  width: 72px;
  height: 24px;
  background: rgba(244, 237, 224, .88);
  border: 1px solid rgba(17, 24, 39, .25);
}

body.landing-view .checkout::before { left: 28px; transform: rotate(-5deg); }
body.landing-view .checkout::after { right: 28px; transform: rotate(5deg); }

body.landing-view .price {
  padding-bottom: 24px;
  border-bottom: 2px dashed var(--sketch-line);
}

body.landing-view .price small,
body.landing-view label {
  color: var(--sketch-text);
  font-family: var(--sketch-mono);
  font-size: .75rem;
  font-weight: 700;
}

body.landing-view .price strong {
  font-family: var(--sketch-mono);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.landing-view .price span,
body.landing-view label small {
  color: var(--sketch-muted);
  font-family: var(--sketch-font);
  font-size: .88rem;
  line-height: 1.45;
}

body.landing-view input {
  height: 50px;
  color: var(--sketch-text);
  background: var(--sketch-surface);
  border: 2px solid #4b5563;
  border-radius: var(--sketch-radius-sm);
  font-family: var(--sketch-font);
  font-size: .92rem;
}

body.landing-view input:hover {
  border-color: var(--sketch-line);
}

body.landing-view input:focus {
  border-color: var(--sketch-line);
  box-shadow: 3px 3px 0 rgba(17, 24, 39, .2);
}

body.landing-view .check {
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-family: var(--sketch-font);
  font-size: .92rem;
  font-weight: 500;
}

body.landing-view .check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--sketch-primary);
}

body.landing-view .message {
  color: var(--sketch-danger);
  font-family: var(--sketch-mono);
  font-size: .75rem;
}

body.landing-view #faq {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  border-top: 2px dashed var(--sketch-line);
}

body.landing-view .legal-summary {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
}

body.landing-view footer,
body.landing-view + footer {
  font-family: var(--sketch-mono);
}

body.landing-view footer {
  color: var(--sketch-text);
  background: var(--sketch-secondary);
  border-top: 2px dashed var(--sketch-line);
}

@media (max-width: 900px) {
  body.landing-view .hero,
  body.landing-view .pricing {
    grid-template-columns: 1fr;
  }

  body.landing-view .hero {
    padding-top: 64px;
  }

  body.landing-view .product-card {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  body.landing-view .pricing > div:first-child {
    position: static;
  }

  body.landing-view .features {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
  }

  body.landing-view .features article:nth-child(n) {
    min-height: 0;
    transform: none;
  }
}

@media (max-width: 640px) {
  body.landing-view .nav {
    height: 68px;
    padding-inline: 16px;
  }

  body.landing-view .brand {
    font-size: 1.25rem;
  }

  body.landing-view .brand-logo {
    width: 34px;
    height: 34px;
  }

  body.landing-view .nav nav {
    gap: 6px;
  }

  body.landing-view #language-toggle { width: 40px; height: 40px; }

  body.landing-view .nav .button {
    min-height: 42px;
    padding-inline: 12px;
    font-size: .66rem;
  }

  body.landing-view .hero,
  body.landing-view .section {
    width: min(calc(100% - 32px), 1180px);
    padding-block: 64px;
  }

  body.landing-view .hero {
    gap: 52px;
  }

  body.landing-view .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  body.landing-view .hero p,
  body.landing-view .pricing p {
    font-size: 1.08rem;
  }

  body.landing-view .hero-actions,
  body.landing-view .hero-actions .button {
    width: 100%;
  }

  body.landing-view .product-card {
    padding: 22px;
    box-shadow: 7px 7px 0 var(--sketch-line);
    transform: none;
  }

  body.landing-view .product-card::after {
    right: 4px;
  }

  body.landing-view #fitur,
  body.landing-view .pricing {
    width: 100%;
    padding-inline: 16px;
  }

  body.landing-view .section h2 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  body.landing-view .flow li:nth-child(2) {
    margin-inline: 0;
  }

  body.landing-view .pricing {
    gap: 40px;
  }

  body.landing-view .checkout {
    padding: 26px 20px;
    box-shadow: 7px 7px 0 var(--sketch-line);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.landing-view *,
  body.landing-view *::before,
  body.landing-view *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Licence Box overrides — exact match to Image 3 */
body.portal-view .licence-box-container,
.licence-box-container {
  margin-top: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

body.portal-view .licence-box-header,
.licence-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

body.portal-view .licence-box-title,
.licence-box-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.01em;
}

body.portal-view .licence-status-pill,
.licence-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12.5px;
  font-weight: 700;
}

body.portal-view .licence-status-pill.green,
.licence-status-pill.green {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

body.portal-view .licence-key-box,
.licence-key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f1f3f5;
  border: 1.5px solid #374151;
  border-radius: 8px;
  padding: 5px 6px 5px 16px;
  min-height: 50px;
  box-sizing: border-box;
}

body.portal-view .licence-key-text,
.licence-key-text {
  flex: 1;
  font-family: var(--sketch-mono, monospace);
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

body.portal-view .licence-key-box .copy-btn,
.licence-key-box .copy-btn {
  background: #1dad97;
  color: #111827;
  border: 2px solid #111827;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2.5px 2.5px 0 #111827;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
  white-space: nowrap;
  font-family: inherit;
  flex-shrink: 0;
}

body.portal-view .licence-key-box .copy-btn:hover,
.licence-key-box .copy-btn:hover {
  background: #38c4af;
  box-shadow: 1px 1px 0 #111827;
  transform: translate(1.5px, 1.5px);
}

body.portal-view .licence-note-pill,
.licence-note-pill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: #374151;
}

body.portal-view .licence-note-pill small,
.licence-note-pill small {
  color: #374151;
  font-size: 12px;
}

body.portal-view .new-activations-container,
.new-activations-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

body.portal-view .new-code-box,
.new-code-box {
  padding-top: 14px;
  border-top: 1.5px dashed #cbd5e1;
}

/* Activation feedback banners */
body.portal-view .activation-result.success {
  background: #e6f9f4;
  border: 2px solid #0f766e;
  box-shadow: 3px 3px 0 var(--sketch-line);
  color: #111827;
}

body.portal-view .activation-result.error {
  background: #fff1f2;
  border: 2px solid #e11d48;
  box-shadow: 3px 3px 0 var(--sketch-line);
  color: #9f1239;
}

body.portal-view .activation-banner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

body.portal-view .activation-banner-text strong {
  display: block;
  font-size: .92rem;
  color: #065f46;
  margin-bottom: 3px;
}

body.portal-view .activation-banner-text p {
  margin: 0;
  font-size: .8rem;
  color: #374151;
}

body.portal-view .activation-error-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: #9f1239;
}

/* Device slot card — active PC is occupying this slot */
body.portal-view .device-slot-box {
  padding-top: 14px;
  border-top: 1.5px solid #bbf7d0;
  background: #f0fdf4;
  border-radius: 8px;
  padding: 14px;
}

body.portal-view .device-info-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.portal-view .device-slot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

body.portal-view .device-slot-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.portal-view .device-slot-info small {
  font-size: 12px;
  color: var(--muted, #6b7280);
}

body.portal-view .licence-status-pill.active {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

/* Upgrade options grid */
body.portal-view .upgrade-options-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

body.portal-view .upgrade-option-card {
  background: #fdfaf6;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  padding: 22px;
  box-shadow: 4px 4px 0 var(--sketch-line);
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.portal-view .upgrade-option-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--sketch-line);
}

body.portal-view .upgrade-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

body.portal-view .upgrade-card-badge {
  display: inline-block;
  background: #f6df77;
  color: var(--sketch-text);
  border: 1.5px solid var(--sketch-line);
  font-family: var(--sketch-mono);
  font-size: .62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.portal-view .upgrade-card-price {
  font-family: var(--sketch-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f766e;
}

body.portal-view .upgrade-card-title {
  margin: 0 0 12px;
  font-family: var(--sketch-hand);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sketch-text);
  line-height: 1.2;
}

body.portal-view .upgrade-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
}

body.portal-view .upgrade-card-item {
  position: relative;
  padding-left: 18px;
  font-family: var(--sketch-mono);
  font-size: .74rem;
  color: var(--sketch-text);
  line-height: 1.4;
}

body.portal-view .upgrade-card-check {
  position: absolute;
  left: 0;
  color: var(--sketch-primary);
  font-weight: 800;
}

body.portal-view .upgrade-card-max {
  grid-column: 1 / -1;
  background: #d9f5ef;
  border: 2px dashed var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  padding: 22px;
  text-align: center;
}

body.portal-view .upgrade-card-max h3 {
  margin: 0 0 6px;
  font-family: var(--sketch-hand);
  font-size: 1.3rem;
  color: var(--sketch-text);
}

body.portal-view .upgrade-card-max p {
  margin: 0;
  font-family: var(--sketch-mono);
  font-size: .78rem;
  color: var(--sketch-muted);
}

/* Topup Token Packages */
body.portal-view .topup-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body.portal-view .topup-pkg-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 10px;
  background: #ffffff;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  box-shadow: 3px 3px 0 var(--sketch-line);
  cursor: pointer;
  position: relative;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 120ms ease-out;
  text-align: center;
}

body.portal-view .topup-pkg-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--sketch-line);
  background: #fdfaf6;
}

body.portal-view .topup-pkg-btn.active {
  background: #d9f5ef;
  border-color: #0f766e;
  box-shadow: 3px 3px 0 #0f766e;
}

body.portal-view .pkg-credits {
  font-family: var(--sketch-mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--sketch-text);
}

body.portal-view .pkg-price {
  font-family: var(--sketch-hand);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f766e;
}

body.portal-view .pkg-hint {
  font-family: var(--sketch-mono);
  font-size: .62rem;
  color: var(--sketch-muted);
}

body.portal-view .pkg-badge {
  position: absolute;
  top: -9px;
  right: -6px;
  background: #f6df77;
  border: 1.5px solid var(--sketch-line);
  font-family: var(--sketch-mono);
  font-size: .55rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}

body.portal-view .topup-form-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

body.portal-view .topup-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

body.portal-view .topup-input-group label {
  font-family: var(--sketch-mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--sketch-text);
}

body.portal-view .topup-input-group input {
  padding: 10px 14px;
  border: 2px solid var(--sketch-line);
  border-radius: var(--sketch-radius-sm);
  font-family: var(--sketch-mono);
  font-size: .95rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--sketch-text);
}

body.portal-view .topup-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 130px;
}

body.portal-view .topup-calc-label {
  font-family: var(--sketch-mono);
  font-size: .65rem;
  font-weight: 700;
  color: var(--sketch-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

body.portal-view .topup-summary strong {
  font-family: var(--sketch-hand);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--sketch-text);
}

body.portal-view .topup-feedback-box {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--sketch-radius-sm);
  background: #d9f5ef;
  border: 2px dashed var(--sketch-line);
  color: var(--sketch-text);
  font-size: .84rem;
  line-height: 1.5;
  font-family: var(--sketch-mono);
}

body.portal-view .topup-feedback-box.error {
  background: #fee2e2;
  border-color: var(--sketch-danger);
  color: var(--sketch-danger);
}

body.portal-view .topup-feedback-box.info {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
}

body.portal-view .topup-clarity-notice {
  background: #d9f5ef !important;
  border: 2px dashed var(--sketch-line) !important;
  border-radius: var(--sketch-radius-sm) !important;
  color: var(--sketch-text) !important;
  font-family: var(--sketch-mono);
  font-size: .75rem !important;
}

@media (max-width: 520px) {
  body.portal-view .topup-packages {
    grid-template-columns: repeat(2, 1fr);
  }

  body.portal-view .topup-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  body.portal-view .topup-summary,
  body.portal-view .topup-input-group,
  body.portal-view #btn-topup-submit {
    width: 100%;
  }
}
