:root {
    --md-sys-color-primary: #006c51;
    --md-sys-color-on-primary: #ffffff;
    --md-sys-color-primary-container: #0ab68b;
    --md-sys-color-primary-container_variant: #bbffe2;
    --md-sys-color-on-primary-container: #00402f;

    --md-sys-color-secondary: #236c28;
    --md-sys-color-on-secondary: #ffffff;
    --md-sys-color-secondary-container: #92de8b;
    --md-sys-color-on-secondary-container: #196320;

    --md-sys-color-surface: #ffffff;
    --md-sys-color-surface-variant: #e8f3f2;
    --md-sys-color-surface-container: #f4fbf5;
    --md-sys-color-on-surface: #111827;
    --md-sys-color-on-surface-variant: #374151;

    --md-sys-color-outline: #d1d5db;
    --md-sys-color-bg: #f4f6f7;

    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.06);
    --shadow-2: 0 6px 18px rgba(0, 0, 0, 0.12);

    --max: 1100px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Helvetica,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji";
    background: var(--md-sys-color-bg);
    color: var(--md-sys-color-on-surface);
    line-height: 1.55;
}

a {
    color: inherit;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 16px 40px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--md-sys-color-outline);
}

.topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--md-sys-color-primary-container);
    display: grid;
    place-items: center;
    color: var(--md-sys-color-on-primary-container);
    font-weight: 800;
    box-shadow: var(--shadow-1);
}

.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title strong {
    font-size: 14px;
}

.brand-title span {
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--md-sys-color-on-surface-variant);
}

.nav a:hover {
    background: #fff;
    box-shadow: var(--shadow-1);
    color: var(--md-sys-color-primary);
}

.nav a.active {
    background: var(--md-sys-color-primary-container_variant);
    color: var(--md-sys-color-on-primary-container);
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    box-shadow: var(--shadow-1);
}

.btn-secondary {
    background: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
    box-shadow: var(--shadow-1);
}

.btn-primary:hover {
    box-shadow: var(--shadow-2);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-2);
}

.btn-tonal {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.btn-ghost {
    background: transparent;
    color: var(--md-sys-color-on-surface-variant);
    border: 1px solid var(--md-sys-color-outline);
}

.btn-ghost:hover {
    background: #fff;
}

.btn-ghost-variant {
    background: transparent;
    color: var(--md-sys-color-on-surface-variant);
    border: 1px solid var(--md-sys-color-primary);
}

.btn-ghost-variant:hover {
    background: #fff;
}

.hero {
    gap: 18px;
    padding: 22px 0 10px;
}

.hero-card {
    background: linear-gradient(135deg, var(--md-sys-color-primary-container), var(--md-sys-color-surface));
    border-radius: var(--radius-xl);
    padding: 18px;
    box-shadow: var(--shadow-1);
    display: grid;
    margin-bottom: 16px;
    gap: 12px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    width: fit-content;
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
}

.h1 {
    font-size: 30px;
    margin: 0;
    letter-spacing: -0.02em;
}

.lead {
    margin: 0;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 14px;
    max-width: 70ch;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.card {
    grid-column: span 12;
    background: var(--md-sys-color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-1);
    padding: 16px;
}

@media (min-width: 840px) {
    .card.span6 {
        grid-column: span 6;
    }

    .card.span4 {
        grid-column: span 4;
    }

    .hero {
        grid-template-columns: 1.25fr 0.75fr;
        align-items: stretch;
    }
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.card-title h2 {
    margin: 0;
    font-size: 16px;
}

.muted {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 13px;
    margin: 0;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.chip {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid var(--md-sys-color-outline);
    background: #fff;
    color: var(--md-sys-color-on-surface-variant);
}

.chip.secondary {
    background: var(--md-sys-color-secondary);
    color: var(--md-sys-color-on-secondary);
    border-color: transparent;
}

.chip.strong {
    background: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
    border-color: transparent;
}

.list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 13px;
}

.list li {
    margin: 6px 0;
}

.footer {
    margin-top: 28px;
    padding: 18px 16px;
    border-top: 1px solid var(--md-sys-color-outline);
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
}

.footer a {
    color: var(--md-sys-color-primary);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.page-header {
    margin: 16px;
}

.page-header h1 {
    margin: 0;
    font-size: 22px;
}

.page-header p {
    margin: 6px 0 0;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 13px;
    max-width: 80ch;
}

/* =========================
	Policy
   ========================= */

.policy {
    background: var(--md-sys-color-surface);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-1);
    padding: 18px;
}

.policy h2 {
    color: var(--md-sys-color-primary);
    margin: 18px 0 8px;
    font-size: 18px;
}

.policy h3 {
    margin: 14px 0 6px;
    font-size: 15px;
}

.policy p,
.policy li {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 13px;
}

.policy .meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
    margin-bottom: 10px;
}

.divider {
    height: 1px;
    background: var(--md-sys-color-outline);
    margin: 14px 0;
    border: 0;
}

/* =========================
	Contact Us
   ========================= */

.contact-grid {
    display: grid;
    gap: 12px;
}

@media (min-width: 840px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: grid;
    gap: 6px;
}

label {
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
}

input,
textarea {
    border-radius: 14px;
    border: 1px solid var(--md-sys-color-outline);
    padding: 12px 12px;
    font-size: 14px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 4px rgba(38, 134, 122, 0.12);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.note {
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
}

/* =========================
  Logo
   ========================= */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.brand-title strong {
    font-size: 14px;
}

.brand-title span {
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
}

/* =========================
   Responsive nav + drawer
   ========================= */

.menu-btn {
    display: none;
    border: 1px solid var(--md-sys-color-outline);
    background: #fff;
    color: var(--md-sys-color-on-surface);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    box-shadow: var(--shadow-1);
}

.menu-btn:active {
    transform: scale(0.98);
}

.menu-icon {
    width: 22px;
    height: 22px;
    margin: 0 auto;
    display: block;
}

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

    .menu-btn {
        display: inline-grid;
        place-items: center;
    }
}

.drawer-scrim {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 98;
}

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(84vw, 320px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--md-sys-color-outline);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    z-index: 99;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-scrim.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 4px 10px;
}

.drawer-nav {
    display: grid;
    gap: 6px;
}

.drawer-nav a {
    text-decoration: none;
    padding: 12px 12px;
    border-radius: 14px;
    color: var(--md-sys-color-on-surface-variant);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    box-shadow: var(--shadow-1);
    font-size: 14px;
}

.drawer-nav a:hover {
    color: var(--md-sys-color-on-surface);
}

.drawer-nav a.active {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    border-color: transparent;
}

.drawer-actions {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.drawer-close {
    background: #fff;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-1);
}

/* =========================
   Screenshots promo section
   ========================= */
.screenshots {
    margin-top: 14px;
}

.screenshots-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.screenshots-head h2 {
    margin: 0;
    font-size: 16px;
}

.screenshots-head p {
    margin: 6px 0 0;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 13px;
    max-width: 70ch;
}

.shots-row {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.shots-row::-webkit-scrollbar {
    height: 8px;
}

.shots-row::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 999px;
}

.shot {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
    background: var(--md-sys-color-surface);
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-1);
    padding: 10px;
}

.phone-frame {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.phone-frame::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.14);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shot-caption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--md-sys-color-on-surface-variant);
}

/* =========================
   FAQ accordion
   ========================= */
.faq {
    display: grid;
    gap: 10px;
}

.faq-section {
    margin-top: 0;
}

.faq-section h2 {
    margin-top: 16px;
    font-size: 16px;
    color: var(--md-sys-color-outline);
}

.faq-item {
    background: var(--md-sys-color-surface-container);
    margin-top: 10px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    font-weight: 800;
    color: var(--md-sys-color-on-surface-variant);
}

.faq-q span {
    font-size: 14px;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.18s ease;
}

.faq-a {
    padding: 0 14px 14px;
    display: none;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 13px;
    white-space: pre-line;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.error-text {
    color: #b42318;
    font-size: 12px;
    margin-top: 4px;
}

.success-text {
    color: #067647;
    font-size: 12px;
    margin-top: 8px;
}

.error-text {
    color: #b42318;
    font-size: 12px;
    margin-top: 4px;
}

.field.has-error input,
.field.has-error textarea {
    border-color: #b42318;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.status-box {
    display: none;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-1);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.status-box.success {
    display: block;
    background: #ecfdf3;
    border-color: #a6f4c5;
    color: #067647;
}

.status-box.error {
    display: block;
    background: #fef3f2;
    border-color: #fecdca;
    color: #b42318;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.steps {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.step-card {
    background: var(--md-sys-color-surface-container);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 12px;
}

.step-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.step-card p {
    margin: 0;
    font-size: 13px;
    color: var(--md-sys-color-on-surface-variant);
}

.notice-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: var(--md-sys-color-surface-container);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.notice-box p {
    margin: 0;
    font-size: 13px;
}

.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.checkbox-wrap input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-wrap label {
    font-size: 12px;
    line-height: 1.5;
}

.contact-card {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--md-sys-color-surface-container);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-1);
}

.contact-card-success {
    background: #ecfdf3;
    border-color: #a6f4c5;
    color: #067647;
}

.contact-value {
    margin-top: 6px;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
    text-decoration: underline;
}
