/* ===================== */
/* Base (mobile-first) */
/* ===================== */
:root{
--bg:#f7f9ff; --bg-soft:#edeff5; 
--card:#fff;
--text:#10143a; --muted:#47507a;
--brand:#0ea956; --brand1:#047036;
--shadow:0 10px 20px rgba(11,22,70,.12), 0 2px 6px rgba(11,22,70,.08);
--gradient-start:#a3e9c7; --gradient-end:#047036;
--primary:#047036; --primary1:#10954e;
--text-dark:#1c1c1c; --text-light:#777;
--white:#fff; --radius:20px; --maxw:1120px;
--muted: #37473e; 
}

html, body { height:auto; }
html { scroll-behavior:smooth; }
*,*::before,*::after{ box-sizing:border-box; }

body{
margin:0;
font:16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
color:var(--text);
background:linear-gradient(120deg, var(--bg) 0%, var(--bg-soft) 100%);
display:flex; flex-direction:column; align-items:center;
}

p {margin: 0;}
a{ color:var(--brand); text-decoration:none; }
a:hover{ text-decoration:underline; }
code,kbd,pre{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.container{width: 100%; max-width:var(--maxw); padding:0 10px; margin: 30px auto; }

.boks{
}

.row {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 0 0;
margin: 0 0;
}
.col2 {
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
}

.brand .logo {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border-radius: 10px;
background: linear-gradient(135deg, var(--brand), var(--brand1));
box-shadow: var(--shadow);
}
.mb20{
margin-bottom: 20px;
}
.mt20{
margin-top: 20px;
}

.hero {
padding: 0 30px;
width: 100%;
text-align: center;
}

.highlight {
background: linear-gradient(135deg, var(--primary1), var(--primary));
color: #fff;
padding: 2px 12px 8px 12px;
border-radius: 10px;
display: inline-block;
position: relative;
}

.tabs {
display: flex;
gap: 5px;
margin-bottom: 0px;
justify-content: center;

}
.tab-btn {
padding: 5px 5px;
background: #f5f5f5;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
background: #f5f5f5;
border-radius: 5px 5px 0 0;
cursor: pointer;
color: #000;
font-size: 16px;
}
.tab-btn.active {
background: var(--brand1);
color: #fff;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.card, .chat-container {
background: var(--card);
border: 1px solid rgba(255, 255, 255, .08);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 16px;
width: 100%;
max-width: var(--maxw);
}

h1,h2,h4,h5,h6{
font-size: 1.5rem;
line-height:1.15; margin:14px 0;
}
h3{
font-size: 2rem;
line-height:1.15; margin:14px 0;
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #00c48c;
box-shadow: 0 0 0 4px rgba(0, 196, 140, .15);
}
.badge {
display: inline-flex;
align-items: center;
gap: 10px;
background: rgba(255, 255, 255, .06);
border: 1px solid rgba(255, 255, 255, .08);
padding: 6px 10px;
border-radius: 999px;
font-size: .9rem;
}
.lead {
font-size: 1.1rem;
color: var(--muted);
}
.facts {
display: flex;
flex-wrap: wrap;
gap: 0 10px;
margin-top: 5px;
}
.chip {
display: inline;
align-items: center;
background: rgba(255, 255, 255, .06);
border: 1px solid rgba(255, 255, 255, .1);
padding: 8px 12px;
border-radius: 999px;
font-size: small;
color: var(--muted);
}

.syntax {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: .95rem;
background: rgba(11, 92, 255, .1);
border: 1px solid rgba(11, 92, 255, .2);
padding: 8px 10px;
border-radius: 10px;
}

.mini-grid {
display: flex;
gap: 20px;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
align-items: center;
}
.snippet {
font-size: .95rem;
border-radius: 12px;
padding: 12px;
border: 1px dashed rgba(255, 255, 255, .12);
min-height: -webkit-fill-available;
}
.kicker {
font-size: x-small;
text-transform: uppercase;
letter-spacing: .08em;
color: var(--muted);
}

.flex {
display: flex;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.formula-card .syntax {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: .95rem;
background: rgba(11, 92, 255, .1);
border: 1px solid rgba(11, 92, 255, .2);
padding: 8px 10px;
border-radius: 10px;
}
article.card {
width: 100%;
}

.categories {
display: flex;
gap: 12px;
flex-direction: column;
flex-wrap: nowrap;
align-items: center;
}

.cat {
text-align: center;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
align-items: center;
}

.details {
background: var(--card);
border: 1px solid rgba(255, 255, 255, .08);
border-radius: 14px;
padding: 14px 16px;
}
.summary {
cursor: pointer;
font-weight: 600;
}

.brand {
display: flex;
align-items: center;
gap: 12px;
font-weight: 700;
letter-spacing: .2px;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
justify-content: center;
}
ul.menu {
list-style: none;
display: flex;
gap: 10px;
padding: 0;
justify-content: space-between;
align-items: center;
}

.cta {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, var(--brand), var(--brand1));
color: #fff !important;
padding: 5px 14px;
border-radius: 10px;
}

ul.menu a {
color: var(--text);
opacity: .9;
}

textarea {
width: 100%;
height: 100px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
resize: none;
font-size: 1rem;
}
input#q {
background-color: #fff;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
resize: none;
font-size: 1rem;
}
.char-counter {
text-align: right;
font-size: small;
color: #888;
margin-top: 0px;
}
#charCount.red { color: red; }
#charCount1.red { color: red; }
#charCount2.red { color: red; }

button, a.button {
background-color: var(--brand1);
color: #fff;
border: 0;
padding: 10px 20px;
font-size: 1.5rem;
border-radius: 5px;
cursor: pointer;
display: inline-block;
}




/* ===================== */
/* MQ #1: Desktop up */
/* ===================== */
@media only screen and (min-width:668px){

.container{width: 100%; max-width:var(--maxw); padding:0 20px; margin: 30px auto; }

.boks{
}

.col2 {
-ms-flex: 0 0 50%;
flex: 0 0 50%;
max-width: 50%;
}

.hero {
padding: 56px 0;
width: 100%;
text-align: center;
}

.tabs {
display: flex;
gap: 10px;
margin-bottom: 0px;
justify-content: center;

}
.tab-btn {
padding: 10px 11px;
background: #f5f5f5;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
background: #f5f5f5;
border-radius: 5px 5px 0 0;
cursor: pointer;
color: #000;
font-size: 26px;
}
.tab-btn.active {
background: var(--brand1);
color: #fff;
}

.card, .chat-container {
background: var(--card);
border: 1px solid rgba(255, 255, 255, .08);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 16px;
width: 100%;
max-width: var(--maxw);
}
article.card {
width: 32%;
}

.mb20{
margin-bottom: 20px;
}
.mt20{
margin-top: 20px;
}

h1,h2,h4,h5,h6{
font-size: 1.5rem;
line-height:1.15; margin:14px 0;
}
h3{
font-size: 3rem;
line-height:1.15; margin:14px 0;
}

nav.top {
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
}
ul.menu {
display: flex;
gap: 18px;
list-style: none;
margin: 0;
padding: 0;
align-items: center;
}
.cta {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, var(--brand), var(--brand1));
color: #fff !important;
padding: 10px 14px;
border-radius: 10px;
font-weight: 600;
box-shadow: var(--shadow);
}

.highlight {
background: linear-gradient(135deg, var(--primary1), var(--primary));
color: #fff;
padding: 2px 12px 8px 12px;
border-radius: 10px;
display: inline-block;
position: relative;
}
.categories {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 12px;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
font-weight: 700;
letter-spacing: .2px;
}
.mini-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}


}
