/* Fondasi tata letak; warna setiap bisnis ada di variables.css. */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
}

body:has(dialog[open]) {
    overflow: hidden;
}

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

button {
    font: inherit;
}

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

button, a, summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

.wrap {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 20;
    padding: 10px 18px;
    background: var(--ink);
    color: white;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.navigation {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand img {
    width: 42px;
    height: 42px;
}

.brand-name {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.brand-name b {
    color: var(--accent);
}

.brand-domain {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.015em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover, .footer-links a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border: 1px solid var(--accent);
    border-radius: var(--button-radius);
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgb(0 0 0 / 12%);
}

.button-outline {
    color: var(--accent);
    background: transparent;
}

.hero {
    padding: 72px 0 66px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    align-items: center;
    gap: 52px;
}

.eyebrow {
    display: block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.7;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.05em;
}

h1 {
    margin: 24px 0;
    font-size: clamp(42px, 4.55vw, 68px);
    line-height: 1.07;
}

em {
    color: var(--accent);
    font-style: normal;
}

.hero-intro {
    max-width: 490px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.hero-art {
    position: relative;
    margin: 0;
}

.hero-art > img {
    width: 100%;
    border-radius: var(--art-radius);
}

.hero-art figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.hero-art figcaption::after {
    content: '';
    width: 70px;
    height: 1px;
    background: var(--accent);
}

.category-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.strip-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.section {
    padding: 88px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    align-items: end;
    gap: 48px;
    margin-bottom: 34px;
}

h2 {
    margin: 14px 0 0;
    font-size: clamp(32px, 3.4vw, 46px);
    line-height: 1.15;
}

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

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product {
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
}

.product-image {
    width: 100%;
    aspect-ratio: 600 / 440;
    object-fit: cover;
}

.product-body {
    padding: 26px;
}

.product h3 {
    margin: 10px 0;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.035em;
}

.product p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.product-detail {
    display: block;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.feature {
    padding: 76px 0;
    background: var(--pale);
}

.feature-grid {
    display: grid;
    grid-template-columns: 0.94fr 1fr;
    gap: 72px;
    align-items: center;
}

.feature-art {
    width: 100%;
    border-radius: var(--art-radius);
}

.feature-copy > p {
    margin: 24px 0;
    color: var(--muted);
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps li {
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.steps h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.about-grid > p {
    margin: 0;
    color: var(--muted);
}

.faq {
    padding-top: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
}

details {
    border-bottom: 1px solid var(--line);
}

details:first-child {
    border-top: 1px solid var(--line);
}

summary {
    position: relative;
    padding: 21px 36px 21px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 17px;
    font-size: 25px;
    color: var(--accent);
}

details[open] summary::after {
    content: '−';
}

details p {
    padding-right: 26px;
    color: var(--muted);
    font-size: 15px;
}

.closing {
    padding: 64px 0;
    background: var(--accent);
    color: white;
}

.closing-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.closing h2 {
    margin: 0;
}

.closing em {
    color: var(--pale);
}

.closing p {
    margin: 18px 0 0;
    max-width: 580px;
}

.closing .actions {
    flex-shrink: 0;
    margin: 0;
}

.closing .button {
    border-color: white;
    background: white;
    color: var(--accent);
}

.closing .button-outline {
    background: transparent;
    color: white;
}

.site-footer {
    padding: 36px 0 24px;
}

.footer-main, .footer-bottom, .footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

.footer-links {
    font-size: 14px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

dialog {
    width: min(480px, calc(100% - 40px));
    max-height: calc(100% - 40px);
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 24px 100px rgb(0 0 0 / 20%);
}

dialog::backdrop {
    background: rgb(15 23 28 / 55%);
}

dialog h2 {
    margin: 10px 0 20px;
    font-size: 34px;
}

dialog p {
    margin-bottom: 0;
    color: var(--muted);
}

.dialog-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 30px;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}
