/* Plain pages on palmstudio.se (the industry pages): the start page's colours, type and pill header, but
   ordinary text that reads top to bottom, with nothing hidden until you scroll. */
@font-face { font-family: "Gloock"; src: url(/fonts/gloock.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url(/fonts/familjen.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --forest: #2A2F25; --olive: #3C4233; --oat: #F4F3EF; --sand: #D9D2C3;
  --soft: rgba(244, 243, 239, .76); --line: rgba(244, 243, 239, .16);
  --display: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Gloock", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 3vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--olive); color: var(--oat); font: 400 1.0625rem/1.65 var(--display); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sand); color: var(--forest); }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sand); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 17px/1 var(--display); text-decoration: none; background: var(--oat); color: var(--forest); transition: transform .1s ease-out, background .2s; }
.btn:hover { background: #fff; }
.btn:active { transform: scale(.97); }
.btn-ghost { background: none; color: var(--oat); box-shadow: inset 0 0 0 1.5px rgba(244, 243, 239, .5); }
.btn-ghost:hover { background: rgba(244, 243, 239, .1); }

.top { position: fixed; z-index: 20; top: 14px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--oat); color: var(--forest); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.logo { display: block; width: 92px; aspect-ratio: 846 / 347; background: var(--forest); -webkit-mask: url(/img/logo-mask.png) center / contain no-repeat; mask: url(/img/logo-mask.png) center / contain no-repeat; }
.top nav { display: flex; margin-left: 10px; }
.top nav a { white-space: nowrap; text-decoration: none; font-size: 15px; color: #545a4c; padding: 10px 12px; border-radius: 999px; }
.top nav a:hover { color: var(--forest); background: rgba(42, 47, 37, .06); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; margin-left: 6px; background: var(--forest); color: var(--oat); white-space: nowrap; }
@media (max-width: 560px) { .top nav { display: none; } }

.intro { padding: clamp(120px, 16vw, 180px) 0 clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro h1 { font-weight: 600; font-size: clamp(44px, 7vw, 96px); line-height: .94; letter-spacing: -.05em; margin-top: 18px; text-wrap: balance; }
.intro p { color: var(--soft); font-size: clamp(17px, 1.8vw, 20px); max-width: 44ch; margin-top: 24px; text-wrap: pretty; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.phone { width: min(300px, 70vw); justify-self: center; aspect-ratio: 390 / 800; border-radius: 44px; background: var(--forest); padding: 10px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7), inset 0 0 0 1.5px #59614d; transform: rotate(-3deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

.sec { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.sec h2 { font-weight: 600; font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -.04em; max-width: 20ch; text-wrap: balance; }
.sec > .wrap > p { color: var(--soft); max-width: 60ch; margin-top: 18px; }
.list { list-style: none; padding: 0; margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; color: var(--soft); }
.list b { font: 400 26px/1.1 var(--serif); color: var(--sand); }
.list strong { display: block; color: var(--oat); font-weight: 600; font-size: 19px; }
@media (max-width: 720px) { .list { grid-template-columns: 1fr; } }

.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--serif); color: var(--sand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); max-width: 62ch; padding: 0 0 22px; }

.more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.more a { text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.more a:hover { box-shadow: inset 0 0 0 1.5px var(--sand); }

.hello { text-align: center; padding: clamp(72px, 10vw, 128px) 0; background: var(--forest); }
.hello h2 { font-weight: 600; font-size: clamp(56px, 11vw, 150px); line-height: .85; letter-spacing: -.06em; }
.hello p { color: var(--soft); max-width: 36ch; margin: clamp(28px, 4vw, 44px) auto 0; }
.hello .btn { margin-top: 28px; }
footer { padding: 28px var(--gutter); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--soft); background: var(--forest); border-top: 1px solid var(--line); }
footer a { color: var(--soft); }
@media (prefers-reduced-motion: reduce) { .btn, .faq summary::after { transition: none; } }
