﻿/*
Theme Name: Keyta Landing
Theme URI: https://www.keyta.id/
Author: Keyta
Author URI: https://www.keyta.id/
Description: Custom lightweight WordPress theme for the Keyta Android app landing page, with CMS page and post support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: keyta-landing
*/
:root {
        --ink: #232c44;
        --ink-dark: #14151a;
        --muted: #697184;
        --line: #e8eaef;
        --surface: #ffffff;
        --soft: #f9fafb;
        --panel: #f1f2f5;
        --yellow: #f7b720;
        --yellow-soft: #f9f5e6;
        --blue: #124990;
        --green: #2ccc8a;
        --red: #e60036;
        --radius: 8px;
        --shadow: 0 24px 70px rgba(20, 21, 26, 0.14);
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        color: var(--ink);
        background: var(--surface);
        font-family:
          Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", sans-serif;
        line-height: 1.5;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      img {
        max-width: 100%;
        display: block;
      }

      .container {
        width: min(1120px, calc(100% - 40px));
        margin: 0 auto;
      }

      .nav {
        position: sticky;
        top: 0;
        z-index: 20;
        background: rgba(255, 255, 255, 0.92);
        border-bottom: 1px solid rgba(232, 234, 239, 0.9);
        backdrop-filter: blur(16px);
      }

      .nav-inner {
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        font-size: 20px;
      }

      .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: var(--radius);
        background: var(--yellow);
        color: var(--ink-dark);
        display: grid;
        place-items: center;
        font-weight: 900;
      }

      .nav-links {
        display: flex;
        align-items: center;
        gap: 22px;
        margin: 0;
        padding: 0;
        list-style: none;
        color: var(--muted);
        font-size: 14px;
        font-weight: 650;
      }

      .nav-links li {
        margin: 0;
      }

      .button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border-radius: var(--radius);
        padding: 0 18px;
        border: 1px solid transparent;
        font-weight: 800;
        font-size: 14px;
        white-space: nowrap;
      }

      .button-primary {
        color: var(--ink-dark);
        background: var(--yellow);
        box-shadow: 0 14px 30px rgba(247, 183, 32, 0.32);
      }

      .button-secondary {
        color: var(--ink);
        background: var(--surface);
        border-color: var(--line);
      }

      .hero {
        min-height: calc(100vh - 72px);
        display: flex;
        align-items: center;
        padding: 64px 0 48px;
        background:
          linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 44%, rgba(255, 255, 255, 0.6) 100%),
          url("./assets/images/onboard.webp") right 8% center / min(44vw, 560px) no-repeat,
          var(--yellow-soft);
        border-bottom: 1px solid var(--line);
      }

      .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
        align-items: center;
        gap: 56px;
      }

      .eyebrow {
        width: fit-content;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--blue);
        font-size: 13px;
        font-weight: 800;
      }

      .eyebrow::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 99px;
        background: var(--green);
      }

      h1 {
        margin: 22px 0 18px;
        max-width: 720px;
        color: var(--ink-dark);
        font-size: clamp(44px, 6vw, 76px);
        line-height: 1.01;
        letter-spacing: 0;
      }

      .hero-copy {
        max-width: 640px;
        margin: 0 0 28px;
        color: #4e566b;
        font-size: 19px;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }

      .proof-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 34px;
        max-width: 660px;
      }

      .proof {
        padding: 14px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid var(--line);
        border-radius: var(--radius);
      }

      .proof strong {
        display: block;
        color: var(--ink-dark);
        font-size: 18px;
      }

      .proof span {
        color: var(--muted);
        font-size: 13px;
      }

      .phone-wrap {
        justify-self: end;
        width: min(100%, 390px);
        filter: drop-shadow(var(--shadow));
      }

      .phone {
        border-radius: 34px;
        padding: 14px;
        background: var(--ink-dark);
      }

      .screen {
        overflow: hidden;
        border-radius: 24px;
        min-height: 650px;
        background: var(--panel);
      }

      .app-top {
        padding: 24px 18px 18px;
        background: var(--yellow-soft);
      }

      .status {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
        color: var(--ink-dark);
        font-size: 12px;
        font-weight: 800;
      }

      .balance {
        padding: 18px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
      }

      .label {
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
      }

      .amount {
        margin-top: 4px;
        color: var(--ink-dark);
        font-size: 27px;
        font-weight: 900;
      }

      .quick-actions {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 14px 12px;
        background: var(--surface);
      }

      .quick {
        min-height: 70px;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 8px;
        border-radius: var(--radius);
        color: var(--ink);
        font-size: 10px;
        font-weight: 800;
        text-align: center;
      }

      .quick svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
      }

      .quick:nth-child(1) {
        background: #f6e8ec;
        color: var(--red);
      }

      .quick:nth-child(2) {
        background: #edf7f2;
        color: #15764f;
      }

      .quick:nth-child(3) {
        background: #e8f0fb;
        color: var(--blue);
      }

      .quick:nth-child(4) {
        background: #fff4d7;
        color: #8a5d00;
      }

      .screen-section {
        margin-top: 8px;
        padding: 16px;
        background: var(--surface);
      }

      .screen-title {
        display: flex;
        justify-content: space-between;
        color: var(--ink-dark);
        font-size: 14px;
        font-weight: 900;
      }

      .order-card {
        margin-top: 12px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--soft);
      }

      .order-line {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 8px;
        color: var(--ink);
        font-size: 12px;
        font-weight: 800;
      }

      .pill {
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(44, 204, 138, 0.14);
        color: #15764f;
        font-size: 10px;
        font-weight: 900;
      }

      .muted {
        color: var(--muted);
      }

      section {
        padding: 86px 0;
      }

      .section-heading {
        max-width: 760px;
        margin-bottom: 34px;
      }

      .section-heading h2 {
        margin: 0 0 12px;
        color: var(--ink-dark);
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.08;
        letter-spacing: 0;
      }

      .section-heading p {
        margin: 0;
        color: var(--muted);
        font-size: 18px;
      }

      .feature-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
      }

      .feature-card {
        min-height: 250px;
        padding: 24px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
      }

      .feature-icon {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        margin-bottom: 18px;
        border-radius: var(--radius);
        background: var(--yellow-soft);
        color: #8a5d00;
      }

      .feature-icon svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
      }

      .feature-card h3 {
        margin: 0 0 10px;
        color: var(--ink-dark);
        font-size: 20px;
      }

      .feature-card p {
        margin: 0;
        color: var(--muted);
      }

      .workflow {
        background: var(--soft);
        border-block: 1px solid var(--line);
      }

      .workflow-grid {
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
        align-items: start;
        gap: 48px;
      }

      .steps {
        display: grid;
        gap: 14px;
      }

      .step {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 14px;
        padding: 18px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
      }

      .step-number {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: var(--radius);
        background: var(--ink);
        color: var(--surface);
        font-weight: 900;
      }

      .step h3 {
        margin: 0 0 4px;
        color: var(--ink-dark);
        font-size: 18px;
      }

      .step p {
        margin: 0;
        color: var(--muted);
      }

      .visual-board {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .visual {
        min-height: 210px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 18px;
        border-radius: var(--radius);
        border: 1px solid var(--line);
        background: var(--surface);
      }

      .visual.wide {
        grid-column: span 2;
        min-height: 180px;
        background: var(--ink);
        color: var(--surface);
      }

      .visual img {
        width: 78px;
        height: 78px;
        object-fit: contain;
      }

      .visual strong {
        font-size: 18px;
      }

      .visual span {
        color: var(--muted);
        font-size: 14px;
      }

      .visual.wide span {
        color: rgba(255, 255, 255, 0.74);
      }

      .audience-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
      }

      .audience {
        padding: 28px;
        border-radius: var(--radius);
        border: 1px solid var(--line);
        background: var(--surface);
      }

      .audience h3 {
        margin: 0 0 14px;
        color: var(--ink-dark);
        font-size: 24px;
      }

      .checks {
        display: grid;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .checks li {
        display: grid;
        grid-template-columns: 24px 1fr;
        gap: 10px;
        color: var(--muted);
      }

      .checks li::before {
        content: "";
        width: 18px;
        height: 18px;
        margin-top: 2px;
        border-radius: 99px;
        background:
          linear-gradient(var(--green), var(--green)) center / 9px 2px no-repeat,
          var(--yellow-soft);
      }

      .cta {
        padding: 72px 0;
        background: var(--ink-dark);
        color: var(--surface);
      }

      .cta-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 28px;
      }

      .cta h2 {
        margin: 0 0 8px;
        max-width: 720px;
        color: var(--surface);
        font-size: clamp(32px, 4vw, 50px);
        line-height: 1.08;
        letter-spacing: 0;
      }

      .cta p {
        margin: 0;
        max-width: 680px;
        color: rgba(255, 255, 255, 0.72);
        font-size: 18px;
      }

      footer {
        padding: 28px 0;
        background: var(--ink-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.62);
        font-size: 14px;
      }

      footer a {
        color: inherit;
      }

      .footer-inner {
        display: flex;
        justify-content: space-between;
        gap: 20px;
      }

      @media (max-width: 920px) {
        .nav-links {
          display: none;
        }

        .hero {
          min-height: auto;
          background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
            url("./assets/images/onboard.webp") right top 40px / 310px no-repeat,
            var(--yellow-soft);
        }

        .hero-grid,
        .workflow-grid,
        .cta-inner {
          grid-template-columns: 1fr;
        }

        .phone-wrap {
          justify-self: center;
          width: min(100%, 360px);
        }

        .feature-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      @media (max-width: 640px) {
        .container {
          width: min(100% - 28px, 1120px);
        }

        .nav-inner {
          height: 64px;
        }

        .hero {
          padding-top: 44px;
        }

        h1 {
          font-size: 42px;
        }

        .hero-copy {
          font-size: 17px;
        }

        .proof-row,
        .feature-grid,
        .audience-grid,
        .visual-board {
          grid-template-columns: 1fr;
        }

        .visual.wide {
          grid-column: span 1;
        }

        .screen {
          min-height: 590px;
        }

        section {
          padding: 64px 0;
        }

        .footer-inner {
          flex-direction: column;
        }
      }
.wp-content-wrap {
  padding: 72px 0;
  background: var(--soft);
  min-height: 60vh;
}

.wp-content-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wp-content-card h1,
.wp-content-card h2,
.wp-content-card h3 {
  color: var(--ink-dark);
  letter-spacing: 0;
}

.wp-content-card h1 {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}

.wp-content-card a {
  color: var(--blue);
  font-weight: 700;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
