/* =====================================================================
   Oasys Technology website - one stylesheet for both pages
   Home (general software company) and /papertrader (product page, kraft theme: body.pt)
   Colours come from the Oasys logo: deep navy + teal. Paper Trader adds kraft-paper brown.
   ===================================================================== */
:root {
    --navy: #0b2238;          /* logo background navy - header, hero, footer */
    --navy-2: #12304d;        /* lighter navy for lines on dark */
    --teal: #149e96;          /* logo teal - links, highlights */
    --teal-dark: #0d7c76;     /* teal on white (better contrast) */
    --ink: #17293a;           /* body text */
    --muted: #5b6b7a;         /* secondary text */
    --paper: #f4f7f9;         /* page background (cool white) */
    --white: #ffffff;
    --line: #d9e2e8;          /* borders on light background */
    --kraft: #a2703f;         /* Paper Trader: kraft paper brown */
    --kraft-dark: #7a5129;
    --kraft-light: #ead8bf;
    --wa: #1f8f55;            /* WhatsApp button green (darker = readable white text) */
    --radius: 10px;
    --max: 1160px;
    --font: "Archivo", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--font); font-size: 17px; line-height: 1.6;
    font-variation-settings: "wdth" 100;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 10px; }

/* ---- headings: Archivo stretched wide = the house style of the headlines */
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 760; font-variation-settings: "wdth" 118; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 720; font-variation-settings: "wdth" 115; }
h3 { font-size: 19px; font-weight: 680; font-variation-settings: "wdth" 108; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #c9d6e2; max-width: 56ch; }

/* ---- buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
    font: 600 16px/1.2 inherit; font-family: inherit; text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18774a; }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- header (dark, logo as given) */
.site-head { background: var(--navy); color: #fff; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #d7e3ee; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .nav-call { color: #fff; font-weight: 650; }
@media (max-width: 760px) { .nav a:not(.nav-call):not(.keep) { display: none; } .logo img { height: 38px; } }

/* =====================================================================
   HOME
   ===================================================================== */
.hero { background: var(--navy); color: #fff; padding: 40px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-bottom: 40px; } }

/* connected-system drawing (logo's dot + line symbol, grown into a business) */
.net { width: 100%; max-width: 520px; margin-left: auto; }
.net .link { stroke: #2d5a7c; stroke-width: 2; fill: none; }
.net .link.hot { stroke: var(--teal); }
.net .node { fill: var(--navy); stroke: #4f7fa3; stroke-width: 2; }
.net .node.core { fill: var(--teal); stroke: none; }
.net .dot { fill: var(--teal); }
.net text { fill: #d7e3ee; font: 600 15px var(--font); font-variation-settings: "wdth" 110; }
.net .core-label { fill: #fff; font-size: 16px; }
/* the one page-load moment: lines draw from the centre outwards */
@media (prefers-reduced-motion: no-preference) {
    .net .link { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s ease-out forwards; }
    .net .link:nth-of-type(2) { animation-delay: .1s; } .net .link:nth-of-type(3) { animation-delay: .2s; }
    .net .link:nth-of-type(4) { animation-delay: .3s; } .net .link:nth-of-type(5) { animation-delay: .4s; }
    .net .link:nth-of-type(6) { animation-delay: .5s; } .net .link:nth-of-type(7) { animation-delay: .6s; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
}

.section { padding: 80px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { color: var(--muted); font-size: 18px; }

/* what we build: rows, title left + text right */
.rows { margin-top: 30px; border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row h3 { margin: 0; }
.row p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 6px; } }

/* how we work: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--teal); padding-top: 16px; }
.steps li::before { content: counter(s); display: block; font: 760 40px/1 var(--font); font-variation-settings: "wdth" 125; color: var(--teal-dark); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* why us: plain statements */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 24px; }
.fact { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact b { display: block; font-size: 19px; font-variation-settings: "wdth" 110; }
.fact span { color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* contact */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 10px; }
.contact dl { margin: 0; }
.contact dt { color: #8fb0c9; font-size: 14px; margin-top: 18px; }
.contact dd { margin: 2px 0 0; font-size: 19px; }
.contact a { color: #fff; }
.contact .lead { color: #c9d6e2; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.site-foot { background: #071827; color: #8fa6ba; font-size: 14px; padding: 22px 0; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.site-foot a { color: #c9d6e2; }

/* floating WhatsApp button (every page) */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
    background: var(--wa); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* =====================================================================
   PAPER TRADER (body.pt) - kraft paper theme
   ===================================================================== */
.pt-hero {
    color: var(--ink); padding: 50px 0 60px;
    /* kraft paper: brown with fine fibre lines */
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px),
        repeating-linear-gradient(0deg, rgba(0,0,0,.025) 0 1px, transparent 1px 11px),
        #c9a273;
}
.pt-hero h1 { color: #2a1c0f; font-variation-settings: "wdth" 122; max-width: 15ch; }
.pt-hero .lead { color: #3f2b17; }
.pt-hero .btn-line { color: #2a1c0f; border-color: rgba(42,28,15,.55); }
.pt-hero .btn-line:hover { background: rgba(255,255,255,.18); border-color: #2a1c0f; }
.pt-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: 1fr; } }
.pt-name { margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; color: #2a1c0f; }
.pt-name b { font-size: 24px; font-weight: 780; font-variation-settings: "wdth" 120; letter-spacing: -0.01em; }
.pt-name span { font-size: 16px; font-weight: 600; color: #4a321b; }
.pt-tag { display: inline-block; background: rgba(42,28,15,.12); color: #2a1c0f; padding: 4px 12px; border-radius: 999px; font-size: 15px; font-weight: 600; margin-bottom: 16px; }

/* reels seen end-on: the memorable picture of the page */
.reels { position: relative; height: 410px; width: 420px; max-width: 100%; margin-left: auto; }   /* fixed width: the reels inside are absolutely placed */
.reel {
    position: absolute; border-radius: 50%;
    background:
        radial-gradient(circle at center, #4a3420 0 9%, #e9dcc6 9.5% 14%, transparent 14.5%),
        repeating-radial-gradient(circle at center, #b98d5b 0 2px, #a87c4b 2px 4px);
    box-shadow: inset 0 0 0 6px rgba(70,45,20,.25), 6px 10px 0 rgba(42,28,15,.18);
}
.reel .tag {
    position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap;
    background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.r1 { width: 230px; height: 230px; left: 0; top: 10px; }
.r2 { width: 190px; height: 190px; left: 210px; top: 0; }
.r3 { width: 170px; height: 170px; left: 225px; top: 228px; }
@media (max-width: 900px) { .reels { margin: 10px 0 0; } }
@media (max-width: 520px) {                                   /* phone: smaller reels, nothing wider than the screen */
    .reels { width: 100%; max-width: 330px; height: 330px; }
    .r1 { width: 175px; height: 175px; left: 8px; top: 8px; }
    .r2 { width: 145px; height: 145px; left: 160px; top: 0; }
    .r3 { width: 130px; height: 130px; left: 168px; top: 185px; }
    .reel .tag { font-size: 11px; padding: 3px 7px; }
}
.pt-grid > *, .hero-grid > * { min-width: 0; }                 /* grid columns may shrink below their content */

.pt-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; margin-top: 36px; }
.pt-point svg { width: 34px; height: 34px; stroke: var(--kraft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.pt-point h3 { margin-bottom: 6px; }
.pt-point p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .pt-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pt-points { grid-template-columns: 1fr; } }

.shots { display: grid; grid-template-columns: 1fr 260px; gap: 28px; margin-top: 30px; align-items: start; }
.shot-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.shot-tabs button {
    font: 600 15px var(--font); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.shot-tabs button[aria-selected="true"] { background: var(--kraft); border-color: var(--kraft); color: #fff; }
.screen { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(23,41,58,.12); }
.screen figcaption, .phone figcaption { font-size: 15px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.phone { border: 10px solid #1d2733; border-radius: 30px; overflow: hidden; background: #1d2733; max-width: 260px; }
.phone figcaption { background: #fff; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }

.flow { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 46px 12px 0 0; font-weight: 600; font-variation-settings: "wdth" 106; }
.flow li::before {
    content: counter(f); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
    background: var(--kraft); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.flow li::after { content: ""; position: absolute; top: 17px; left: 40px; right: 6px; height: 2px; background: var(--kraft-light); }
.flow li:last-child::after { display: none; }
.flow small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
    .flow { grid-template-columns: 1fr; }
    .flow li { padding: 0 0 18px 50px; min-height: 52px; }
    .flow li::after { top: 40px; left: 16px; right: auto; width: 2px; height: calc(100% - 44px); }
}

.also { columns: 2; column-gap: 48px; padding: 0; margin: 20px 0 0; list-style: none; }
.also li { break-inside: avoid; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); position: relative; }
.also li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--kraft); }
@media (max-width: 700px) { .also { columns: 1; } }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--kraft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.cta-band { background: var(--kraft-dark); color: #fff; padding: 60px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f1e3cf; }
.cta-band .btn-line { border-color: rgba(255,255,255,.6); }


@media print { .wa-float, .site-head nav, .btn-row { display: none !important; } }
